Job and ExternalJob are to document and log externally running processes.
- An externaljob is needed for any execution started by B-Fabric
- it contains the executable and referenced the data to work on (action,cliententityid,cliententityclassname)
- A job is created for B-Fabric internal jobs, e.g. unarchive
- it contains the reference to the data to work on (action,parentid,parentclass)
- it stores the status of the external executed programs
- It is used as a kind of logging facility of the external executed programs
job
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.server.webservice.bfabric.org/"> <soapenv:Header/> <soapenv:Body> <end:save> <parameters> <login>?</login> <password>?</password> <!--Optional:--> <idonly>?</idonly> <!--Zero or more repetitions:--> <job> <!--Zero or more repetitions:--> <customattribute> <name>?</name> <!--Optional:--> <type>?</type> <value>?</value> </customattribute> <!--Optional:--> <id>?</id> <action>?</action> <!--Optional:--> <log>?</log> <parentclassname>?</parentclassname> <parentid>?</parentid> <!--Optional:--> <requesterid>?</requesterid> <status>?</status> </job> </parameters> </end:save> </soapenv:Body> </soapenv:Envelope>
externaljob
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:end="http://endpoint.server.webservice.bfabric.org/"> <soapenv:Header/> <soapenv:Body> <end:save> <parameters> <login>?</login> <password>?</password> <!--Optional:--> <idonly>?</idonly> <!--Zero or more repetitions:--> <externaljob> <!--Zero or more repetitions:--> <customattribute> <name>?</name> <!--Optional:--> <type>?</type> <value>?</value> </customattribute> <!--Optional:--> <id>?</id> <action>?</action> <!--Optional:--> <containerid>?</containerid> <!--Optional:--> <executableid>?</executableid> <!--Optional:--> <logthis>?</logthis> <!--Optional:--> <status>?</status> <!--Optional:--> <userid>?</userid> <!--Optional:--> <workunitid>?</workunitid> </externaljob> </parameters> </end:save> </soapenv:Body> </soapenv:Envelope>