989 lines
66 KiB
XML
989 lines
66 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<bpws:process exitOnStandardFault="no" name="B_IN_A_B.FilePoller"
|
|
suppressJoinFailure="yes"
|
|
targetNamespace="http://xmlns.example.com/20230922111826"
|
|
xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
|
|
xmlns:info="http://www.tibco.com/bw/process/info"
|
|
xmlns:ns="http://www.tibco.com/pe/EngineTypes"
|
|
xmlns:ns0="http://www.onemdw.org/MainSchema"
|
|
xmlns:ns1="http://www.onemdw.org/SimpleMonitor"
|
|
xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file"
|
|
xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
|
|
xmlns:sca-bpel="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801"
|
|
xmlns:tibex="http://www.tibco.com/bpel/2007/extensions"
|
|
xmlns:tibprop="http://ns.tibco.com/bw/property" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
<tibex:VariableDescriptor type="MemorySaving">
|
|
<task name="Main">
|
|
<endingVariables>
|
|
<variable>Main-input</variable>
|
|
<variable>maxRetry</variable>
|
|
<variable>continueOnError</variable>
|
|
<variable>retryTimeInSeconds</variable>
|
|
<variable>isCustomPreAction</variable>
|
|
<variable>isCustomPreDeliver</variable>
|
|
<variable>isCustomPostAction</variable>
|
|
<variable>isCustomErrorHandling</variable>
|
|
<variable>basePath</variable>
|
|
<variable>InterfaceName</variable>
|
|
</endingVariables>
|
|
</task>
|
|
<task name="LogAfterMainInfo">
|
|
<endingVariables>
|
|
<variable>LogAfterMainInfo-input</variable>
|
|
<variable>Main</variable>
|
|
</endingVariables>
|
|
</task>
|
|
<task name="LogInputFileError">
|
|
<endingVariables>
|
|
<variable>LogInputFileError-input</variable>
|
|
<variable>FaultDetails</variable>
|
|
<variable>LogPayloadEnabled</variable>
|
|
<variable>projectName</variable>
|
|
<variable>errorCodeUnexpected</variable>
|
|
</endingVariables>
|
|
</task>
|
|
</tibex:VariableDescriptor>
|
|
<tibex:Types>
|
|
<xs:schema attributeFormDefault="unqualified"
|
|
elementFormDefault="qualified"
|
|
targetNamespace="http://www.tibco.com/pe/EngineTypes"
|
|
xmlns:tns="http://www.tibco.com/pe/EngineTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:complexType block="extension restriction"
|
|
final="extension restriction" name="ErrorReport">
|
|
<xs:sequence>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="StackTrace" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="Msg" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="FullClass" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="Class" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="ProcessStack" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="MsgCode" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="Data" type="tns:anydata"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType block="extension restriction"
|
|
final="extension restriction" name="OptionalErrorReport">
|
|
<xs:sequence>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0"
|
|
name="StackTrace" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="Msg" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0"
|
|
name="FullClass" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="Class" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0"
|
|
name="ProcessStack" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="MsgCode" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="Data" type="tns:anydata"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType block="extension restriction"
|
|
final="extension restriction" name="FaultDetail">
|
|
<xs:sequence>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="ActivityName" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0" name="Data" type="tns:anydata"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="Msg" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="MsgCode" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="ProcessStack" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="StackTrace" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="FullClass" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="Class" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType block="extension restriction"
|
|
final="extension restriction" name="ProcessContext">
|
|
<xs:sequence>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="JobId" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="ApplicationName" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="EngineName" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" name="ProcessInstanceId" type="xs:string"/>
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" minOccurs="0"
|
|
name="CustomJobId" type="xs:string"/>
|
|
<!--xs:element name="RestartedFromCheckpoint" form="unqualified" block="extension restriction substitution" type="xs:boolean"/-->
|
|
<xs:element
|
|
block="extension restriction substitution"
|
|
form="unqualified" maxOccurs="unbounded"
|
|
minOccurs="0" name="TrackingInfo" type="xs:string"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType block="extension restriction"
|
|
final="extension restriction" name="anydata">
|
|
<xs:sequence>
|
|
<xs:any namespace="##any" processContents="lax"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:element block="extension restriction substitution"
|
|
final="extension restriction" name="OptionalErrorReport" type="tns:OptionalErrorReport"/>
|
|
<xs:element block="extension restriction substitution"
|
|
final="extension restriction" name="ErrorReport" type="tns:ErrorReport"/>
|
|
<xs:element block="extension restriction substitution"
|
|
final="extension restriction" name="FaultDetail" type="tns:FaultDetail"/>
|
|
<xs:element block="extension restriction substitution"
|
|
final="extension restriction" name="ProcessContext" type="tns:ProcessContext"/>
|
|
<xs:element block="extension restriction substitution"
|
|
final="extension restriction" name="CorrelationValue" type="xs:string"/>
|
|
</xs:schema>
|
|
<schema attributeFormDefault="unqualified"
|
|
elementFormDefault="unqualified"
|
|
targetNamespace="http://schemas.tibco.com/bw/pe/plugin/5.0/exceptions"
|
|
version="" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.tibco.com/bw/pe/plugin/5.0/exceptions">
|
|
<complexType name="ActivityExceptionType">
|
|
<sequence>
|
|
<element name="msg" type="string"/>
|
|
<element minOccurs="0" name="msgCode" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ActivityException" type="tns:ActivityExceptionType"/>
|
|
<complexType name="ActivityTimedOutExceptionType">
|
|
<complexContent>
|
|
<extension base="tns:ActivityExceptionType"/>
|
|
</complexContent>
|
|
</complexType>
|
|
<element name="ActivityTimedOutException" type="tns:ActivityTimedOutExceptionType"/>
|
|
<complexType name="DuplicateKeyExceptionType">
|
|
<complexContent>
|
|
<extension base="tns:ActivityExceptionType">
|
|
<sequence>
|
|
<element name="duplicateKey" type="string"/>
|
|
<element minOccurs="0" name="previousJobID" type="string"/>
|
|
</sequence>
|
|
</extension>
|
|
</complexContent>
|
|
</complexType>
|
|
<element name="DuplicateKeyException" type="tns:DuplicateKeyExceptionType"/>
|
|
</schema>
|
|
<schema
|
|
targetNamespace="http://www.tibco.com/namespaces/tnt/plugins/file"
|
|
xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.tibco.com/namespaces/tnt/plugins/file">
|
|
<complexType name="EventSourceConfigClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="pollInterval" type="int"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="includeSubDirectories" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="includeCurrent" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="excludeContent" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0" name="mode" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0" name="encoding" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="encodingUsed" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="sortorder" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0" name="sortby" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="EventSourceConfigClass" type="tns:EventSourceConfigClass"/>
|
|
<complexType name="ReadActivityConfigClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="excludeContent" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0" name="encoding" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ReadActivityConfigClass" type="tns:ReadActivityConfigClass"/>
|
|
<complexType name="ReadActivityInputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="fileName" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ReadActivityInputClass" type="tns:ReadActivityInputClass"/>
|
|
<complexType name="fileInfoType">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fullName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1" name="fileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1" name="location" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="configuredFileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1" name="type" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="readProtected" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="writeProtected" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="1" name="size" type="long"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="lastModified" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<complexType name="fileContentTypeBinary">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="binaryContent" type="base64Binary"/>
|
|
</sequence>
|
|
</complexType>
|
|
<complexType name="fileContentTypeTextClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="textContent" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0" name="encoding" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<complexType name="ReadActivityOutputNoContentClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ReadActivityOutputNoContentClass" type="tns:ReadActivityOutputNoContentClass"/>
|
|
<complexType name="ReadActivityOutputBinaryClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="fileContent" type="tns:fileContentTypeBinary"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ReadActivityOutputBinaryClass" type="tns:ReadActivityOutputBinaryClass"/>
|
|
<complexType name="ReadActivityOutputTextClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="fileContent" type="tns:fileContentTypeTextClass"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ReadActivityOutputTextClass" type="tns:ReadActivityOutputTextClass"/>
|
|
<complexType name="FileIOException"/>
|
|
<element name="FileIOException" type="tns:FileIOException"/>
|
|
<complexType name="EventSourceOuputNoContentClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="action" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="timeOccurred" type="long"/>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="EventSourceOuputNoContentClass" type="tns:EventSourceOuputNoContentClass"/>
|
|
<complexType name="EventSourceOuputBinaryClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="action" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="timeOccurred" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="fileContent" type="tns:fileContentTypeBinary"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="EventSourceOuputBinaryClass" type="tns:EventSourceOuputBinaryClass"/>
|
|
<complexType name="EventSourceOuputTextClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="action" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="timeOccurred" type="long"/>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="fileContent" type="tns:fileContentTypeTextClass"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="EventSourceOuputTextClass" type="tns:EventSourceOuputTextClass"/>
|
|
<complexType name="WriteActivityConfigClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="createNewFile" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0" name="append" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0" name="encoding" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="compressFile" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="WriteActivityConfigClass" type="tns:WriteActivityConfigClass"/>
|
|
<complexType name="WriteActivityInputBinaryClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="fileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="binaryContent" type="base64Binary"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="WriteActivityInputBinaryClass" type="tns:WriteActivityInputBinaryClass"/>
|
|
<complexType name="WriteActivityInputTextClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="fileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="textContent" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="addLineSeparator" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0" name="encoding" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="WriteActivityInputTextClass" type="tns:WriteActivityInputTextClass"/>
|
|
<complexType name="WriteActivityOutputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="WriteActivityOutputClass" type="tns:WriteActivityOutputClass"/>
|
|
<complexType name="CreateActivityConfigClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="override" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="createDirectory" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="createMissingDirectories" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="overwrite" type="boolean"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="CreateActivityConfigClass" type="tns:CreateActivityConfigClass"/>
|
|
<complexType name="CreateActivityInputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="fileName" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="CreateActivityInputClass" type="tns:CreateActivityInputClass"/>
|
|
<complexType name="CreateActivityOutputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="CreateActivityOutputClass" type="tns:CreateActivityOutputClass"/>
|
|
<complexType name="RemoveActivityConfigClass"/>
|
|
<element name="RemoveActivityConfigClass" type="tns:RemoveActivityConfigClass"/>
|
|
<complexType name="RemoveActivityInputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="fileName" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="RemoveActivityInputClass" type="tns:RemoveActivityInputClass"/>
|
|
<complexType name="RemoveActivityOutputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="RemoveActivityOutputClass" type="tns:RemoveActivityOutputClass"/>
|
|
<element name="RenameActivityConfig" type="tns:RenameActivityInputClass"/>
|
|
<complexType name="RenameActivityConfig">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="overwrite" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="createMissingDirectories" type="boolean"/>
|
|
</sequence>
|
|
</complexType>
|
|
<complexType name="RenameActivityInputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="fromFileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="toFileName" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="RenameActivityInputClass" type="tns:RenameActivityInputClass"/>
|
|
<complexType name="RenameActivityOutput">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<complexType name="ListFilesActivityConfig">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="mode" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ListFilesActivityConfig" type="tns:ListFilesActivityInputClass"/>
|
|
<complexType name="ListFilesActivityInputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0" name="fileName" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ListFilesActivityInputClass" type="tns:ListFilesActivityInputClass"/>
|
|
<complexType name="files">
|
|
<sequence>
|
|
<element maxOccurs="unbounded" minOccurs="0"
|
|
name="fileInfo" type="tns:fileInfoType"/>
|
|
</sequence>
|
|
</complexType>
|
|
<complexType name="ListFilesActivityOutput">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1" name="files" type="tns:files"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="ListFilesActivityOutput" type="tns:ListFilesActivityOutput"/>
|
|
<complexType name="CopyActivityConfig">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="fromFileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="1"
|
|
name="toFileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="overwrite" type="boolean"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="createMissingDirectories" type="boolean"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="CopyActivityConfig" type="tns:CopyActivityInputClass"/>
|
|
<complexType name="CopyActivityInputClass">
|
|
<sequence>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="fromFileName" type="string"/>
|
|
<element maxOccurs="1" minOccurs="0"
|
|
name="toFileName" type="string"/>
|
|
</sequence>
|
|
</complexType>
|
|
<element name="CopyActivityInputClass" type="tns:CopyActivityInputClass"/>
|
|
<element name="RenameActivityOutput" type="tns:RenameActivityOutput"/>
|
|
<element name="input" type="tns:WaitForFileChangeActivityInput"/>
|
|
<complexType name="WaitForFileChangeActivityInput">
|
|
<sequence>
|
|
<element minOccurs="0" name="key" type="string"/>
|
|
<element minOccurs="0" name="processTimeout" type="int"/>
|
|
</sequence>
|
|
</complexType>
|
|
</schema>
|
|
</tibex:Types>
|
|
<tibex:ProcessInfo callable="false" createdBy="U534715"
|
|
createdOn="Fri Sep 22 11:18:26 CEST 2023" description=""
|
|
extraErrorVars="true" modifiers="public"
|
|
productVersion="2.8.2 V17 2023-05-19" scalable="false"
|
|
singleton="true" stateless="true" type="IT"/>
|
|
<tibex:ProcessInterface context="" input="" output=""/>
|
|
<tibex:ProcessTemplateConfigurations/>
|
|
<notation:Diagram measurementUnit="Pixel" type="BWProcess"
|
|
xmlns:bwnotation="http://tns.tibco.com/bw/runtime/BWNotation"
|
|
xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<children type="2001">
|
|
<children type="5001"/>
|
|
<children type="3001">
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
<element href="//0/@process"/>
|
|
</children>
|
|
<children type="3002">
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<children type="3003">
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<children type="3004">
|
|
<children type="4018">
|
|
<children type="3018">
|
|
<children type="4020">
|
|
<children type="3020">
|
|
<children type="4005">
|
|
<children type="3007">
|
|
<children type="4002">
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.0"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.0"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.0"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.0"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles
|
|
backgroundColor="16777215"
|
|
gradientEndColor="50431"
|
|
gradientStartColor="16777215" xsi:type="bwnotation:BackgroundStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.0"/>
|
|
<layoutConstraint x="234"
|
|
xsi:type="notation:Bounds" y="130"/>
|
|
</children>
|
|
<children type="4002">
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.1"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.1"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.1"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.1"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles
|
|
backgroundColor="16777215"
|
|
gradientEndColor="50431"
|
|
gradientStartColor="16777215" xsi:type="bwnotation:BackgroundStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.1"/>
|
|
<layoutConstraint
|
|
width="145" x="425"
|
|
xsi:type="notation:Bounds" y="130"/>
|
|
</children>
|
|
<children type="4002 bw.file.poller">
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles
|
|
backgroundColor="16777215"
|
|
gradientEndColor="50431"
|
|
gradientStartColor="16777215" xsi:type="bwnotation:BackgroundStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@activities.2"/>
|
|
<layoutConstraint
|
|
height="40" width="40"
|
|
x="60"
|
|
xsi:type="notation:Bounds" y="130"/>
|
|
</children>
|
|
<styles xsi:type="notation:DrawerStyle"/>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
<element href="//0/@process/@activity/@activity"/>
|
|
</children>
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles backgroundColor="16777215"
|
|
gradientEndColor="50431"
|
|
gradientStartColor="16777215" xsi:type="bwnotation:BackgroundStyle"/>
|
|
<styles xsi:type="bwnotation:ResizingStyle"/>
|
|
<element href="//0/@process/@activity/@activity"/>
|
|
<layoutConstraint height="407"
|
|
width="994" xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<styles fontName="Segoe UI" lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles xsi:type="bwnotation:BackgroundStyle"/>
|
|
<styles xsi:type="bwnotation:ResizingStyle"/>
|
|
<element href="//0/@process/@activity"/>
|
|
<layoutConstraint height="407" width="997" xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4022">
|
|
<children type="3022">
|
|
<children type="4029">
|
|
<children type="3031">
|
|
<children type="4033">
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll"/>
|
|
<layoutConstraint
|
|
height="34" width="34"
|
|
xsi:type="notation:Bounds" y="68"/>
|
|
</children>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<children type="3032">
|
|
<children type="4005">
|
|
<children type="3007">
|
|
<eAnnotations source="Pixel"/>
|
|
<children type="4002">
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll/@activity/@activity/@activities.0"/>
|
|
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll/@activity/@activity/@activities.0"/>
|
|
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll/@activity/@activity/@activities.0"/>
|
|
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<children type="4017">
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll/@activity/@activity/@activities.0"/>
|
|
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles
|
|
fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles
|
|
backgroundColor="16777215"
|
|
gradientEndColor="50431"
|
|
gradientStartColor="16777215" xsi:type="bwnotation:BackgroundStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll/@activity/@activity/@activities.0"/>
|
|
<layoutConstraint
|
|
width="154"
|
|
x="35"
|
|
xsi:type="notation:Bounds" y="45"/>
|
|
</children>
|
|
<styles xsi:type="notation:DrawerStyle"/>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles
|
|
backgroundColor="16777215"
|
|
gradientEndColor="50431"
|
|
gradientStartColor="16777215" xsi:type="bwnotation:BackgroundStyle"/>
|
|
<styles xsi:type="bwnotation:ResizingStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll/@activity/@activity"/>
|
|
<layoutConstraint
|
|
height="168" width="896" xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<styles fontName="Segoe UI"
|
|
lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles xsi:type="bwnotation:BackgroundStyle"/>
|
|
<styles xsi:type="bwnotation:ResizingStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers/@catchAll"/>
|
|
<layoutConstraint xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
</children>
|
|
<styles fontName="Segoe UI" lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles xsi:type="bwnotation:BackgroundStyle"/>
|
|
<styles xsi:type="bwnotation:ResizingStyle"/>
|
|
<element href="//0/@process/@activity/@faultHandlers"/>
|
|
<layoutConstraint height="200" width="424" xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
<element href="//0/@process/@activity"/>
|
|
</children>
|
|
<styles fontName="Segoe UI" lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<styles xsi:type="bwnotation:BackgroundStyle"/>
|
|
<styles xsi:type="bwnotation:ResizingStyle"/>
|
|
<element href="//0/@process/@activity"/>
|
|
<layoutConstraint height="608" width="997" x="1"
|
|
xsi:type="notation:Bounds" y="1"/>
|
|
</children>
|
|
<styles xsi:type="notation:SortingStyle"/>
|
|
<styles xsi:type="notation:FilteringStyle"/>
|
|
<element href="//0/@process"/>
|
|
</children>
|
|
<styles fontName="Segoe UI" lineColor="0" xsi:type="notation:ShapeStyle"/>
|
|
<element href="//0/@process"/>
|
|
<layoutConstraint height="660" width="1339" xsi:type="notation:Bounds"/>
|
|
</children>
|
|
<styles xsi:type="notation:DiagramStyle"/>
|
|
<element href="//0"/>
|
|
<edges
|
|
source="//@children.0/@children.4/@children.0/@children.0/@children.0/@children.0/@children.0/@children.0/@children.0"
|
|
target="//@children.0/@children.4/@children.0/@children.0/@children.0/@children.0/@children.0/@children.0/@children.1" type="4006">
|
|
<children type="6002">
|
|
<layoutConstraint xsi:type="notation:Location" y="40"/>
|
|
</children>
|
|
<styles lineColor="0" xsi:type="notation:ConnectorStyle"/>
|
|
<styles fontName="Segoe UI" xsi:type="notation:FontStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@links/@children.0"/>
|
|
<bendpoints points="[25, -2, -231, 0]$[232, 0, -24, 2]" xsi:type="notation:RelativeBendpoints"/>
|
|
</edges>
|
|
<edges
|
|
source="//@children.0/@children.4/@children.0/@children.0/@children.0/@children.0/@children.0/@children.0/@children.2"
|
|
target="//@children.0/@children.4/@children.0/@children.0/@children.0/@children.0/@children.0/@children.0/@children.0" type="4006">
|
|
<children type="6002">
|
|
<layoutConstraint xsi:type="notation:Location" y="40"/>
|
|
</children>
|
|
<styles lineColor="0" xsi:type="notation:ConnectorStyle"/>
|
|
<styles fontName="Segoe UI" xsi:type="notation:FontStyle"/>
|
|
<element href="//0/@process/@activity/@activity/@links/@children.1"/>
|
|
<bendpoints points="[25, 0, -229, 0]$[230, 0, -24, 0]" xsi:type="notation:RelativeBendpoints"/>
|
|
</edges>
|
|
</notation:Diagram>
|
|
<tibex:NamespaceRegistry enabled="true">
|
|
<tibex:namespaceItem
|
|
namespace="http://lhg.ngmdw.bw.fwk/SFTPGoMFT" prefix="tns6"/>
|
|
<tibex:namespaceItem
|
|
namespace="http://www.onemdw.org/MainSchema" prefix="tns1"/>
|
|
<tibex:namespaceItem
|
|
namespace="http://tns.tibco.com/bw/json/1689939614651" prefix="tns5"/>
|
|
<tibex:namespaceItem
|
|
namespace="http://www.tibco.com/bw/xpath/bw-custom-functions" prefix="bw"/>
|
|
<tibex:namespaceItem
|
|
namespace="http://www.onemdw.org/SimpleMonitor" prefix="tns2"/>
|
|
</tibex:NamespaceRegistry>
|
|
<bpws:import importType="http://www.w3.org/2001/XMLSchema" namespace="http://www.onemdw.org/SimpleMonitor"/>
|
|
<bpws:import importType="http://www.w3.org/2001/XMLSchema" namespace="http://www.onemdw.org/MainSchema"/>
|
|
<bpws:variables>
|
|
<bpws:variable element="ns:ProcessContext"
|
|
name="_processContext" sca-bpel:internal="true"/>
|
|
<bpws:variable name="maxRetry" sca-bpel:hotUpdate="false"
|
|
sca-bpel:privateProperty="true" sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/DeliverConfig/maxRetry" type="xsd:int"/>
|
|
<bpws:variable name="continueOnError" sca-bpel:hotUpdate="false"
|
|
sca-bpel:privateProperty="true" sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/DeliverConfig/continueOnError" type="xsd:boolean"/>
|
|
<bpws:variable name="retryTimeInSeconds"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/DeliverConfig/retryTimeInSeconds" type="xsd:int"/>
|
|
<bpws:variable name="isCustomPreAction"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Extensions/isCustomPreAction" type="xsd:boolean"/>
|
|
<bpws:variable name="isCustomPreDeliver"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Extensions/isCustomPreDeliver" type="xsd:boolean"/>
|
|
<bpws:variable name="isCustomPostAction"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Extensions/isCustomPostAction" type="xsd:boolean"/>
|
|
<bpws:variable name="isCustomErrorHandling"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Extensions/isCustomErrorHandling" type="xsd:boolean"/>
|
|
<bpws:variable name="basePath" sca-bpel:hotUpdate="false"
|
|
sca-bpel:privateProperty="true" sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Paths/BaseFolderPath" type="xsd:string"/>
|
|
<bpws:variable name="InterfaceName" sca-bpel:hotUpdate="false"
|
|
sca-bpel:privateProperty="true" sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/InterfaceName" type="xsd:string"/>
|
|
<bpws:variable element="ns0:mainInput" name="Main-input" sca-bpel:internal="true"/>
|
|
<bpws:variable element="ns0:mainOutput" name="Main" sca-bpel:internal="true"/>
|
|
<bpws:variable element="ns1:logInput"
|
|
name="LogAfterMainInfo-input" sca-bpel:internal="true"/>
|
|
<bpws:variable name="FaultName" sca-bpel:internal="true" type="xsd:string"/>
|
|
<bpws:variable element="ns:FaultDetail" name="FaultDetails" sca-bpel:internal="true"/>
|
|
<bpws:variable name="LogPayloadEnabled"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="//bwce-fwk///Logging/LogPayloadEnabled" type="xsd:boolean"/>
|
|
<bpws:variable name="projectName" sca-bpel:hotUpdate="false"
|
|
sca-bpel:privateProperty="true" sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/ProjectName" type="xsd:string"/>
|
|
<bpws:variable name="errorCodeUnexpected"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/ErrorCodes/Unexpected" type="xsd:string"/>
|
|
<bpws:variable element="ns1:errorReport"
|
|
name="LogInputFileError-input" sca-bpel:internal="true"/>
|
|
<bpws:variable element="ns2:EventSourceOuputNoContentClass"
|
|
name="FilePoller" sca-bpel:internal="true"/>
|
|
<bpws:variable name="InputFilePathExpression"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Paths/InputFilePathExpression" type="xsd:string"/>
|
|
<bpws:variable name="PollingIntervalInSeconds"
|
|
sca-bpel:hotUpdate="false" sca-bpel:privateProperty="true"
|
|
sca-bpel:property="yes"
|
|
tibex:propertySource="/A2Mdw/Paths/PollingIntervalInSeconds" type="xsd:int"/>
|
|
</bpws:variables>
|
|
<bpws:extensions>
|
|
<bpws:extension mustUnderstand="no" namespace="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
|
|
<bpws:extension mustUnderstand="no" namespace="http://www.tibco.com/bw/process/info"/>
|
|
<bpws:extension mustUnderstand="no" namespace="http://docs.oasis-open.org/ns/opencsa/sca-bpel/200801"/>
|
|
<bpws:extension mustUnderstand="no" namespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"/>
|
|
<bpws:extension mustUnderstand="no" namespace="http://ns.tibco.com/bw/property"/>
|
|
<bpws:extension mustUnderstand="no" namespace="http://www.tibco.com/bpel/2007/extensions"/>
|
|
</bpws:extensions>
|
|
<bpws:scope name="scope">
|
|
<bpws:faultHandlers>
|
|
<bpws:catchAll tibex:faultDetailsVar="FaultDetails"
|
|
tibex:faultNameVar="FaultName" tibex:xpdlId="8c65c75f-8c62-4889-82fd-bbb97574a55f">
|
|
<bpws:scope name="scope1">
|
|
<bpws:flow name="flow1">
|
|
<bpws:links/>
|
|
<bpws:extensionActivity>
|
|
<tibex:extActivity
|
|
inputVariable="LogInputFileError-input"
|
|
name="LogInputFileError"
|
|
tibex:xpdlId="f7a9c039-2919-48b0-a4f3-f08753130b78"
|
|
type="bw.generalactivities.callprocess" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions">
|
|
<tibex:inputBindings>
|
|
<tibex:inputBinding coercion=""
|
|
expression="<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns2="http://www.onemdw.org/SimpleMonitor" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"><xsl:param name="FaultDetails"/><xsl:param name="LogPayloadEnabled"/><xsl:param name="projectName"/><xsl:param name="errorCodeUnexpected"/><xsl:param name="FilePoller"/><xsl:template name="LogError-input" match="/"><tns2:errorReport><tns2:isLastError><xsl:value-of select="true()"/></tns2:isLastError><tns2:context><xsl:value-of select="bw:getModuleProperty(&quot;BW.PROCESS.NAME&quot;)"/></tns2:context><xsl:choose><xsl:when test="string-length($FilePoller/fileInfo/fullName) > 0"><tns2:logMessage><xsl:value-of select="concat(&quot;Unexpected error while processing input file: &quot;, $FilePoller/fileInfo/fullName)"/></tns2:logMessage></xsl:when><xsl:otherwise><tns2:logMessage><xsl:value-of select="&quot;Unexpected error while processing unknown input file&quot;"/></tns2:logMessage></xsl:otherwise></xsl:choose><xsl:if test="$LogPayloadEnabled = true()"><tns2:payload><xsl:value-of select="$FilePoller/fileInfo"/></tns2:payload></xsl:if><tns2:errorId><xsl:value-of select="concat($projectName, &quot;.APP.&quot;, $errorCodeUnexpected)"/></tns2:errorId><tns2:severity><tns2:severity><xsl:value-of select="&quot;MAJOR&quot;"/></tns2:severity></tns2:severity><xsl:if test="$FaultDetails/Data"><tns2:errorDetails><xsl:value-of select="$FaultDetails/Data"/></tns2:errorDetails></xsl:if><tns2:tibcoErrorStackType><tns2:activityName><xsl:value-of select="$FaultDetails/ActivityName"/></tns2:activityName><tns2:processStack><xsl:value-of select="$FaultDetails/ProcessStack"/></tns2:processStack><tns2:errorMessage><xsl:value-of select="$FaultDetails/Msg"/></tns2:errorMessage><tns2:errorMessageCode><xsl:value-of select="$FaultDetails/MsgCode"/></tns2:errorMessageCode><tns2:errorStackTrace><xsl:value-of select="$FaultDetails/StackTrace"/></tns2:errorStackTrace><tns2:errorClass><xsl:value-of select="$FaultDetails/Class"/></tns2:errorClass><tns2:errorFullClass><xsl:value-of select="$FaultDetails/FullClass"/></tns2:errorFullClass></tns2:tibcoErrorStackType></tns2:errorReport></xsl:template></xsl:stylesheet>" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/>
|
|
</tibex:inputBindings>
|
|
<tibex:CallProcess moduleRef="bwce-fwk"
|
|
subProcessName="onemdw.bwce.fwk.log.LogError" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions"/>
|
|
</tibex:extActivity>
|
|
</bpws:extensionActivity>
|
|
</bpws:flow>
|
|
</bpws:scope>
|
|
</bpws:catchAll>
|
|
</bpws:faultHandlers>
|
|
<bpws:flow name="flow">
|
|
<bpws:links>
|
|
<bpws:link name="MainToLogInfo" tibex:linkType="SUCCESS"/>
|
|
<bpws:link name="FilePollerToMain" tibex:linkType="SUCCESS"/>
|
|
</bpws:links>
|
|
<bpws:extensionActivity>
|
|
<tibex:extActivity inputVariable="Main-input"
|
|
name="Main" outputVariable="Main"
|
|
tibex:xpdlId="a6f0eee4-8184-4fb6-82c1-02846d461ad5"
|
|
type="bw.generalactivities.callprocess" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions">
|
|
<bpws:targets>
|
|
<bpws:target linkName="FilePollerToMain"/>
|
|
</bpws:targets>
|
|
<bpws:sources>
|
|
<bpws:source linkName="MainToLogInfo"/>
|
|
</bpws:sources>
|
|
<tibex:inputBindings>
|
|
<tibex:inputBinding coercion=""
|
|
expression="<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns1="http://www.onemdw.org/MainSchema" version="2.0">
 <xsl:param name="isCustomPreAction"/>
 <xsl:param name="isCustomPreDeliver"/>
 <xsl:param name="isCustomPostAction"/>
 <xsl:param name="isCustomErrorHandling"/>
 <xsl:param name="continueOnError"/>
 <xsl:param name="retryTimeInSeconds"/>
 <xsl:param name="maxRetry"/>
 <xsl:param name="basePath"/>
 <xsl:param name="InterfaceName"/>
 <xsl:param name="FilePoller"/>
 <xsl:template name="Main-input" match="/">
 <tns1:mainInput>
 <tns1:interfaceName>
 <xsl:value-of select="$InterfaceName"/>
 </tns1:interfaceName>
 <xsl:choose>
 <xsl:when test="ends-with($FilePoller/fileInfo/fileName, &quot;.tar.gz&quot;)">
 <tns1:archiveFilename>
 <xsl:value-of select="$FilePoller/fileInfo/fileName"/>
 </tns1:archiveFilename>
 </xsl:when>
 <xsl:otherwise>
 <tns1:fullFilename>
 <xsl:value-of select="$FilePoller/fileInfo/fullName"/>
 </tns1:fullFilename>
 </xsl:otherwise>
 </xsl:choose>
 <tns1:sourceSystem>
 <xsl:value-of select="&quot;ALTEA&quot;"/>
 </tns1:sourceSystem>
 <tns1:targetSystem>
 <xsl:value-of select="&quot;MDW&quot;"/>
 </tns1:targetSystem>
 <tns1:interfaceConfig>
 <tns1:basePath>
 <xsl:value-of select="$basePath"/>
 </tns1:basePath>
 <tns1:deliverConfig>
 <tns1:maxRetry>
 <xsl:value-of select="$maxRetry"/>
 </tns1:maxRetry>
 <tns1:continueOnError>
 <xsl:value-of select="$continueOnError"/>
 </tns1:continueOnError>
 <tns1:isOnlyOneOutputFile>
 <xsl:value-of select="false()"/>
 </tns1:isOnlyOneOutputFile>
 <tns1:retryTimeInSeconds>
 <xsl:value-of select="$retryTimeInSeconds"/>
 </tns1:retryTimeInSeconds>
 </tns1:deliverConfig>
 <tns1:extensionsConfig>
 <tns1:isCustomPreAction>
 <xsl:value-of select="$isCustomPreAction"/>
 </tns1:isCustomPreAction>
 <tns1:isCustomPreDeliver>
 <xsl:value-of select="$isCustomPreDeliver"/>
 </tns1:isCustomPreDeliver>
 <tns1:isCustomPostAction>
 <xsl:value-of select="$isCustomPostAction"/>
 </tns1:isCustomPostAction>
 <tns1:isCustomErrorHandling>
 <xsl:value-of select="$isCustomErrorHandling"/>
 </tns1:isCustomErrorHandling>
 </tns1:extensionsConfig>
 </tns1:interfaceConfig>
 </tns1:mainInput>
 </xsl:template>
