Projet

Général

Profil

Capture.xml

Henri QUENEAU, 01/06/2018 16:13

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<capture>
3
  <modules>
4
    <module name="FileImport" src="modules/FileImport/FileImport.php" type="class"/>
5
    <module name="PDFExtractor" src="modules/PDFExtractor/PDFExtractor.php" type="class"/>
6
    <module name="PDFSpliter" src="modules/PDFSpliter/PDFSpliter.php" type="class"/>
7
    <module name="Reader" src="modules/Reader/Reader.php" type="class"/>
8
    <module name="Export" src="modules/Export/Export.php" type="class"/>
9
    <module name="PDFAnalyzer" src="modules/PDFAnalyzer/PDFAnalyzer.php" type="class"/>
10
    <module name="HTMLAnalyzer" src="modules/HTMLAnalyzer/HTMLAnalyzer.php" type="class"/>
11
    <module name="MaarchWSClient" src="modules/MaarchWSClient/MaarchWSClient.php" type="class"/>
12
    <module name="MailCapture" src="modules/MailCapture/MailCapture.php" type="class"/>
13
    <module name="QRSeparator" src="modules/QRSeparator/MaarchQRSeparator.php" type="class"/>
14
    <module name="Paperstream" src="modules/Paperstream/Paperstream.php" type="class"/>
15
  </modules>
16
  <batches>
17
    <batch directory="/var/www/html/Outils_Utiles/maarchCapture2x/files" id="{batchname}-{timestamp}-{rand}" lock="0" name="SCAN_MASS">
18
      <workflow debug="true" logMode="Maarch" maarchLogParam="/var/www/html/maarch1804/custom/cs_maarch1804/apps/maarch_entreprise/xml/log4php.xml" maarchLoggerName="loggerTechnique" name="SCAN_MASS">
19
        <step function="separatePDF" module="QRSeparator" name="separatePDF">
20
          <input name="ScanSource">/var/www/html/Outils_Utiles/maarchCapture2x/incoming/</input>
21
        </step>
22
        <step function="processBatch" module="MaarchWSClient" name="SendToMaarch">
23
          <input name="WSDL">maarchcourrier</input>
24
          <input name="Process">IMPORT_SCAN_BY_QRCODE</input>
25
          <input name="CatchError">false</input>
26
          <input name="configFile">MaarchWSClient.xml</input>
27
        </step>
28
      </workflow>
29
    </batch>
30
    <batch directory="/var/www/html/Outils_Utiles/maarchCapture2x/files" id="{batchname}-{timestamp}-{rand}" lock="0" name="SCAN_MASS_PAPERSTREAM">
31
      <workflow debug="true" logMode="Maarch" maarchLogParam="/var/www/html/maarch1804/custom/cs_maarch1804/apps/maarch_entreprise/xml/log4php.xml" maarchLoggerName="loggerTechnique" name="SCAN_MASS_PAPERSTREAM">
32
        <step function="separateSubjectPDF" module="Paperstream" name="separateSubjectPDF">
33
          <input name="ScanSource">/var/www/html/Outils_Utiles/maarchCapture2x/incoming/</input>
34
        </step>
35
        <step function="processBatch" module="MaarchWSClient" name="SendToMaarch">
36
          <input name="WSDL">maarchcourrier</input>
37
          <input name="Process">IMPORT_PAPERSTREAM_TO_MAARCH</input>
38
          <input name="CatchError">false</input>
39
          <input name="configFile">MaarchWSClient.xml</input>
40
        </step>
41
      </workflow>
42
    </batch>
43
    <batch directory="/exploit/maarch/maarch_capture/files/maarchcourrier" id="{batchname}-{timestamp}-{rand}" lock="0" name="CAPTURE_MAIL_1">
44
      <workflow debug="true" logMode="Maarch" maarchLogParam="/produit/maarch/maarch_web/custom/cs_maarchcourrier/apps/maarch_entreprise/xml/log4php.xml" maarchLoggerName="loggerTechnique" name="CAPTURE_MAIL_1">
45
        <step function="CaptureMails" module="MailCapture" name="CAPTURE_MAIL_1">
46
          <input name="account">account_1</input>
47
          <input name="Action">move</input>
48
          <input name="configFile">MailCapture.xml</input>
49
          <input name="folder">imported</input>
50
        </step>
51
        <!-- Can be only used if form is extracted to the mail body -->
52
        <!-- <step function="ExtractContactInfo" module="MailCapture" name="ExtractContactInfo">
53
          <input name="ContentPath">/Batch/Documents/Document</input>
54
        </step> -->
55
        <step function="processBatch" module="MaarchWSClient" name="SendToMaarch">
56
          <input name="WSDL">maarchcourrier</input>
57
          <input name="Process">IMPORT_MAIL_1</input>
58
          <input name="CatchError">false</input>
59
          <input name="configFile">MaarchWSClient.xml</input>
60
        </step>
61
        <!-- Can be only used if a contact mail is extracted from the mail -->
62
        <!-- <step name="NotifyContact" module='MailCapture' function="notifyContact">
63
          <input name="ContentPath">/Batch/Documents/Document</input>
64
        </step> -->
65
      </workflow>
66
    </batch>
67
  </batches>
68
</capture>