root/LUMC_HG/HandsOn/Workflows/Marco/BioSemantics/TestWorkflows/ConceptWiki/TestConceptWikiAPI.t2flow @ 85

Revision 85, 14.8 KB (checked in by M.Roos1@…, 2 years ago)

test workflow

Line 
1<workflow xmlns="http://taverna.sf.net/2008/xml/t2flow" version="1" producedBy="taverna-2.3.0"><dataflow id="f8bfc38d-a68e-4efc-8330-8832d938b04b" role="top"><name>Workflow6</name><inputPorts /><outputPorts><port><name>getConcept_output</name><annotations /></port></outputPorts><processors><processor><name>ConceptWiki_GetConcept</name><inputPorts><port><name>ConceptWiki_uuid</name><depth>0</depth></port></inputPorts><outputPorts><port><name>responseBody</name><depth>0</depth><granularDepth>0</granularDepth></port></outputPorts><annotations /><activities><activity><raven><group>net.sf.taverna.t2.activities</group><artifact>rest-activity</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.activities.rest.RESTActivity</class><inputMap><map from="ConceptWiki_uuid" to="ConceptWiki_uuid" /></inputMap><outputMap><map from="responseBody" to="responseBody" /></outputMap><configBean encoding="xstream"><net.sf.taverna.t2.activities.rest.RESTActivityConfigurationBean xmlns="">
2  <httpMethod>GET</httpMethod>
3  <urlSignature>http://staging.conceptwiki.org/web-ws/concept/get/?uuid={ConceptWiki_uuid}</urlSignature>
4  <acceptsHeaderValue>application/xml</acceptsHeaderValue>
5  <contentTypeForUpdates>application/xml</contentTypeForUpdates>
6  <outgoingDataFormat>String</outgoingDataFormat>
7  <sendHTTPExpectRequestHeader>false</sendHTTPExpectRequestHeader>
8  <showRedirectionOutputPort>false</showRedirectionOutputPort>
9  <escapeParameters>true</escapeParameters>
10  <otherHTTPHeaders />
11  <activityInputs>
12    <entry>
13      <string>ConceptWiki_uuid</string>
14      <java-class>java.lang.String</java-class>
15    </entry>
16  </activityInputs>
17</net.sf.taverna.t2.activities.rest.RESTActivityConfigurationBean></configBean><annotations /></activity></activities><dispatchStack><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig xmlns="">
18  <maxJobs>1</maxJobs>
19</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBounce</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failover</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig xmlns="">
20  <backoffFactor>1.0</backoffFactor>
21  <initialDelay>1000</initialDelay>
22  <maxDelay>5000</maxDelay>
23  <maxRetries>0</maxRetries>
24</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoke</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer></dispatchStack><iterationStrategyStack><iteration><strategy><cross><port name="ConceptWiki_uuid" depth="0" /></cross></strategy></iteration></iterationStrategyStack></processor><processor><name>ConceptWiki_uuid_value</name><inputPorts /><outputPorts><port><name>value</name><depth>0</depth><granularDepth>0</granularDepth></port></outputPorts><annotations /><activities><activity><raven><group>net.sf.taverna.t2.activities</group><artifact>stringconstant-activity</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.activities.stringconstant.StringConstantActivity</class><inputMap /><outputMap><map from="value" to="value" /></outputMap><configBean encoding="xstream"><net.sf.taverna.t2.activities.stringconstant.StringConstantConfigurationBean xmlns="">
25  <value>d19a73ff-579c-46c0-af47-52290ae06186</value>
26</net.sf.taverna.t2.activities.stringconstant.StringConstantConfigurationBean></configBean><annotations /></activity></activities><dispatchStack><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig xmlns="">
27  <maxJobs>1</maxJobs>
28</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBounce</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failover</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig xmlns="">
29  <backoffFactor>1.0</backoffFactor>
30  <initialDelay>1000</initialDelay>
31  <maxDelay>5000</maxDelay>
32  <maxRetries>0</maxRetries>
33</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoke</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer></dispatchStack><iterationStrategyStack><iteration><strategy /></iteration></iterationStrategyStack></processor><processor><name>URLencode</name><inputPorts><port><name>input</name><depth>0</depth></port></inputPorts><outputPorts><port><name>url_encoded</name><depth>0</depth><granularDepth>0</granularDepth></port></outputPorts><annotations /><activities><activity><raven><group>net.sf.taverna.t2.activities</group><artifact>beanshell-activity</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.activities.beanshell.BeanshellActivity</class><inputMap><map from="input" to="input" /></inputMap><outputMap><map from="url_encoded" to="url_encoded" /></outputMap><configBean encoding="xstream"><net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean xmlns="">
34  <inputs>
35    <net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean>
36      <name>input</name>
37      <depth>0</depth>
38      <mimeTypes>
39        <string>text/plain</string>
40      </mimeTypes>
41      <handledReferenceSchemes />
42      <translatedElementType>java.lang.String</translatedElementType>
43      <allowsLiteralValues>true</allowsLiteralValues>
44    </net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityInputPortDefinitionBean>
45  </inputs>
46  <outputs>
47    <net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean>
48      <name>url_encoded</name>
49      <depth>0</depth>
50      <mimeTypes />
51      <granularDepth>0</granularDepth>
52    </net.sf.taverna.t2.workflowmodel.processor.activity.config.ActivityOutputPortDefinitionBean>
53  </outputs>
54  <classLoaderSharing>workflow</classLoaderSharing>
55  <localDependencies />
56  <artifactDependencies />
57  <script>url_encoded = URLEncoder.encode(input, "UTF-8");</script>
58  <dependencies />
59</net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean></configBean><annotations /></activity></activities><dispatchStack><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Parallelize</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig xmlns="">
60  <maxJobs>1</maxJobs>
61</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ParallelizeConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.ErrorBounce</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Failover</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Retry</class><configBean encoding="xstream"><net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig xmlns="">
62  <backoffFactor>1.0</backoffFactor>
63  <initialDelay>1000</initialDelay>
64  <maxDelay>5000</maxDelay>
65  <maxRetries>0</maxRetries>
66</net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.RetryConfig></configBean></dispatchLayer><dispatchLayer><raven><group>net.sf.taverna.t2.core</group><artifact>workflowmodel-impl</artifact><version>1.3</version></raven><class>net.sf.taverna.t2.workflowmodel.processor.dispatch.layers.Invoke</class><configBean encoding="xstream"><null xmlns="" /></configBean></dispatchLayer></dispatchStack><iterationStrategyStack><iteration><strategy><cross><port name="input" depth="0" /></cross></strategy></iteration></iterationStrategyStack></processor></processors><conditions /><datalinks><datalink><sink type="processor"><processor>ConceptWiki_GetConcept</processor><port>ConceptWiki_uuid</port></sink><source type="processor"><processor>URLencode</processor><port>url_encoded</port></source></datalink><datalink><sink type="processor"><processor>URLencode</processor><port>input</port></sink><source type="processor"><processor>ConceptWiki_uuid_value</processor><port>value</port></source></datalink><datalink><sink type="dataflow"><port>getConcept_output</port></sink><source type="processor"><processor>ConceptWiki_GetConcept</processor><port>responseBody</port></source></datalink></datalinks><annotations><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
67  <annotationAssertions>
68    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
69      <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
70        <identification>a161cbc0-9fc9-4eae-999a-103adf20b09e</identification>
71      </annotationBean>
72      <date>2011-11-24 16:43:50.410 CET</date>
73      <creators />
74      <curationEventList />
75    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
76  </annotationAssertions>
77</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
78  <annotationAssertions>
79    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
80      <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
81        <identification>6faeead4-099c-42a5-8644-abd2322d4a32</identification>
82      </annotationBean>
83      <date>2011-11-24 16:38:08.938 CET</date>
84      <creators />
85      <curationEventList />
86    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
87  </annotationAssertions>
88</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
89  <annotationAssertions>
90    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
91      <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
92        <identification>251a0626-3542-434a-a15f-b7b9fe750fed</identification>
93      </annotationBean>
94      <date>2011-11-24 16:43:02.575 CET</date>
95      <creators />
96      <curationEventList />
97    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
98  </annotationAssertions>
99</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
100  <annotationAssertions>
101    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
102      <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
103        <identification>f8bfc38d-a68e-4efc-8330-8832d938b04b</identification>
104      </annotationBean>
105      <date>2011-11-24 16:48:06.793 CET</date>
106      <creators />
107      <curationEventList />
108    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
109  </annotationAssertions>
110</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
111  <annotationAssertions>
112    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
113      <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
114        <identification>cd0d1aa4-5f6c-4562-88e3-eeebfe2638f6</identification>
115      </annotationBean>
116      <date>2011-11-24 16:42:21.940 CET</date>
117      <creators />
118      <curationEventList />
119    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
120  </annotationAssertions>
121</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2><annotation_chain_2_2 encoding="xstream"><net.sf.taverna.t2.annotation.AnnotationChainImpl xmlns="">
122  <annotationAssertions>
123    <net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
124      <annotationBean class="net.sf.taverna.t2.annotation.annotationbeans.IdentificationAssertion">
125        <identification>db239f8f-0073-481f-a912-25522492e3b9</identification>
126      </annotationBean>
127      <date>2011-11-24 16:41:09.350 CET</date>
128      <creators />
129      <curationEventList />
130    </net.sf.taverna.t2.annotation.AnnotationAssertionImpl>
131  </annotationAssertions>
132</net.sf.taverna.t2.annotation.AnnotationChainImpl></annotation_chain_2_2></annotations></dataflow></workflow>
Note: See TracBrowser for help on using the browser.