</xsl:stylesheet>" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/>
|
|
</tibex:inputBindings>
|
|
<tibex:CallProcess moduleRef="bwce-fwk"
|
|
subProcessName="onemdw.bwce.fwk.Main" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions"/>
|
|
</tibex:extActivity>
|
|
</bpws:extensionActivity>
|
|
<bpws:extensionActivity>
|
|
<tibex:extActivity
|
|
inputVariable="LogAfterMainInfo-input"
|
|
name="LogAfterMainInfo"
|
|
tibex:xpdlId="01872149-3d61-4c38-ba73-f84a71be019f"
|
|
type="bw.generalactivities.callprocess" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions">
|
|
<bpws:targets>
|
|
<bpws:target linkName="MainToLogInfo"/>
|
|
</bpws:targets>
|
|
<tibex:inputBindings>
|
|
<tibex:inputBinding coercion=""
|
|
expression="<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tns2="http://www.onemdw.org/SimpleMonitor" xmlns:tns1="http://www.onemdw.org/MainSchema" xmlns:bw="http://www.tibco.com/bw/xpath/bw-custom-functions" version="2.0"><xsl:param name="Main"/><xsl:template name="LogInfo-input" match="/"><tns2:logInput><tns2:commonLog><tns2:logMessage><xsl:value-of select="concat(&quot;In the main with result: &quot;, $Main/tns1:status/tns1:status)"/></tns2:logMessage><tns2:context><xsl:value-of select="bw:getModuleProperty(&quot;BW.PROCESS.NAME&quot;)"/></tns2:context></tns2:commonLog></tns2:logInput></xsl:template></xsl:stylesheet>" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xslt1.0"/>
|
|
</tibex:inputBindings>
|
|
<tibex:CallProcess moduleRef="bwce-fwk"
|
|
subProcessName="onemdw.bwce.fwk.log.LogInfo" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions"/>
|
|
</tibex:extActivity>
|
|
</bpws:extensionActivity>
|
|
<bpws:extensionActivity>
|
|
<tibex:receiveEvent createInstance="yes"
|
|
eventTimeout="60" name="FilePoller"
|
|
tibex:xpdlId="938fe4be-8bc8-4cc0-a147-35ea5cd86120"
|
|
variable="FilePoller" xmlns:tibex="http://www.tibco.com/bpel/2007/extensions">
|
|
<bpws:sources>
|
|
<bpws:source linkName="FilePollerToMain"/>
|
|
</bpws:sources>
|
|
<tibex:eventSource>
|
|
<bwext:BWActivity
|
|
activityTypeID="bw.file.poller"
|
|
xmlns:activityconfig="http://tns.tibco.com/bw/model/activityconfig"
|
|
xmlns:bwext="http://tns.tibco.com/bw/model/core/bwext"
|
|
xmlns:file="http://ns.tibco.com/bw/palette/file" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<attributeBindings
|
|
bindingType="moduleProperty"
|
|
eAttributeName="fileName" processProperty="InputFilePathExpression"/>
|
|
<attributeBindings
|
|
bindingType="moduleProperty"
|
|
eAttributeName="pollInterval" processProperty="PollingIntervalInSeconds"/>
|
|
<activityConfig>
|
|
<properties name="config" xsi:type="activityconfig:EMFProperty">
|
|
<type href="http://ns.tibco.com/bw/palette/file#//FilePoller"/>
|
|
<value contentAs="text"
|
|
createEvent="true"
|
|
excludeContent="true"
|
|
includeCurrent="true"
|
|
mode="only-files" sortby="None"
|
|
sortorder="descending" xsi:type="file:FilePoller"/>
|
|
</properties>
|
|
</activityConfig>
|
|
</bwext:BWActivity>
|
|
</tibex:eventSource>
|
|
</tibex:receiveEvent>
|
|
</bpws:extensionActivity>
|
|
</bpws:flow>
|
|
</bpws:scope>
|
|
</bpws:process>
|