Project

General

Profile

« Previous | Next » 

Revision 53125

Updated workflow for JRR publishing

View differences:

modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/publish/jrr_publish_template.xml
16 16
				<PARAM name="publisherEndpoint" description="Parthenos Publisher Endpoint" required="true" type="string"/>
17 17
			</PARAMETERS>
18 18
			<WORKFLOW>
19
				<NODE name="readFromVirtuoso" type="ReadVirtuosoByTypes" isStart="true">
19
				<NODE name="readSoftwareFromVirtuoso" type="ReadVirtuosoByType" isStart="true">
20 20
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
21 21
					<PARAMETERS>
22 22
						<PARAM name="datasourceName" ref="dsName"/>
23 23
						<PARAM name="datasourceInterface" ref="interface"/>
24 24
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
25
						<PARAM name="typeNamespace" value="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"/>
26
						<PARAM name="typeName" value="D14_Software"/>
25 27
					</PARAMETERS>
26 28
					<ARCS>
27
						<ARC to="publishJRR"/>
29
						<ARC to="publishSwJRR"/>
28 30
					</ARCS>
29 31
				</NODE>
30
				<NODE name="publishJRR" type="PublishJRR">
32
				<NODE name="publishSwJRR" type="PublishJRR">
31 33
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
32 34
					<PARAMETERS>
33 35
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
34 36
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
35 37
					</PARAMETERS>
36 38
					<ARCS>
39
						<ARC to="readActorsFromVirtuoso"/>
40
					</ARCS>
41
				</NODE>
42
				<NODE name="readActorsFromVirtuoso" type="ReadVirtuosoByType">
43
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
44
					<PARAMETERS>
45
						<PARAM name="datasourceName" ref="dsName"/>
46
						<PARAM name="datasourceInterface" ref="interface"/>
47
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
48
						<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/>
49
						<PARAM name="typeName" value="E39_Actor"/>
50
					</PARAMETERS>
51
					<ARCS>
52
						<ARC to="publishActorsJRR"/>
53
					</ARCS>
54
				</NODE>
55
				<NODE name="publishActorsJRR" type="PublishJRR">
56
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
57
					<PARAMETERS>
58
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
59
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
60
					</PARAMETERS>
61
					<ARCS>
62
						<ARC to="readCollectionsFromVirtuoso"/>
63
					</ARCS>
64
				</NODE>
65
				<NODE name="readCollectionsFromVirtuoso" type="ReadVirtuosoByType">
66
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
67
					<PARAMETERS>
68
						<PARAM name="datasourceName" ref="dsName"/>
69
						<PARAM name="datasourceInterface" ref="interface"/>
70
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
71
						<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/>
72
						<PARAM name="typeName" value="E78_Collection"/>
73
					</PARAMETERS>
74
					<ARCS>
75
						<ARC to="publishCollJRR"/>
76
					</ARCS>
77
				</NODE>
78
				<NODE name="publishCollJRR" type="PublishJRR">
79
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
80
					<PARAMETERS>
81
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
82
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
83
					</PARAMETERS>
84
					<ARCS>
85
						<ARC to="readServicesFromVirtuoso"/>
86
					</ARCS>
87
				</NODE>
88
				<NODE name="readServicesFromVirtuoso" type="ReadVirtuosoByType">
89
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
90
					<PARAMETERS>
91
						<PARAM name="datasourceName" ref="dsName"/>
92
						<PARAM name="datasourceInterface" ref="interface"/>
93
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
94
						<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
95
						<PARAM name="typeName" value="PE1_Service"/>
96
					</PARAMETERS>
97
					<ARCS>
98
						<ARC to="publishServicesJRR"/>
99
					</ARCS>
100
				</NODE>
101
				<NODE name="publishServicesJRR" type="PublishJRR">
102
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
103
					<PARAMETERS>
104
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
105
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
106
					</PARAMETERS>
107
					<ARCS>
108
						<ARC to="readDatasetsFromVirtuoso"/>
109
					</ARCS>
110
				</NODE>
111
				<NODE name="readDatasetsFromVirtuoso" type="ReadVirtuosoByType">
112
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
113
					<PARAMETERS>
114
						<PARAM name="datasourceName" ref="dsName"/>
115
						<PARAM name="datasourceInterface" ref="interface"/>
116
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
117
						<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
118
						<PARAM name="typeName" value="PE18_Dataset"/>
119
					</PARAMETERS>
120
					<ARCS>
121
						<ARC to="publishDatasetsJRR"/>
122
					</ARCS>
123
				</NODE>
124
				<NODE name="publishDatasetsJRR" type="PublishJRR">
125
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
126
					<PARAMETERS>
127
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
128
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
129
					</PARAMETERS>
130
					<ARCS>
131
						<ARC to="readCurationPlans"/>
132
					</ARCS>
133
				</NODE>
134
				<NODE name="readCurationPlans" type="ReadVirtuosoByType">
135
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
136
					<PARAMETERS>
137
						<PARAM name="datasourceName" ref="dsName"/>
138
						<PARAM name="datasourceInterface" ref="interface"/>
139
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
140
						<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
141
						<PARAM name="typeName" value="PE28_Curation_Plan"/>
142
					</PARAMETERS>
143
					<ARCS>
144
						<ARC to="publishPlansJRR"/>
145
					</ARCS>
146
				</NODE>
147
				<NODE name="publishPlansJRR" type="PublishJRR">
148
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
149
					<PARAMETERS>
150
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
151
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
152
					</PARAMETERS>
153
					<ARCS>
154
						<ARC to="readProjects"/>
155
					</ARCS>
156
				</NODE>
157
				<NODE name="readProjects" type="ReadVirtuosoByType">
158
					<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION>
159
					<PARAMETERS>
160
						<PARAM name="datasourceName" ref="dsName"/>
161
						<PARAM name="datasourceInterface" ref="interface"/>
162
						<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/>
163
						<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/>
164
						<PARAM name="typeName" value="PE35_Project"/>
165
					</PARAMETERS>
166
					<ARCS>
167
						<ARC to="publishProjectsJRR"/>
168
					</ARCS>
169
				</NODE>
170
				<NODE name="publishProjectsJRR" type="PublishJRR">
171
					<DESCRIPTION>Feed records into the JRR (registry and catalogue)</DESCRIPTION>
172
					<PARAMETERS>
173
						<PARAM name="inputEprParam" value="virtuoso_rs"/>
174
						<PARAM name="publisherEndpoint" ref="publisherEndpoint"/>
175
					</PARAMETERS>
176
					<ARCS>
37 177
						<ARC to="success"/>
38 178
					</ARCS>
39 179
				</NODE>

Also available in: Unified diff