AriadnePlus/dnet-ariadneplus/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/templates/index_template.xml

49 lines
1.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<RESOURCE_PROFILE>
<HEADER>
<RESOURCE_IDENTIFIER value="23e81407-da05-46a6-a11e-928f92432922_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
<RESOURCE_URI value=""/>
<DATE_OF_CREATION value="2017-01-17T17:00:00.0Z"/>
</HEADER>
<BODY>
<CONFIGURATION>
<PARAMETERS>
<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
<PARAM name="cleanMdstoreId" description="Store for transformed records" required="true" type="string"/>
<PARAM name="indexId" description="Index Identifier" required="true" type="string"/>
<PARAM name="feedingType" description="Index feeding type" required="true" type="string"/>
<PARAM name="interpretation" description="Interpretation of the MDFormat" required="true" type="string"/>
</PARAMETERS>
<WORKFLOW>
<NODE name="fetchMdStore" type="FetchMDStoreRecords" isStart="true">
<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
<PARAMETERS>
<PARAM name="mdId" ref="cleanMdstoreId"/>
<PARAM name="eprParam" value="clean_epr"/>
</PARAMETERS>
<ARCS>
<ARC to="index"/>
</ARCS>
</NODE>
<NODE name="index" type="UpdateIndex">
<DESCRIPTION>Feed index records</DESCRIPTION>
<PARAMETERS>
<PARAM name="eprParam" value="clean_epr"/>
<PARAM name="indexId" ref="indexId"/>
<PARAM name="format" value="CIDOC"/>
<PARAM name="interpretation" ref="interpretation"/>
<PARAM name="layout" value="index"/>
<PARAM name="feedingType" ref="feedingType"/>
</PARAMETERS>
<ARCS>
<ARC to="success"/>
</ARCS>
</NODE>
</WORKFLOW>
</CONFIGURATION>
</BODY>
</RESOURCE_PROFILE>