Project

General

Profile

1
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo">
2
	<DESCRIPTION>Retrieve information about current Content Provider</DESCRIPTION>
3
	<PARAMETERS>
4
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
5
		<PARAM required="true" type="string" name="providerName" managedBy="system">$params.("dataprovider:name")$</PARAM>
6
		<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM>
7
	</PARAMETERS>
8
	<ARCS>
9
		<ARC to="DeleteMetaWorkflow"/>
10
	</ARCS>
11
</NODE>
12

    
13
<NODE name="DeleteMetaWorkflow" type="DeleteMetaWf">
14
	<DESCRIPTION>Delete the MetaWorkflow</DESCRIPTION>
15
	<PARAMETERS>
16
		<PARAM required="true" type="string" name="metaWfId" managedBy="system">$params.("META_WORKFLOW_ID")$</PARAM>
17
	</PARAMETERS>
18
	<ARCS>
19
		<ARC to="DeleteMDStoreNative"/>
20
	</ARCS>
21
</NODE>
22

    
23
<NODE name="DeleteMDStoreNative" type="DeleteMDStore">
24
	<DESCRIPTION>Delete the native mdstore</DESCRIPTION>
25
	<PARAMETERS>
26
		<PARAM required="true" type="string" name="mdstoreId" managedBy="system">$params.("coll_id")$</PARAM>
27
	</PARAMETERS>
28
	<ARCS>
29
		<ARC to="DeleteMDStoreTransformed"/>
30
	</ARCS>
31
</NODE>
32

    
33
<NODE name="DeleteMDStoreTransformed" type="DeleteMDStore">
34
	<DESCRIPTION>Delete the transformed mdstore</DESCRIPTION>
35
	<PARAMETERS>
36
		<PARAM required="true" type="string" name="mdstoreId" managedBy="system">$params.("tran_id")$</PARAM>
37
	</PARAMETERS>
38
	<ARCS>
39
		<ARC to="DeleteIndex"/>
40
	</ARCS>
41
</NODE>
42

    
43
<NODE name="DeleteIndex" type="DeleteIndex">
44
	<DESCRIPTION>Delete the index</DESCRIPTION>
45
	<PARAMETERS>
46
		<PARAM required="true" type="string" name="indexId" managedBy="system">$params.("index_id")$</PARAM>
47
	</PARAMETERS>
48
	<ARCS>
49
		<ARC to="prepareOAI"/>
50
	</ARCS>
51
</NODE>
52

    
53
<NODE name="prepareOAI" type="PrepareOaiJob">
54
     <DESCRIPTION>Prepare oai feeding</DESCRIPTION>
55
     <PARAMETERS>
56
		<PARAM managedBy="user" name="oaiDbName" required="true" type="string">oaistore_dnet</PARAM>
57
		<PARAM managedBy="user" name="oaiFormat" required="true" type="string">DMF</PARAM>
58
		<PARAM managedBy="user" name="oaiLayout" required="true" type="string">store</PARAM>
59
		<PARAM managedBy="user" name="oaiInterpretation" required="true" type="string">transformed</PARAM>
60
		<PARAM name="oaiSource" managedBy="system" type="string" required="true">$params.("dataprovider:name")$</PARAM>
61
     </PARAMETERS>
62
     <ARCS>
63
		<ARC to="DropOAIStore"/>
64
     </ARCS>
65
</NODE>
66

    
67
<NODE name="DropOAIStore" type="OAIDropStore">
68
	<DESCRIPTION>Delete the OAI store for this repo</DESCRIPTION>
69
	<PARAMETERS>
70
		<PARAM managedBy="user" name="oaiDbName" required="true" type="string">oaistore_dnet</PARAM>
71
        <PARAM managedBy="user" name="oaiFormat" required="true" type="string">DMF</PARAM>
72
        <PARAM managedBy="user" name="oaiLayout" required="true" type="string">store</PARAM>
73
        <PARAM managedBy="user" name="oaiInterpretation" required="true" type="string">transformed</PARAM>
74
        <PARAM name="oaiSource" managedBy="system" type="string" required="true">$params.("dataprovider:name")$</PARAM>
75
	</PARAMETERS>
76
	<ARCS>
77
		<ARC to="OAISetsCountUpdate"/>
78
	</ARCS>
79
</NODE>
80

    
81
<NODE name="OAISetsCountUpdate" type="OAISetsCountUpdate">
82
	<DESCRIPTION>Update counts on OAI configuration sets</DESCRIPTION>
83
	<PARAMETERS>
84
		<PARAM managedBy="user" name="configuredOnly" required="true" type="boolean">true</PARAM>
85
	</PARAMETERS>
86
	<ARCS>
87
		<ARC to="RemoveApiExtraFields"/>
88
	</ARCS>
89
</NODE>
90

    
91
<NODE name="RemoveApiExtraFields" type="RemoveApiExtraFields">
92
	<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
93
	<PARAMETERS>
94
		<PARAM required="true" type="string" name="datasourceId" managedBy="system">$params.("dataprovider:id")$</PARAM>
95
		<PARAM required="true" type="string" name="datasourceInterface" managedBy="system">$params.("dataprovider:interface")$</PARAM>
96
		<PARAM required="true" type="string" name="fields" managedBy="system">last_collection_total, last_collection_date, last_collection_mdId, last_aggregation_total, last_aggregation_date, last_aggregation_mdId</PARAM>
97
	</PARAMETERS>
98
	<ARCS>
99
		<ARC to="success"/>
100
	</ARCS>
101
</NODE>
(5-5/6)