Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
    <HEADER>
4
        <RESOURCE_IDENTIFIER value=""/>
5
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
6
        <RESOURCE_KIND value="WorkflowDSResources"/>
7
        <RESOURCE_URI value=""/>
8
        <DATE_OF_CREATION value=""/>
9
    </HEADER>
10
    <BODY>
11
        <WORKFLOW_NAME>$name$</WORKFLOW_NAME>
12
        <WORKFLOW_DESCRIPTION>$desc$</WORKFLOW_DESCRIPTION>
13
        <WORKFLOW_INFO />
14
        <WORKFLOW_FAMILY>publishing</WORKFLOW_FAMILY>
15
        <WORKFLOW_PRIORITY>$priority$</WORKFLOW_PRIORITY>
16
        <DATASOURCE id="$dsId$" interface="$interface$" />
17

    
18
        <CONFIGURATION status="WAIT_SYS_SETTINGS" start="MANUAL">
19
            <PARAMETERS>
20
                <PARAM name="indexId"               description="Identifier of the Index"           required="true" managedBy="system"  category="INDEX_ID"/>
21
            	<PARAM name="OAIFormat"             description="OAI Format"                        required="true" managedBy="user"    type="string">CIDOC</PARAM>
22
                <PARAM name="OAILayout"             description="OAI Layout"                        required="true" managedBy="system"  type="string">OAI</PARAM>
23
                <PARAM name="OAIInterpretation"     description="OAI Interpretation"                required="true" managedBy="system"  type="string">transformed</PARAM>
24
                <PARAM name="OAIDBName"             description="OAI Database Name"                 required="true" managedBy="system"  type="string">oaistore_parthenos</PARAM>
25
                <PARAM name="OAIConfiguredOnly"     description="Count only configured OAI sets"    required="true" managedBy="user"    type="boolean">false</PARAM>
26
                <PARAM name="publisherEndpoint"     description="Parthenos Publisher Endpoint"      required="true" managedBy="user"    type="string">http://beta-parthenos.d4science.org:8080/parthenos/unpublish</PARAM>
27
            </PARAMETERS>
28
            <WORKFLOW>
29
                	<NODE name="deleteIndex" type="DeleteIndex" isStart="true">
30
                		<DESCRIPTION>Delete the index</DESCRIPTION>
31
                		<PARAMETERS>
32
                			<PARAM name="indexId" ref="indexId"/>
33
                		</PARAMETERS>
34
                		<ARCS>
35
                			<ARC to="success"/>
36
                		</ARCS>
37
                	</NODE>
38
                	<NODE name="dropOAI" type="OAIDropStore" isStart="true">
39
                		<DESCRIPTION>Delete from oai</DESCRIPTION>
40
                		<PARAMETERS>
41
                			<PARAM name="oaiDbName" ref="OAIDBName"/>
42
                			<PARAM name="oaiFormat" ref="OAIFormat"/>
43
                			<PARAM name="oaiLayout" ref="OAILayout"/>
44
                			<PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
45
                			<PARAM name="setSpec" ref="dsName" />
46
                		</PARAMETERS>
47
                		<ARCS>
48
                			<ARC to="updateSetsCount"/>
49
                		</ARCS>
50
                	</NODE>
51
                	<NODE name="updateSetsCount" type="OAISetsCountUpdate">
52
                		<DESCRIPTION>Update the OAI sets count</DESCRIPTION>
53
                		<PARAMETERS>
54
                            <PARAM name="oaiDbName" ref="OAIDBName"/>
55
                            <PARAM name="oaiFormat" ref="OAIFormat"/>
56
                            <PARAM name="oaiLayout" ref="OAILayout"/>
57
                            <PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
58
                            <PARAM name="configuredOnly" value="true"/>
59
                		</PARAMETERS>
60
                		<ARCS>
61
                			<ARC to="success"/>
62
                		</ARCS>
63
                	</NODE>
64
                	<NODE name="unpublishVirtuoso" type="UnpublishVirtuoso" isStart="true">
65
                    	<DESCRIPTION>Drop from Virtuoso</DESCRIPTION>
66
                        <PARAMETERS>
67
                            <PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
68
                            <PARAM name="datasourceInterface" value="$interface$" />
69
                        </PARAMETERS>
70
                        <ARCS>
71
                            <ARC to="success"/>
72
                        </ARCS>
73
                    </NODE>
74
           </WORKFLOW>
75
           <DESTROY_WORKFLOW_TEMPLATE id="23ef4bb3-2383-45b4-9661-ab03472fcd52_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ==">
76
               <PARAMETERS/>
77
           </DESTROY_WORKFLOW_TEMPLATE></CONFIGURATION>
78
        <NOTIFICATIONS/>
79
        
80
        <SCHEDULING enabled="false">
81
            <CRON>9 9 9 ? * *</CRON>
82
            <MININTERVAL>10080</MININTERVAL>
83
        </SCHEDULING>
84
        <STATUS/>
85
    </BODY>
86
</RESOURCE_PROFILE>
(2-2/3)