Re: [Karmatool-users] OPM extra data?
Brought to you by:
datatoinsight,
yuanluo
|
From: Black, M. (IS) <Mic...@ng...> - 2013-04-20 13:19:41
|
As a followup to this just adding the workflow by itself causes the added "No <serviceID> exists" OPM node to appear.
So what am I missing on this?
There has to be a way to hook up the workflow to Service1 without this intermediate node appearing.
Michael D. Black
Senior Scientist
Analytics, Production and Services
Advanced GEOINT Systems
Northrop Grumman Information Systems
________________________________________
From: Black, Michael (IS)
Sent: Friday, April 19, 2013 6:52 PM
To: kar...@li...
Subject: OPM extra data?
OK...getting things working now but now there's some extra data in the OPM file that I don't know where it's coming from.
There's only one process declared (as far as I can tell) but 2 processes show up and id#4 has "No <serviceID> Exists".
Here's the OPM from this and I don't know where node id=4 comes from.
Service1 should be "controlled by" "Michael Black" as that's what I thought I specified so where is the intermediate step being created?
<?xml version="1.0" encoding="UTF-8"?>
<graphml>
<graph id="NGC_20130419_010" edgedefault="directed">
<key id="name" for="node" attr.name="name" attr.type="string"/>
<key id="type" for="node" attr.name="type" attr.type="string"/>
<key id="relation" for="edge" attr.name="relation" attr.type="string"/>
<node id="1">
<data key="name">file:File1</data>
<data key="type">file</data>
</node>
<node id="2">
<data key="name">file:File2</data>
<data key="type">file</data>
</node>
<node id="3">
<data key="name">svc:Service1</data>
<data key="type">process</data>
</node>
<node id="4">
<data key="name">No <serviceID> Exists</data>
<data key="type">process</data>
</node>
<node id="5">
<data key="name">Michael_Black</data>
<data key="type">agent</data>
</node>
<edge source="1" target="3">
<data key="relation">Used</data>
</edge>
<edge source="1" target="2">
<data key="relation">Was Derived From</data>
</edge>
<edge source="4" target="3">
<data key="relation">Was Triggered By</data>
</edge>
<edge source="3" target="2">
<data key="relation">Was Generated By</data>
</edge>
<edge source="5" target="4">
<data key="relation">Was Controlled By</data>
</edge>
</graph>
</graphml>
Here's my input for this simple case:
bin/sendNotification.sh config/karma.properties $CurDir/workflowInvoked.xml
bin/sendNotification.sh config/karma.properties $CurDir/serviceInvoked1.xml
bin/sendNotification.sh config/karma.properties $CurDir/dataProduced1.xml
bin/sendNotification.sh config/karma.properties $CurDir/dataConsumed1.xml
<ns:workflowInvoked xmlns:ns="http://www.dataandsearch.org/karma/2010/08/" xmlns
:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ns:invoker>
<ns:userInformation>
<ns:userDN>Michael_Black</ns:userDN>
<ns:type>PERSON</ns:type>
<ns:email>Mic...@ng...</ns:email>
</ns:userInformation>
<ns:type>USER</ns:type>
</ns:invoker>
<ns:invokee>
<ns:workflowInformation>
<ns:workflowID>NGC_20130419_010</ns:workflowID>
<ns:workflowNodeID>WFNode:WFNode1</ns:workflowNodeID>
<ns:timestep>1476332968</ns:timestep>
</ns:workflowInformation>
<ns:type>WORKFLOW</ns:type>
</ns:invokee>
<ns:invocationTime>2013-04-18T16:08:01.000-05:00</ns:invocationTime>
</ns:workflowInvoked>
<ns:serviceInvoked xmlns:ns="http://www.dataandsearch.org/karma/2010/08/" xmlns:
soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ns:invoker>
<ns:workflowInformation>
<ns:workflowID>NGC_20130419_010</ns:workflowID>
<ns:workflowNodeID>WFNode:WFNode1</ns:workflowNodeID>
<ns:timestep>1476332968</ns:timestep>
</ns:workflowInformation>
<ns:type>WORKFLOW</ns:type>
</ns:invoker>
<ns:invokee>
<ns:serviceInformation>
<ns:workflowID>NGC_20130419_010</ns:workflowID>
<ns:workflowNodeID>WFNode:WFNode1</ns:workflowNodeID>
<ns:timestep>-356643003</ns:timestep>
<ns:serviceID>svc:Service1</ns:serviceID>
</ns:serviceInformation>
<ns:type>SERVICE</ns:type>
</ns:invokee>
<ns:invocationTime>2013-04-18T16:08:00.000-05:00</ns:invocationTime>
</ns:serviceInvoked>
<ns:dataConsumed xmlns:ns="http://www.dataandsearch.org/karma/2010/08/" xmlns:so
apenv="http://schemas.xmlsoap.org/soap/envelope/">
<ns:action>CONSUME</ns:action>
<ns:actor>
<ns:serviceInformation>
<ns:workflowID>NGC_20130419_010</ns:workflowID>
<ns:workflowNodeID>WFNode:WFNode1</ns:workflowNodeID>
<ns:timestep>-356643003</ns:timestep>
<ns:serviceID>svc:Service1</ns:serviceID>
</ns:serviceInformation>
<ns:type>SERVICE</ns:type>
</ns:actor>
<ns:dataObject>
<ns:file>
<ns:fileURI>file:File1</ns:fileURI>
<ns:ownerDN>-644433975</ns:ownerDN>
<ns:createDate>2013-04-19T16:00:00.000-05:00</ns:createDate>
<ns:size>868013951</ns:size>
<ns:objectName>File1</ns:objectName>
</ns:file>
</ns:dataObject>
<ns:timestamp>2013-04-19T16:10:00.000-05:00</ns:timestamp>
<ns:dataRole>File Consumed</ns:dataRole>
<ns:annotations>
<ns:property>execution_environment</ns:property>
<ns:value>
<value>POSIX</value>
</ns:value>
</ns:annotations>
</ns:dataConsumed>
<ns:dataProduced xmlns:ns="http://www.dataandsearch.org/karma/2010/08/" xmlns:so
apenv="http://schemas.xmlsoap.org/soap/envelope/">
<ns:action>PRODUCE</ns:action>
<ns:actor>
<ns:serviceInformation>
<ns:workflowID>NGC_20130419_010</ns:workflowID>
<ns:workflowNodeID>WFNode:WFNode1</ns:workflowNodeID>
<ns:timestep>-356643003</ns:timestep>
<ns:serviceID>svc:Service1</ns:serviceID>
</ns:serviceInformation>
<ns:type>SERVICE</ns:type>
</ns:actor>
<ns:dataObject>
<ns:file>
<ns:fileURI>file:File2</ns:fileURI>
<ns:ownerDN>-644433975</ns:ownerDN>
<ns:createDate>2013-04-19T16:25:00.000-05:00</ns:createDate>
<ns:size>868013951</ns:size>
<ns:objectName>File2</ns:objectName>
</ns:file>
</ns:dataObject>
<ns:timestamp>2013-04-19T16:25:01.000-05:00</ns:timestamp>
<ns:annotations>
<ns:property>execution_environment</ns:property>
<ns:value>
<value>POSIX</value>
</ns:value>
</ns:annotations>
</ns:dataProduced>
Michael D. Black
Senior Scientist
Analytics, Production and Services
Advanced GEOINT Systems
Northrop Grumman Information Systems
|