1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<RESOURCE_PROFILE>
|
3
|
<HEADER>
|
4
|
<RESOURCE_IDENTIFIER value="f715aea9-1f6c-4d07-bc65-3f0246447802_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
|
5
|
<RESOURCE_TYPE value="WorkflowDSResourceType"/>
|
6
|
<RESOURCE_KIND value="WorkflowDSResources"/>
|
7
|
<RESOURCE_URI value=""/>
|
8
|
<DATE_OF_CREATION value="2018-03-01T17:00:00.0Z"/>
|
9
|
</HEADER>
|
10
|
<BODY>
|
11
|
<WORKFLOW_NAME>PUBLISH ON JRR</WORKFLOW_NAME>
|
12
|
<WORKFLOW_DESCRIPTION>publish on catalogue and resource registry</WORKFLOW_DESCRIPTION>
|
13
|
<WORKFLOW_INFO>
|
14
|
<FIELD name="Action">Publish</FIELD>
|
15
|
<FIELD name="Datasource class">Content Provider</FIELD>
|
16
|
</WORKFLOW_INFO>
|
17
|
<WORKFLOW_FAMILY>REPO_HI</WORKFLOW_FAMILY>
|
18
|
<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY>
|
19
|
<CONFIGURATION status="EXECUTABLE" start="MANUAL">
|
20
|
<PARAMETERS/>
|
21
|
<WORKFLOW>
|
22
|
<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true">
|
23
|
<DESCRIPTION>Verify if DS is pending</DESCRIPTION>
|
24
|
<PARAMETERS>
|
25
|
<PARAM name="expectedInterfaceTypologyPrefixes" value="dnet:repository"/>
|
26
|
</PARAMETERS>
|
27
|
<ARCS>
|
28
|
<ARC to="registerPublishWf"/>
|
29
|
<ARC to="validateDs" name="validateDs"/>
|
30
|
</ARCS>
|
31
|
</NODE>
|
32
|
<NODE name="validateDs" type="ValidateDatasource">
|
33
|
<DESCRIPTION>Validate DS</DESCRIPTION>
|
34
|
<PARAMETERS/>
|
35
|
<ARCS>
|
36
|
<ARC to="registerPublishWf"/>
|
37
|
</ARCS>
|
38
|
</NODE>
|
39
|
<NODE name="registerPublishWf" type="RegisterWorkflowFromTemplate">
|
40
|
<DESCRIPTION>Create Workflow</DESCRIPTION>
|
41
|
<PARAMETERS>
|
42
|
<PARAM name="wfName" value="Publish on JRR"/>
|
43
|
<PARAM name="wfTemplate" value="/eu/dnetlib/parthenos/workflows/repo-hi/JRR_publish_wf.xml.st"/>
|
44
|
<PARAM name="description" value="publish on catalogue and resource registry"/>
|
45
|
</PARAMETERS>
|
46
|
<ARCS>
|
47
|
<ARC to="success"/>
|
48
|
</ARCS>
|
49
|
</NODE>
|
50
|
</WORKFLOW>
|
51
|
</CONFIGURATION>
|
52
|
<NOTIFICATIONS/>
|
53
|
<SCHEDULING enabled="false">
|
54
|
<CRON>9 9 9 ? * *</CRON>
|
55
|
<MININTERVAL>10080</MININTERVAL>
|
56
|
</SCHEDULING>
|
57
|
<STATUS/>
|
58
|
</BODY>
|
59
|
</RESOURCE_PROFILE>
|