Project

General

Profile

1
<NODE name="SET_INFO_VALIDATION" isStart="true" type="SetInfoForValidation">
2
	<DESCRIPTION>Retrieve information about current Content Provider</DESCRIPTION>
3
	<PARAMETERS>
4
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
5
		<PARAM required="true" type="string" name="providerName" managedBy="system">$params.("dataprovider:name")$</PARAM>
6
		<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM>
7
	</PARAMETERS>
8
	<ARCS>
9
		<ARC to="selectValidate"/>
10
	</ARCS>
11
</NODE>
12
<NODE name="selectValidate" type="Selection">
13
	<DESCRIPTION>Do we validate the records?</DESCRIPTION>
14
	<PARAMETERS>
15
		<PARAM function="validValues(['YES', 'NO'])" managedBy="user" name="selection" required="true" type="string">YES</PARAM>
16
	</PARAMETERS>
17
	<ARCS>
18
		<ARC name="YES" to="validate" />
19
		<ARC name="NO" to="success" />
20
	</ARCS>
21
</NODE>
22
<NODE name="validate" type="ValidationAsStep">
23
	<DESCRIPTION>Validate from mdStore</DESCRIPTION>
24
	<PARAMETERS>
25
		<PARAM required="true" type="boolean" name="shouldOutputRecords" managedBy="system">false</PARAM>
26
		<PARAM required="true" type="string" name="datasourceIDEnvParam" managedBy="system">dataprovider:id</PARAM>
27
		<PARAM required="false" type="string" name="datasourceNameEnvParam" managedBy="system">dataprovider:name</PARAM>
28
		<PARAM required="true" type="string" name="interfaceIDEnvParam" managedBy="system">dataprovider:interface</PARAM>
29
		<PARAM required="false" type="string" name="outputEprName" managedBy="system">validatorEpr</PARAM>
30
		<PARAM required="true" type="string" name="mdstoreId" managedBy="system" category="MDSTORE_ID">$params.("harv_id")$</PARAM>
31
		<PARAM required="true" type="string" name="xQueryForValidatorServiceId" managedBy="user">/RESOURCE_PROFILE[.//RESOURCE_TYPE/@value='ValidatorServiceResourceType' and .//RESOURCE_KIND/@value='ServiceResources']/HEADER/RESOURCE_IDENTIFIER/@value/string()</PARAM>	
32
	    <PARAM required="false" type="string" name="recordsSampleSize" managedBy="user">ALL</PARAM>
33
	    <PARAM required="true" type="string" name="guidelines" managedBy="user" function="validValues(['openaire3.0', 'openaire2.0', 'openaire2.0_data', 'driver'])">$params.("dataprovider:interface:compliance")$</PARAM>
34
	    <PARAM required="true" type="boolean" name="shouldUpdateBlacklist" managedBy="user">true</PARAM>
35
		<PARAM required="false" type="string" name="blacklistGuidelines" managedBy="user">blacklist_rules</PARAM>
36
		<PARAM required="false" type="int" name="jobStatusUpdateInterval" managedBy="user"/>
37
	    <PARAM required="false" type="string" name="extraParams" managedBy="user"/>  
38
	</PARAMETERS>
39
	<ARCS>
40
		<ARC to="success"/>
41
	</ARCS>
42
</NODE>
(2-2/2)