Revision 36463
Added by Alessia Bardi over 9 years ago
modules/dnet-aggregative-basic-workflows/trunk/src/main/resources/eu/dnetlib/applicationContext-dnet-aggregative-basic-workflows.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" |
|
4 |
xmlns:util="http://www.springframework.org/schema/util" |
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
|
6 |
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> |
|
7 |
|
|
8 |
</beans> |
modules/dnet-aggregative-basic-workflows/trunk/src/main/resources/eu/dnetlib/test/profiles/aggregative/workflows/repo-hi.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<RESOURCE_PROFILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
3 |
<HEADER> |
|
4 |
<RESOURCE_IDENTIFIER value="5dd5882b3-1a92-4e59-929c-f36b73854e57_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl" /> |
|
5 |
<RESOURCE_TYPE value="WorkflowDSResourceType" /> |
|
6 |
<RESOURCE_KIND value="WorkflowDSResources" /> |
|
7 |
<RESOURCE_URI value="value3" /> |
|
8 |
<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z" /> |
|
9 |
</HEADER> |
|
10 |
<BODY> |
|
11 |
<WORKFLOW_NAME>Collection and transformation</WORKFLOW_NAME> |
|
12 |
<!-- Specify fields to show when assigning a meta-workflow. --> |
|
13 |
<!-- |
|
14 |
<WORKFLOW_INFO> |
|
15 |
<FIELD name="Action">Aggregate Metadata</FIELD> |
|
16 |
<FIELD name="Consequence IS">Ingestion</FIELD> |
|
17 |
<FIELD name="Datasource class">PubsRepository</FIELD> |
|
18 |
<FIELD name="Content">publications</FIELD> |
|
19 |
</WORKFLOW_INFO> --> |
|
20 |
<WORKFLOW_TYPE>REPO_HI</WORKFLOW_TYPE> |
|
21 |
<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY> |
|
22 |
<CONFIGURATION start="manual"> |
|
23 |
<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true"> |
|
24 |
<DESCRIPTION>Verify if DS is pending</DESCRIPTION> |
|
25 |
<PARAMETERS> |
|
26 |
<PARAM name="expectedInterfaceTypologyPrefixes" managedBy="system" required="false" type="string"/> |
|
27 |
<PARAM name="expectedCompliancePrefixes" managedBy="system" required="false" type="string"/> |
|
28 |
</PARAMETERS> |
|
29 |
<ARCS> |
|
30 |
<ARC to="createMetaWf"/> |
|
31 |
<ARC to="validateDs" name="validateDs"/> |
|
32 |
</ARCS> |
|
33 |
</NODE> |
|
34 |
|
|
35 |
<NODE name="validateDs" type="ValidateDatasource"> |
|
36 |
<DESCRIPTION>Validate DS</DESCRIPTION> |
|
37 |
<PARAMETERS/> |
|
38 |
<ARCS> |
|
39 |
<ARC to="createMetaWf"/> |
|
40 |
</ARCS> |
|
41 |
</NODE> |
|
42 |
|
|
43 |
<NODE name="createMetaWf" type="RegisterMetaWf"> |
|
44 |
<DESCRIPTION>Create MetaWorkflow</DESCRIPTION> |
|
45 |
<PARAMETERS> |
|
46 |
<PARAM name="wfName" managedBy="system" required="true" type="string">Collection and transformation</PARAM> |
|
47 |
</PARAMETERS> |
|
48 |
<ARCS> |
|
49 |
<ARC to="createNative"/> |
|
50 |
<ARC to="createTransformed"/> |
|
51 |
<ARC to="prepareCreateIndex"/> |
|
52 |
</ARCS> |
|
53 |
</NODE> |
|
54 |
|
|
55 |
<NODE name="createNative" type="CreateMDStore"> |
|
56 |
<DESCRIPTION>Create native store</DESCRIPTION> |
|
57 |
<PARAMETERS> |
|
58 |
<PARAM name="format" managedBy="system" required="true" type="string">DMF</PARAM> |
|
59 |
<PARAM name="interpretation" managedBy="system" required="true" type="string">native</PARAM> |
|
60 |
<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM> |
|
61 |
<PARAM name="outputPrefix" managedBy="system" required="true" type="string">coll_</PARAM> |
|
62 |
</PARAMETERS> |
|
63 |
<ARCS> |
|
64 |
<ARC to="updateMetaWf" /> |
|
65 |
</ARCS> |
|
66 |
</NODE> |
|
67 |
|
|
68 |
<NODE name="createTransformed" type="CreateMDStore"> |
|
69 |
<DESCRIPTION>Create transformed store</DESCRIPTION> |
|
70 |
<PARAMETERS> |
|
71 |
<PARAM name="format" managedBy="system" required="true" type="string">DMF</PARAM> |
|
72 |
<PARAM name="interpretation" managedBy="system" required="true" type="string">transformed</PARAM> |
|
73 |
<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM> |
|
74 |
<PARAM name="outputPrefix" managedBy="system" required="true" type="string">tran_</PARAM> |
|
75 |
</PARAMETERS> |
|
76 |
<ARCS> |
|
77 |
<ARC to="updateMetaWf" /> |
|
78 |
</ARCS> |
|
79 |
</NODE> |
|
80 |
|
|
81 |
<NODE name="prepareCreateIndex" type="PrepareCreateIndex"> |
|
82 |
<DESCRIPTION>Prepare create index</DESCRIPTION> |
|
83 |
<PARAMETERS> |
|
84 |
<PARAM name="format" managedBy="system" required="true" type="string">DMF</PARAM> |
|
85 |
<PARAM name="interpretation" managedBy="system" required="true" type="string">transformed</PARAM> |
|
86 |
<PARAM name="layout" managedBy="system" required="true" type="string">index</PARAM> |
|
87 |
</PARAMETERS> |
|
88 |
<ARCS> |
|
89 |
<ARC to="createIndex" /> |
|
90 |
</ARCS> |
|
91 |
</NODE> |
|
92 |
|
|
93 |
<NODE name="createIndex" type="CreateIndex"> |
|
94 |
<DESCRIPTION>Create index</DESCRIPTION> |
|
95 |
<PARAMETERS> |
|
96 |
<PARAM name="outputPrefix" managedBy="system" required="true" type="string">index_</PARAM> |
|
97 |
</PARAMETERS> |
|
98 |
<ARCS> |
|
99 |
<ARC to="updateMetaWf" /> |
|
100 |
</ARCS> |
|
101 |
</NODE> |
|
102 |
|
|
103 |
<NODE name="updateMetaWf" type="UpdateMetaWf" isJoin="true"> |
|
104 |
<DESCRIPTION>Create MetaWorkflow</DESCRIPTION> |
|
105 |
<PARAMETERS> |
|
106 |
<PARAM name="beanName" managedBy="system" required="true" type="string">metaWfRepoHi</PARAM> |
|
107 |
</PARAMETERS> |
|
108 |
<ARCS> |
|
109 |
<ARC to="updateMetaWfStatus" /> |
|
110 |
</ARCS> |
|
111 |
</NODE> |
|
112 |
|
|
113 |
<NODE name="updateMetaWfStatus" type="UpdateMetaWfStatus"> |
|
114 |
<DESCRIPTION>Update MetaWorkflow Status</DESCRIPTION> |
|
115 |
<PARAMETERS /> |
|
116 |
<ARCS> |
|
117 |
<ARC to="success" /> |
|
118 |
</ARCS> |
|
119 |
</NODE> |
|
120 |
|
|
121 |
</CONFIGURATION> |
|
122 |
|
|
123 |
<STATUS /> |
|
124 |
</BODY> |
|
125 |
</RESOURCE_PROFILE> |
modules/dnet-aggregative-basic-workflows/trunk/src/main/resources/eu/dnetlib/test/profiles/workflows/repo-hi.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<RESOURCE_PROFILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
3 |
<HEADER> |
|
4 |
<RESOURCE_IDENTIFIER value="5dd5882b3-1a92-4e59-929c-f36b73854e57_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl" /> |
|
5 |
<RESOURCE_TYPE value="WorkflowDSResourceType" /> |
|
6 |
<RESOURCE_KIND value="WorkflowDSResources" /> |
|
7 |
<RESOURCE_URI value="value3" /> |
|
8 |
<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z" /> |
|
9 |
</HEADER> |
|
10 |
<BODY> |
|
11 |
<WORKFLOW_NAME>Collection and transformation</WORKFLOW_NAME> |
|
12 |
<!-- Specify fields to show when assigning a meta-workflow. --> |
|
13 |
<!-- |
|
14 |
<WORKFLOW_INFO> |
|
15 |
<FIELD name="Action">Aggregate Metadata</FIELD> |
|
16 |
<FIELD name="Consequence IS">Ingestion</FIELD> |
|
17 |
<FIELD name="Datasource class">PubsRepository</FIELD> |
|
18 |
<FIELD name="Content">publications</FIELD> |
|
19 |
</WORKFLOW_INFO> --> |
|
20 |
<WORKFLOW_TYPE>REPO_HI</WORKFLOW_TYPE> |
|
21 |
<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY> |
|
22 |
<CONFIGURATION start="manual"> |
|
23 |
<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true"> |
|
24 |
<DESCRIPTION>Verify if DS is pending</DESCRIPTION> |
|
25 |
<PARAMETERS> |
|
26 |
<PARAM name="expectedInterfaceTypologyPrefixes" managedBy="system" required="false" type="string"/> |
|
27 |
<PARAM name="expectedCompliancePrefixes" managedBy="system" required="false" type="string"/> |
|
28 |
</PARAMETERS> |
|
29 |
<ARCS> |
|
30 |
<ARC to="createMetaWf"/> |
|
31 |
<ARC to="validateDs" name="validateDs"/> |
|
32 |
</ARCS> |
|
33 |
</NODE> |
|
34 |
|
|
35 |
<NODE name="validateDs" type="ValidateDatasource"> |
|
36 |
<DESCRIPTION>Validate DS</DESCRIPTION> |
|
37 |
<PARAMETERS/> |
|
38 |
<ARCS> |
|
39 |
<ARC to="createMetaWf"/> |
|
40 |
</ARCS> |
|
41 |
</NODE> |
|
42 |
|
|
43 |
<NODE name="createMetaWf" type="RegisterMetaWf"> |
|
44 |
<DESCRIPTION>Create MetaWorkflow</DESCRIPTION> |
|
45 |
<PARAMETERS> |
|
46 |
<PARAM name="wfName" managedBy="system" required="true" type="string">Collection and transformation</PARAM> |
|
47 |
</PARAMETERS> |
|
48 |
<ARCS> |
|
49 |
<ARC to="createNative"/> |
|
50 |
<ARC to="createTransformed"/> |
|
51 |
<ARC to="prepareCreateIndex"/> |
|
52 |
</ARCS> |
|
53 |
</NODE> |
|
54 |
|
|
55 |
<NODE name="createNative" type="CreateMDStore"> |
|
56 |
<DESCRIPTION>Create native store</DESCRIPTION> |
|
57 |
<PARAMETERS> |
|
58 |
<PARAM name="format" managedBy="system" required="true" type="string">DMF</PARAM> |
|
59 |
<PARAM name="interpretation" managedBy="system" required="true" type="string">native</PARAM> |
|
60 |
<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM> |
|
61 |
<PARAM name="outputPrefix" managedBy="system" required="true" type="string">coll_</PARAM> |
|
62 |
</PARAMETERS> |
|
63 |
<ARCS> |
|
64 |
<ARC to="updateMetaWf" /> |
|
65 |
</ARCS> |
|
66 |
</NODE> |
|
67 |
|
|
68 |
<NODE name="createTransformed" type="CreateMDStore"> |
|
69 |
<DESCRIPTION>Create transformed store</DESCRIPTION> |
|
70 |
<PARAMETERS> |
|
71 |
<PARAM name="format" managedBy="system" required="true" type="string">DMF</PARAM> |
|
72 |
<PARAM name="interpretation" managedBy="system" required="true" type="string">transformed</PARAM> |
|
73 |
<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM> |
|
74 |
<PARAM name="outputPrefix" managedBy="system" required="true" type="string">tran_</PARAM> |
|
75 |
</PARAMETERS> |
|
76 |
<ARCS> |
|
77 |
<ARC to="updateMetaWf" /> |
|
78 |
</ARCS> |
|
79 |
</NODE> |
|
80 |
|
|
81 |
<NODE name="prepareCreateIndex" type="PrepareCreateIndex"> |
|
82 |
<DESCRIPTION>Prepare create index</DESCRIPTION> |
|
83 |
<PARAMETERS> |
|
84 |
<PARAM name="format" managedBy="system" required="true" type="string">DMF</PARAM> |
|
85 |
<PARAM name="interpretation" managedBy="system" required="true" type="string">transformed</PARAM> |
|
86 |
<PARAM name="layout" managedBy="system" required="true" type="string">index</PARAM> |
|
87 |
</PARAMETERS> |
|
88 |
<ARCS> |
|
89 |
<ARC to="createIndex" /> |
|
90 |
</ARCS> |
|
91 |
</NODE> |
|
92 |
|
|
93 |
<NODE name="createIndex" type="CreateIndex"> |
|
94 |
<DESCRIPTION>Create index</DESCRIPTION> |
|
95 |
<PARAMETERS> |
|
96 |
<PARAM name="outputPrefix" managedBy="system" required="true" type="string">index_</PARAM> |
|
97 |
</PARAMETERS> |
|
98 |
<ARCS> |
|
99 |
<ARC to="updateMetaWf" /> |
|
100 |
</ARCS> |
|
101 |
</NODE> |
|
102 |
|
|
103 |
<NODE name="updateMetaWf" type="UpdateMetaWf" isJoin="true"> |
|
104 |
<DESCRIPTION>Create MetaWorkflow</DESCRIPTION> |
|
105 |
<PARAMETERS> |
|
106 |
<PARAM name="beanName" managedBy="system" required="true" type="string">metaWfRepoHi</PARAM> |
|
107 |
</PARAMETERS> |
|
108 |
<ARCS> |
|
109 |
<ARC to="updateMetaWfStatus" /> |
|
110 |
</ARCS> |
|
111 |
</NODE> |
|
112 |
|
|
113 |
<NODE name="updateMetaWfStatus" type="UpdateMetaWfStatus"> |
|
114 |
<DESCRIPTION>Update MetaWorkflow Status</DESCRIPTION> |
|
115 |
<PARAMETERS /> |
|
116 |
<ARCS> |
|
117 |
<ARC to="success" /> |
|
118 |
</ARCS> |
|
119 |
</NODE> |
|
120 |
|
|
121 |
</CONFIGURATION> |
|
122 |
|
|
123 |
<STATUS /> |
|
124 |
</BODY> |
|
125 |
</RESOURCE_PROFILE> |
Also available in: Unified diff
removed useless application context. repo-hi.xml moved to correct package