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
            </PARAMETERS>
27
            <WORKFLOW>
28
                	<NODE name="deleteIndex" type="DeleteIndex" isStart="true">
29
                		<DESCRIPTION>Delete the index</DESCRIPTION>
30
                		<PARAMETERS>
31
                			<PARAM name="indexId" ref="indexId"/>
32
                		</PARAMETERS>
33
                		<ARCS>
34
                			<ARC to="success"/>
35
                		</ARCS>
36
                	</NODE>
37
                	<NODE name="dropOAI" type="OAIDropStore" isStart="true">
38
                		<DESCRIPTION>Delete from oai</DESCRIPTION>
39
                		<PARAMETERS>
40
                			<PARAM name="oaiDbName" ref="OAIDBName"/>
41
                			<PARAM name="oaiFormat" ref="OAIFormat"/>
42
                			<PARAM name="oaiLayout" ref="OAILayout"/>
43
                			<PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
44
                			<PARAM name="setSpec" ref="dsName" />
45
                		</PARAMETERS>
46
                		<ARCS>
47
                			<ARC to="updateSetsCount"/>
48
                		</ARCS>
49
                	</NODE>
50
                	<NODE name="updateSetsCount" type="OAISetsCountUpdate">
51
                		<DESCRIPTION>Update the OAI sets count</DESCRIPTION>
52
                		<PARAMETERS>
53
                            <PARAM name="oaiDbName" ref="OAIDBName"/>
54
                            <PARAM name="oaiFormat" ref="OAIFormat"/>
55
                            <PARAM name="oaiLayout" ref="OAILayout"/>
56
                            <PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
57
                            <PARAM name="configuredOnly" value="true"/>
58
                		</PARAMETERS>
59
                		<ARCS>
60
                			<ARC to="success"/>
61
                		</ARCS>
62
                	</NODE>
63
                	<NODE name="DropFromVirtuoso" type="DropFromVirtuoso" isStart="true">
64
                    	<DESCRIPTION>Drop from Virtuoso</DESCRIPTION>
65
                    	<PARAMETERS>
66
                           <PARAM name="interface" value="$interface$" />
67
                        </PARAMETERS>
68
                        <ARCS>
69
                            <ARC to="success"/>
70
                        </ARCS>
71
                    </NODE>
72

    
73
            </WORKFLOW>
74
           <DESTROY_WORKFLOW_TEMPLATE id="23ef4bb3-2383-45b4-9661-ab03472fcd52_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ==">
75
               <PARAMETERS/>
76
           </DESTROY_WORKFLOW_TEMPLATE></CONFIGURATION>
77
        <NOTIFICATIONS/>
78
        
79
        <SCHEDULING enabled="false">
80
            <CRON>9 9 9 ? * *</CRON>
81
            <MININTERVAL>10080</MININTERVAL>
82
        </SCHEDULING>
83
        <STATUS/>
84
    </BODY>
85
</RESOURCE_PROFILE>
(2-2/3)