Project

General

Profile

1
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo">
2
	<DESCRIPTION>Set information about current 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="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="PrepareUpdateSQL"/>
19
	</ARCS>
20
</NODE>
21
<NODE name="PrepareUpdateSQL" type="PrepareHostedbyUpdateSQL">
22
	<DESCRIPTION>Generates the update command</DESCRIPTION>
23
    <PARAMETERS>
24
    	<PARAM name="theQueryParamName" type="string" managedBy="system" required="true">hostedByUpdateSQL</PARAM>
25
        <PARAM name="updateSqlTemplatePath" type="string" managedBy="user" required="true"
26
        function="listFiles('/eu/dnetlib/msro/openaireplus/workflows/repo-hi/fillhostedBy','st')">/eu/dnetlib/msro/openaireplus/workflows/repo-hi/fillhostedBy/fillHostedBy.sql.st</PARAM>
27
	</PARAMETERS>
28
    <ARCS>
29
		<ARC to="EXECUTE"/>
30
	</ARCS>
31
</NODE>
32

    
33
<NODE name="EXECUTE" type="ExecuteSqlFromEnv">
34
	<DESCRIPTION>Add new journal to patch entry tables</DESCRIPTION>
35
    <PARAMETERS>
36
    	<PARAM name="dbProperty" type="string" managedBy="system" required="true">dnet.openaire.db.name</PARAM>
37
        <PARAM name="sqlParamName" type="string" managedBy="system" required="true">hostedByUpdateSQL</PARAM>
38
   	</PARAMETERS>
39
    <ARCS>
40
		<ARC to="success"/>
41
	</ARCS>
42
</NODE>
(2-2/2)