Project

General

Profile

« Previous | Next » 

Revision 45750

fixed repobye workflow

View differences:

modules/dnet-dli/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/linkprovider/repo_by_link_provider.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="8bf9879c-535a-4818-8de7-790a3eb90675_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
5
		<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
9
	</HEADER>
10
	<BODY>
11
		<CONFIGURATION>
12
			<PARAMETERS>
13
				<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
14
				<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
15
				<PARAM name="collMdstoreId" description="Store for collected records" required="true" type="string"/>
16
				<PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string"/>
17
				<PARAM name="patchMdstoreId" description="Store for patched records" required="true" type="string"/>
18
				<PARAM name="nativeObjectStoreId" description="Object Store for native images" required="true" type="string"/>
19
				<PARAM name="indexId" description="Index Identifier" required="true" type="string"/>
20
			</PARAMETERS>
21
			<WORKFLOW>
22
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
23
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
24
					<PARAMETERS>
25
						<PARAM name="mdstoreId" ref="collMdstoreId"/>
26
					</PARAMETERS>
27
					<ARCS>
28
						<ARC to="deleteCleanMdStore"/>
29
					</ARCS>
30
				</NODE>
31
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
32
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
33
					<PARAMETERS>
34
						<PARAM name="mdstoreId" ref="cleanMdstoreId"/>
35
					</PARAMETERS>
36
					<ARCS>
37
						<ARC to="removeApiExtraFields"/>
38
					</ARCS>
39
				</NODE>
40

  
41
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
42
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
43
					<PARAMETERS>
44
						<PARAM name="datasourceId" ref="dsId"/>
45
						<PARAM name="datasourceInterface" ref="interface"/>
46
						<PARAM name="fields">
47
							<LIST>
48
								<ITEM value="last_collection_total"/>
49
								<ITEM value="last_collection_date"/>
50
								<ITEM value="last_collection_mdId"/>
51
								<ITEM value="last_aggregation_total"/>
52
								<ITEM value="last_aggregation_date"/>
53
								<ITEM value="last_aggregation_mdId"/>
54
							</LIST>
55
						</PARAM>
56
					</PARAMETERS>
57
					<ARCS>
58
						<ARC to="success"/>
59
					</ARCS>
60
				</NODE>
61
			</WORKFLOW>
62
		</CONFIGURATION>
63
	</BODY>
64
</RESOURCE_PROFILE>
modules/dnet-dli/trunk/src/main/resources/eu/dnetlib/dli/workflows/repo-hi/dli_aggregation_wf.xml.st
143 143
                            <PARAMETERS>
144 144
                                <PARAM name="dsId"                  value="$dsId$" />
145 145
                                <PARAM name="interface"             value="$interface$" />
146
                                <PARAM name="cleanMdstoreId"        ref="cleanMdstoreId" />
146
                                <PARAM name="DLINativeStore" 		value="$collMdstoreId$" />
147
                                <PARAM name="DLICleanedStore" 		value="$cleanMdstoreId$" />
148
                                <PARAM name="PMFResolvedStore" 		value="$publicationMdstoreId$" />
149
                                <PARAM name="DMFResolvedStore" 		value="$dataSetMdstoreId$" />
150
                                <PARAM name="ScholixResolvedStore" 	value="$unknownMdstoreId$" />
147 151
                            </PARAMETERS>
148 152
            </DESTROY_WORKFLOW_TEMPLATE>
149 153

  
modules/dnet-dli/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/linkprovider/repo_bye_link_provider.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="8bf9879c-535a-4818-8de7-790a3eb90675_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
5
		<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
9
	</HEADER>
10
	<BODY>
11
		<CONFIGURATION>
12
			<PARAMETERS>
13
				<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
14
				<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
15
				<PARAM name="DLINativeStore" description="Store for collected records" required="true" type="string"/>
16
				<PARAM name="DLICleanedStore" description="Store for cleaned records" required="true" type="string"/>
17
				<PARAM name="PMFResolvedStore" description="Store for PMF records" required="true" type="string"/>
18
				<PARAM name="DMFResolvedStore" description="Store for DMF records" required="true" type="string"/>
19
				<PARAM name="ScholixResolvedStore" description="Store for DMF records" required="true" type="string"/>
20

  
21
			</PARAMETERS>
22
			<WORKFLOW>
23
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
24
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
25
					<PARAMETERS>
26
						<PARAM name="mdstoreId" ref="DLINativeStore"/>
27
					</PARAMETERS>
28
					<ARCS>
29
						<ARC to="deleteCleanMdStore"/>
30
					</ARCS>
31
				</NODE>
32
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
33
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
34
					<PARAMETERS>
35
						<PARAM name="mdstoreId" ref="DLICleanedStore"/>
36
					</PARAMETERS>
37
					<ARCS>
38
						<ARC to="deletePMFMdStore"/>
39
					</ARCS>
40
				</NODE>
41

  
42

  
43
				<NODE name="deletePMFMdStore" type="DeleteMDStore">
44
					<DESCRIPTION>Delete the mdstore of PMF cleaned records</DESCRIPTION>
45
					<PARAMETERS>
46
						<PARAM name="mdstoreId" ref="PMFResolvedStore"/>
47
					</PARAMETERS>
48
					<ARCS>
49
						<ARC to="deleteDMFMdStore"/>
50
					</ARCS>
51
				</NODE>
52

  
53
				<NODE name="deleteDMFMdStore" type="DeleteMDStore">
54
					<DESCRIPTION>Delete the mdstore of DMF cleaned records</DESCRIPTION>
55
					<PARAMETERS>
56
						<PARAM name="mdstoreId" ref="DMFResolvedStore"/>
57
					</PARAMETERS>
58
					<ARCS>
59
						<ARC to="deleteScholixMdStore"/>
60
					</ARCS>
61
				</NODE>
62

  
63
				<NODE name="deleteScholixMdStore" type="DeleteMDStore">
64
					<DESCRIPTION>Delete the mdstore of unresolved records</DESCRIPTION>
65
					<PARAMETERS>
66
						<PARAM name="mdstoreId" ref="ScholixResolvedStore"/>
67
					</PARAMETERS>
68
					<ARCS>
69
						<ARC to="removeApiExtraFields"/>
70
					</ARCS>
71
				</NODE>
72

  
73
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
74
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
75
					<PARAMETERS>
76
						<PARAM name="datasourceId" ref="dsId"/>
77
						<PARAM name="datasourceInterface" ref="interface"/>
78
						<PARAM name="fields">
79
							<LIST>
80
								<ITEM value="last_collection_total"/>
81
								<ITEM value="last_collection_date"/>
82
								<ITEM value="last_collection_mdId"/>
83
								<ITEM value="last_aggregation_total"/>
84
								<ITEM value="last_aggregation_date"/>
85
								<ITEM value="last_aggregation_mdId"/>
86
							</LIST>
87
						</PARAM>
88
					</PARAMETERS>
89
					<ARCS>
90
						<ARC to="success"/>
91
					</ARCS>
92
				</NODE>
93
			</WORKFLOW>
94
		</CONFIGURATION>
95
	</BODY>
96
</RESOURCE_PROFILE>

Also available in: Unified diff