Project

General

Profile

« Previous | Next » 

Revision 49614

Provision retry meta-wf

View differences:

modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/test/profiles/openaireplus/workflows/provision/provision.retry.meta.xml
1
<RESOURCE_PROFILE>
2
	<HEADER>
3
		<RESOURCE_IDENTIFIER value="e800e206-9292-4b62-9f6d-76ae6eff1b00_TWV0YVdvcmtmbG93RFNSZXNvdXJjZXMvTWV0YVdvcmtmbG93RFNSZXNvdXJjZVR5cGU="/>
4
		<RESOURCE_TYPE value="MetaWorkflowDSResourceType"/>
5
		<RESOURCE_KIND value="MetaWorkflowDSResources"/>
6
		<RESOURCE_URI value=""/>
7
		<DATE_OF_CREATION value="2017-10-23T08:15:05+00:00"/>
8
	</HEADER>
9
	<BODY>
10
		<METAWORKFLOW_NAME family="OpenAIRE Provision Retry">OpenAIRE Provision Retry</METAWORKFLOW_NAME>
11
		<METAWORKFLOW_DESCRIPTION/>
12
		<METAWORKFLOW_SECTION>InfoSpace Provision</METAWORKFLOW_SECTION>
13
		<ADMIN_EMAIL>alessia.bardi@isti.cnr.it,claudio.atzori@isti.cnr.it,gkatsari@di.uoa.gr</ADMIN_EMAIL>
14
		<CONFIGURATION status="EXECUTABLE">
15
			<WORKFLOW id="50432758-8f8e-4331-a9c6-404daf307114_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl" name="claimRels2hbase"/>
16
			<WORKFLOW id="c956f4fc-3c63-42da-bddf-c8af9f678f69_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl" name="claim2hbase"/>
17
			<WORKFLOW id="41b23ee2-9c94-4f87-a5d2-1860f6bd14f6_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl" name="apply blacklist"/>
18
			<WORKFLOW id="cd91cb0f-cbdc-4a5d-b23c-9d59f505a6a0_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl" name="Promote stats on test portal"/>
19
		</CONFIGURATION>
20
		<SCHEDULING enabled="false">
21
			<CRON>29 5 22 ? * *</CRON>
22
			<MININTERVAL>10080</MININTERVAL>
23
		</SCHEDULING>
24
	</BODY>
25
</RESOURCE_PROFILE>
modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/test/profiles/openaireplus/workflows/provision/stats.promote.test.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="cd91cb0f-cbdc-4a5d-b23c-9d59f505a6a0_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
5
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2017-10-23T12:13:51.0Z"/>
9
	</HEADER>
10
	<BODY>
11
		<WORKFLOW_NAME>Promote stats on test portal</WORKFLOW_NAME>
12
		<WORKFLOW_TYPE>Provision</WORKFLOW_TYPE>
13
		<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
14
		<CONFIGURATION start="manual">
15
			<NODE name="findStatsService" type="FindStatsService" isStart="true">
16
				<DESCRIPTION>find stats service</DESCRIPTION>
17
				<PARAMETERS>
18
					<PARAM name="xquery" type="string" managedBy="user" required="false">/RESOURCE_PROFILE[.//RESOURCE_TYPE/@value='StatsManagerServiceResourceType' and .//RESOURCE_KIND/@value='ServiceResources']/HEADER/RESOURCE_IDENTIFIER/@value/string()</PARAM>
19
					<PARAM name="xqueryForServiceIdParam" type="string" managedBy="system" required="true">xqueryForStatsManagerService</PARAM>
20
				</PARAMETERS>
21
				<ARCS>
22
					<ARC name="found" to="setPortal"/>
23
				</ARCS>
24
			</NODE>
25
			<NODE name="setPortal" type="SetEnvParameter">
26
				<DESCRIPTION>set the target portal instance for pre-public preview</DESCRIPTION>
27
				<PARAMETERS>
28
					<PARAM name="parameterName" type="string" managedBy="system" required="true">portal</PARAM>
29
					<PARAM function="validValues(['test'])" managedBy="user" name="parameterValue" required="false" type="string">test</PARAM>
30
				</PARAMETERS>
31
				<ARCS>
32
					<ARC to="promoteCache"/>
33
				</ARCS>
34
			</NODE>
35
			<NODE name="promoteCache" type="PromoteShadowCacheStats">
36
				<DESCRIPTION>Promote the shadow cache.</DESCRIPTION>
37
				<PARAMETERS>
38
					<PARAM name="xqueryForServiceIdParam" type="string" managedBy="system" required="true">xqueryForStatsManagerService</PARAM>
39
					<PARAM managedBy="system" name="portalParam" required="true" type="string">portal</PARAM>
40
				</PARAMETERS>
41
				<ARCS>
42
					<ARC to="success"/>
43
				</ARCS>
44
			</NODE>
45
		</CONFIGURATION>
46
		<STATUS/>
47
	</BODY>
48
</RESOURCE_PROFILE>
49

  
50

  

Also available in: Unified diff