Project

General

Profile

« Previous | Next » 

Revision 46403

Workflow for updating the solr schema according to the current version of a given MDFormat

View differences:

modules/dnet-data-provision-services/branches/saxonHE/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/refreshSchemaWf.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="03d0b050-e9a7-4f40-882d-3025a81af1d9_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
5
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2017-03-20T18:13:51.0Z"/>
9
	</HEADER>
10
	<BODY>
11
		<WORKFLOW_NAME menuSection="InfoSpace Consistency">Refresh the schema of the Index</WORKFLOW_NAME>
12
		<WORKFLOW_DESCRIPTION>Refresh the schema of the Index</WORKFLOW_DESCRIPTION>
13
		<WORKFLOW_INFO/>
14
		<WORKFLOW_FAMILY>Indexing</WORKFLOW_FAMILY>
15
		<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
16
		<CONFIGURATION status="EXECUTABLE" start="MANUAL">
17
			<PARAMETERS>
18
				<PARAM name="format" description="Index metadata format" required="true" type="string" managedBy="user">theFormat</PARAM>
19
				<PARAM name="layout" description="Index metadata layout" required="true" type="string" managedBy="user">index</PARAM>
20
				<PARAM name="interpretation" description="Index metadata interpretation" required="true" type="string" managedBy="user">cleaned</PARAM>
21
			</PARAMETERS>
22
			<WORKFLOW>
23
				<NODE isStart="true" name="RefreshSchema" type="RefreshSchema">
24
					<DESCRIPTION>Refresh the Solr index schema</DESCRIPTION>
25
					<PARAMETERS>
26
						<PARAM name="format" ref="format"/>
27
						<PARAM name="layout" ref="layout"/>
28
						<PARAM name="interpretation" ref="interpretation"/>
29
					</PARAMETERS>
30
					<ARCS>
31
						<ARC to="success"/>
32
					</ARCS>
33
				</NODE>
34
			</WORKFLOW>
35
		</CONFIGURATION>
36
		<NOTIFICATIONS/>
37
		<SCHEDULING enabled="false">
38
			<CRON>29 5 22 ? * *</CRON>
39
			<MININTERVAL>10080</MININTERVAL>
40
		</SCHEDULING>
41

  
42
		<STATUS/>
43
	</BODY>
44
</RESOURCE_PROFILE>

Also available in: Unified diff