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="profileId" 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="obtainParams"/>
10
	</ARCS>
11
</NODE>
12
<NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
13
	<DESCRIPTION>Get more datasource info</DESCRIPTION>
14
	<PARAMETERS>
15
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
16
	</PARAMETERS>
17
	<ARCS>
18
		<ARC to="selectValidate"/>
19
	</ARCS>
20
</NODE>
21
<NODE name="selectValidate" type="Selection">
22
	<DESCRIPTION>Do we validate the records?</DESCRIPTION>
23
	<PARAMETERS>
24
		<PARAM function="validValues(['YES', 'NO'])" managedBy="user" name="selection" required="true" type="string">NO</PARAM>
25
	</PARAMETERS>
26
	<ARCS>
27
		<ARC name="YES" to="validate" />
28
		<ARC name="NO" to="success" />
29
	</ARCS>
30
</NODE>
31
<NODE name="validate" type="ValidationAsStep">
32
	<DESCRIPTION>Validate from mdStore</DESCRIPTION>
33
	<PARAMETERS>
34
		<PARAM required="true" type="boolean" name="shouldOutputRecords" managedBy="system">false</PARAM>
35
		<PARAM required="false" type="string" name="outputEprName" managedBy="system">validatorEpr</PARAM>
36
		<PARAM required="true" type="string" name="mdstoreId" managedBy="system" category="MDSTORE_ID">$params.("harv_id")$</PARAM>
37
		<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>	
38
	    <PARAM required="false" type="string" name="recordsSampleSize" managedBy="user">ALL</PARAM>
39
	    <PARAM required="true" type="string" name="guidelines" managedBy="user" function="validValues(['openaire3.0', 'openaire2.0', 'openaire2.0_data', 'driver'])">$params.("dataprovider:interface:compliance")$</PARAM>
40
	    <PARAM required="true" type="boolean" name="shouldUpdateBlacklist" managedBy="user">true</PARAM>
41
		<PARAM required="false" type="string" name="blacklistRuleName" managedBy="user">blacklist_rules</PARAM>
42
		<PARAM required="false" type="int" name="jobStatusUpdateInterval" managedBy="system"/>
43
	    <PARAM required="false" type="string" name="extraParams" managedBy="user"/>  
44
	</PARAMETERS>
45
	<ARCS>
46
		<ARC to="success"/>
47
	</ARCS>
48
</NODE>
(2-2/2)