Revision 49400
Added by Alessia Bardi over 6 years ago
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/repo_bye.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<RESOURCE_PROFILE> |
|
3 |
<HEADER> |
|
4 |
<RESOURCE_IDENTIFIER value="b54ff264-ed25-46a5-86df-dfbefb0b22be_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/> |
|
5 |
<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/> |
|
6 |
<RESOURCE_KIND value="WorkflowTemplateDSResources"/> |
|
7 |
<RESOURCE_URI value=""/> |
|
8 |
<DATE_OF_CREATION value="2016-09-20T12:00:00.0Z"/> |
|
9 |
</HEADER> |
|
10 |
<BODY> |
|
11 |
<CONFIGURATION> |
|
12 |
<PARAMETERS> |
|
13 |
<PARAM name="dsId" description="Datasource Id" required="true" type="string"/> |
|
14 |
<PARAM name="dsName" description="Datasource Name" required="true" type="string"/> |
|
15 |
<PARAM name="interface" description="Datasource Interface" required="true" type="string"/> |
|
16 |
<PARAM name="collMdstoreId" description="Store for collected records" required="true" type="string"/> |
|
17 |
<PARAM name="cleanMdstoreId" description="Store for transformed records" required="true" type="string"/> |
|
18 |
<PARAM name="indexId" description="Index Identifier" required="true" type="string"/> |
|
19 |
<PARAM name="OAIFormat" description="OAI Format" required="true" type="string"/> |
|
20 |
<PARAM name="OAILayout" description="OAI Layout" required="true" type="string"/> |
|
21 |
<PARAM name="OAIInterpretation" description="OAI Interpretation" required="true" type="string"/> |
|
22 |
<PARAM name="OAIDBName" description="OAI Database Name" required="true" type="string"/> |
|
23 |
</PARAMETERS> |
|
24 |
<WORKFLOW> |
|
25 |
<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true"> |
|
26 |
<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION> |
|
27 |
<PARAMETERS> |
|
28 |
<PARAM name="mdstoreId" ref="collMdstoreId"/> |
|
29 |
</PARAMETERS> |
|
30 |
<ARCS> |
|
31 |
<ARC to="deleteCleanMdStore"/> |
|
32 |
</ARCS> |
|
33 |
</NODE> |
|
34 |
<NODE name="deleteCleanMdStore" type="DeleteMDStore"> |
|
35 |
<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION> |
|
36 |
<PARAMETERS> |
|
37 |
<PARAM name="mdstoreId" ref="cleanMdstoreId"/> |
|
38 |
</PARAMETERS> |
|
39 |
<ARCS> |
|
40 |
<ARC to="deleteIndex"/> |
|
41 |
</ARCS> |
|
42 |
</NODE> |
|
43 |
<NODE name="deleteIndex" type="DeleteIndex"> |
|
44 |
<DESCRIPTION>Delete the index</DESCRIPTION> |
|
45 |
<PARAMETERS> |
|
46 |
<PARAM name="indexId" ref="indexId"/> |
|
47 |
</PARAMETERS> |
|
48 |
<ARCS> |
|
49 |
<ARC to="dropOAI"/> |
|
50 |
</ARCS> |
|
51 |
</NODE> |
|
52 |
<NODE name="dropOAI" type="OAIDropStore"> |
|
53 |
<DESCRIPTION>Delete from oai</DESCRIPTION> |
|
54 |
<PARAMETERS> |
|
55 |
<PARAM name="oaiDbName" ref="OAIDBName"/> |
|
56 |
<PARAM name="oaiFormat" ref="OAIFormat"/> |
|
57 |
<PARAM name="oaiLayout" ref="OAILayout"/> |
|
58 |
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/> |
|
59 |
<PARAM name="setSpec" ref="dsName" /> |
|
60 |
</PARAMETERS> |
|
61 |
<ARCS> |
|
62 |
<ARC to="removeApiExtraFields"/> |
|
63 |
</ARCS> |
|
64 |
</NODE> |
|
65 |
<NODE name="updateSetsCount" type="OAISetsCountUpdate"> |
|
66 |
<DESCRIPTION>Update the OAI sets count</DESCRIPTION> |
|
67 |
<PARAMETERS> |
|
68 |
<PARAM name="oaiDbName" ref="OAIDBName"/> |
|
69 |
<PARAM name="oaiFormat" ref="OAIFormat"/> |
|
70 |
<PARAM name="oaiLayout" ref="OAILayout"/> |
|
71 |
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/> |
|
72 |
<PARAM name="configuredOnly" value="true"/> |
|
73 |
</PARAMETERS> |
|
74 |
<ARCS> |
|
75 |
<ARC to="removeApiExtraFields"/> |
|
76 |
</ARCS> |
|
77 |
</NODE> |
|
78 |
<NODE name="removeApiExtraFields" type="RemoveApiExtraFields"> |
|
79 |
<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION> |
|
80 |
<PARAMETERS> |
|
81 |
<PARAM name="datasourceId" ref="dsId"/> |
|
82 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
83 |
<PARAM name="fields"> |
|
84 |
<LIST> |
|
85 |
<ITEM value="last_collection_total"/> |
|
86 |
<ITEM value="last_collection_date"/> |
|
87 |
<ITEM value="last_collection_mdId"/> |
|
88 |
<ITEM value="last_aggregation_total"/> |
|
89 |
<ITEM value="last_aggregation_date"/> |
|
90 |
<ITEM value="last_aggregation_mdId"/> |
|
91 |
</LIST> |
|
92 |
</PARAM> |
|
93 |
</PARAMETERS> |
|
94 |
<ARCS> |
|
95 |
<ARC to="success"/> |
|
96 |
</ARCS> |
|
97 |
</NODE> |
|
98 |
|
|
99 |
</WORKFLOW> |
|
100 |
</CONFIGURATION> |
|
101 |
</BODY> |
|
102 |
</RESOURCE_PROFILE> |
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/repo_bye_template.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<RESOURCE_PROFILE> |
|
3 |
<HEADER> |
|
4 |
<RESOURCE_IDENTIFIER value="b54ff264-ed25-46a5-86df-dfbefb0b22be_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/> |
|
5 |
<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/> |
|
6 |
<RESOURCE_KIND value="WorkflowTemplateDSResources"/> |
|
7 |
<RESOURCE_URI value=""/> |
|
8 |
<DATE_OF_CREATION value="2016-09-20T12:00:00.0Z"/> |
|
9 |
</HEADER> |
|
10 |
<BODY> |
|
11 |
<CONFIGURATION> |
|
12 |
<PARAMETERS> |
|
13 |
<PARAM name="dsId" description="Datasource Id" required="true" type="string"/> |
|
14 |
<PARAM name="dsName" description="Datasource Name" required="true" type="string"/> |
|
15 |
<PARAM name="interface" description="Datasource Interface" required="true" type="string"/> |
|
16 |
<PARAM name="collMdstoreId" description="Store for collected records" required="true" type="string"/> |
|
17 |
<PARAM name="cleanMdstoreId" description="Store for transformed records" required="true" type="string"/> |
|
18 |
<PARAM name="indexId" description="Index Identifier" required="true" type="string"/> |
|
19 |
<PARAM name="OAIFormat" description="OAI Format" required="true" type="string"/> |
|
20 |
<PARAM name="OAILayout" description="OAI Layout" required="true" type="string"/> |
|
21 |
<PARAM name="OAIInterpretation" description="OAI Interpretation" required="true" type="string"/> |
|
22 |
<PARAM name="OAIDBName" description="OAI Database Name" required="true" type="string"/> |
|
23 |
</PARAMETERS> |
|
24 |
<WORKFLOW> |
|
25 |
<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true"> |
|
26 |
<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION> |
|
27 |
<PARAMETERS> |
|
28 |
<PARAM name="mdstoreId" ref="collMdstoreId"/> |
|
29 |
</PARAMETERS> |
|
30 |
<ARCS> |
|
31 |
<ARC to="deleteCleanMdStore"/> |
|
32 |
</ARCS> |
|
33 |
</NODE> |
|
34 |
<NODE name="deleteCleanMdStore" type="DeleteMDStore"> |
|
35 |
<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION> |
|
36 |
<PARAMETERS> |
|
37 |
<PARAM name="mdstoreId" ref="cleanMdstoreId"/> |
|
38 |
</PARAMETERS> |
|
39 |
<ARCS> |
|
40 |
<ARC to="deleteIndex"/> |
|
41 |
</ARCS> |
|
42 |
</NODE> |
|
43 |
<NODE name="deleteIndex" type="DeleteIndex"> |
|
44 |
<DESCRIPTION>Delete the index</DESCRIPTION> |
|
45 |
<PARAMETERS> |
|
46 |
<PARAM name="indexId" ref="indexId"/> |
|
47 |
</PARAMETERS> |
|
48 |
<ARCS> |
|
49 |
<ARC to="dropOAI"/> |
|
50 |
</ARCS> |
|
51 |
</NODE> |
|
52 |
<NODE name="dropOAI" type="OAIDropStore"> |
|
53 |
<DESCRIPTION>Delete from oai</DESCRIPTION> |
|
54 |
<PARAMETERS> |
|
55 |
<PARAM name="oaiDbName" ref="OAIDBName"/> |
|
56 |
<PARAM name="oaiFormat" ref="OAIFormat"/> |
|
57 |
<PARAM name="oaiLayout" ref="OAILayout"/> |
|
58 |
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/> |
|
59 |
<PARAM name="setSpec" ref="dsName" /> |
|
60 |
</PARAMETERS> |
|
61 |
<ARCS> |
|
62 |
<ARC to="removeApiExtraFields"/> |
|
63 |
</ARCS> |
|
64 |
</NODE> |
|
65 |
<NODE name="updateSetsCount" type="OAISetsCountUpdate"> |
|
66 |
<DESCRIPTION>Update the OAI sets count</DESCRIPTION> |
|
67 |
<PARAMETERS> |
|
68 |
<PARAM name="oaiDbName" ref="OAIDBName"/> |
|
69 |
<PARAM name="oaiFormat" ref="OAIFormat"/> |
|
70 |
<PARAM name="oaiLayout" ref="OAILayout"/> |
|
71 |
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/> |
|
72 |
<PARAM name="configuredOnly" value="true"/> |
|
73 |
</PARAMETERS> |
|
74 |
<ARCS> |
|
75 |
<ARC to="removeApiExtraFields"/> |
|
76 |
</ARCS> |
|
77 |
</NODE> |
|
78 |
<NODE name="removeApiExtraFields" type="RemoveApiExtraFields"> |
|
79 |
<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION> |
|
80 |
<PARAMETERS> |
|
81 |
<PARAM name="datasourceId" ref="dsId"/> |
|
82 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
83 |
<PARAM name="fields"> |
|
84 |
<LIST> |
|
85 |
<ITEM value="last_collection_total"/> |
|
86 |
<ITEM value="last_collection_date"/> |
|
87 |
<ITEM value="last_collection_mdId"/> |
|
88 |
<ITEM value="last_aggregation_total"/> |
|
89 |
<ITEM value="last_aggregation_date"/> |
|
90 |
<ITEM value="last_aggregation_mdId"/> |
|
91 |
</LIST> |
|
92 |
</PARAM> |
|
93 |
</PARAMETERS> |
|
94 |
<ARCS> |
|
95 |
<ARC to="success"/> |
|
96 |
</ARCS> |
|
97 |
</NODE> |
|
98 |
|
|
99 |
</WORKFLOW> |
|
100 |
</CONFIGURATION> |
|
101 |
</BODY> |
|
102 |
</RESOURCE_PROFILE> |
Also available in: Unified diff
renamed wf template