Revision 52478
Added by Alessia Bardi almost 5 years ago
solr_publish_template.xml | ||
---|---|---|
18 | 18 |
<PARAM name="interpretation" description="Interpretation of the MDFormat" required="true" type="string"/> |
19 | 19 |
</PARAMETERS> |
20 | 20 |
<WORKFLOW> |
21 |
<NODE name="readFromVirtuoso" type="ReadVirtuosoByTypes" isStart="true">
|
|
21 |
<NODE name="readSoftwareFromVirtuoso" type="ReadVirtuosoByType" isStart="true">
|
|
22 | 22 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
23 | 23 |
<PARAMETERS> |
24 | 24 |
<PARAM name="datasourceName" ref="dsName"/> |
25 | 25 |
<PARAM name="datasourceInterface" ref="interface"/> |
26 | 26 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
27 |
<PARAM name="typeNamespace" value="http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/"/> |
|
28 |
<PARAM name="typeName" value="D14_Software"/> |
|
27 | 29 |
</PARAMETERS> |
28 | 30 |
<ARCS> |
29 |
<ARC to="index"/> |
|
31 |
<ARC to="indexSoftware"/>
|
|
30 | 32 |
</ARCS> |
31 | 33 |
</NODE> |
32 |
<NODE name="index" type="UpdateIndex"> |
|
34 |
<NODE name="indexSoftware" type="UpdateIndex">
|
|
33 | 35 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
34 | 36 |
<PARAMETERS> |
35 | 37 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
... | ... | |
40 | 42 |
<PARAM name="feedingType" ref="feedingType"/> |
41 | 43 |
</PARAMETERS> |
42 | 44 |
<ARCS> |
45 |
<ARC to="readActorsFromVirtuoso"/> |
|
46 |
</ARCS> |
|
47 |
</NODE> |
|
48 |
<NODE name="readActorsFromVirtuoso" type="ReadVirtuosoByType"> |
|
49 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
50 |
<PARAMETERS> |
|
51 |
<PARAM name="datasourceName" ref="dsName"/> |
|
52 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
53 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
54 |
<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/> |
|
55 |
<PARAM name="typeName" value="E39_Actor"/> |
|
56 |
</PARAMETERS> |
|
57 |
<ARCS> |
|
58 |
<ARC to="indexActors"/> |
|
59 |
</ARCS> |
|
60 |
</NODE> |
|
61 |
<NODE name="indexActors" type="UpdateIndex"> |
|
62 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
63 |
<PARAMETERS> |
|
64 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
65 |
<PARAM name="indexId" ref="indexId"/> |
|
66 |
<PARAM name="format" value="CIDOC"/> |
|
67 |
<PARAM name="interpretation" ref="interpretation"/> |
|
68 |
<PARAM name="layout" value="index"/> |
|
69 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
70 |
</PARAMETERS> |
|
71 |
<ARCS> |
|
72 |
<ARC to="readCollectionsFromVirtuoso"/> |
|
73 |
</ARCS> |
|
74 |
</NODE> |
|
75 |
<NODE name="readCollectionsFromVirtuoso" type="ReadVirtuosoByType"> |
|
76 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
77 |
<PARAMETERS> |
|
78 |
<PARAM name="datasourceName" ref="dsName"/> |
|
79 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
80 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
81 |
<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/> |
|
82 |
<PARAM name="typeName" value="E78_Collection"/> |
|
83 |
</PARAMETERS> |
|
84 |
<ARCS> |
|
85 |
<ARC to="indexCollections"/> |
|
86 |
</ARCS> |
|
87 |
</NODE> |
|
88 |
<NODE name="indexCollections" type="UpdateIndex"> |
|
89 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
90 |
<PARAMETERS> |
|
91 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
92 |
<PARAM name="indexId" ref="indexId"/> |
|
93 |
<PARAM name="format" value="CIDOC"/> |
|
94 |
<PARAM name="interpretation" ref="interpretation"/> |
|
95 |
<PARAM name="layout" value="index"/> |
|
96 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
97 |
</PARAMETERS> |
|
98 |
<ARCS> |
|
99 |
<ARC to="readServicesFromVirtuoso"/> |
|
100 |
</ARCS> |
|
101 |
</NODE> |
|
102 |
<NODE name="readServicesFromVirtuoso" type="ReadVirtuosoByType"> |
|
103 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
104 |
<PARAMETERS> |
|
105 |
<PARAM name="datasourceName" ref="dsName"/> |
|
106 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
107 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
108 |
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/> |
|
109 |
<PARAM name="typeName" value="PE1_Service"/> |
|
110 |
</PARAMETERS> |
|
111 |
<ARCS> |
|
112 |
<ARC to="indexServices"/> |
|
113 |
</ARCS> |
|
114 |
</NODE> |
|
115 |
<NODE name="indexServices" type="UpdateIndex"> |
|
116 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
117 |
<PARAMETERS> |
|
118 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
119 |
<PARAM name="indexId" ref="indexId"/> |
|
120 |
<PARAM name="format" value="CIDOC"/> |
|
121 |
<PARAM name="interpretation" ref="interpretation"/> |
|
122 |
<PARAM name="layout" value="index"/> |
|
123 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
124 |
</PARAMETERS> |
|
125 |
<ARCS> |
|
126 |
<ARC to="readDatasetsFromVirtuoso"/> |
|
127 |
</ARCS> |
|
128 |
</NODE> |
|
129 |
<NODE name="readDatasetsFromVirtuoso" type="ReadVirtuosoByType"> |
|
130 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
131 |
<PARAMETERS> |
|
132 |
<PARAM name="datasourceName" ref="dsName"/> |
|
133 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
134 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
135 |
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/> |
|
136 |
<PARAM name="typeName" value="PE18_Dataset"/> |
|
137 |
</PARAMETERS> |
|
138 |
<ARCS> |
|
139 |
<ARC to="indexDatasets"/> |
|
140 |
</ARCS> |
|
141 |
</NODE> |
|
142 |
<NODE name="indexDatasets" type="UpdateIndex"> |
|
143 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
144 |
<PARAMETERS> |
|
145 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
146 |
<PARAM name="indexId" ref="indexId"/> |
|
147 |
<PARAM name="format" value="CIDOC"/> |
|
148 |
<PARAM name="interpretation" ref="interpretation"/> |
|
149 |
<PARAM name="layout" value="index"/> |
|
150 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
151 |
</PARAMETERS> |
|
152 |
<ARCS> |
|
153 |
<ARC to="readCurationPlans"/> |
|
154 |
</ARCS> |
|
155 |
</NODE> |
|
156 |
<NODE name="readCurationPlans" type="ReadVirtuosoByType"> |
|
157 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
158 |
<PARAMETERS> |
|
159 |
<PARAM name="datasourceName" ref="dsName"/> |
|
160 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
161 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
162 |
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/> |
|
163 |
<PARAM name="typeName" value="PE28_Curation_Plan"/> |
|
164 |
</PARAMETERS> |
|
165 |
<ARCS> |
|
166 |
<ARC to="indexCurationPlans"/> |
|
167 |
</ARCS> |
|
168 |
</NODE> |
|
169 |
<NODE name="indexCurationPlans" type="UpdateIndex"> |
|
170 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
171 |
<PARAMETERS> |
|
172 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
173 |
<PARAM name="indexId" ref="indexId"/> |
|
174 |
<PARAM name="format" value="CIDOC"/> |
|
175 |
<PARAM name="interpretation" ref="interpretation"/> |
|
176 |
<PARAM name="layout" value="index"/> |
|
177 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
178 |
</PARAMETERS> |
|
179 |
<ARCS> |
|
180 |
<ARC to="readProjects"/> |
|
181 |
</ARCS> |
|
182 |
</NODE> |
|
183 |
<NODE name="readProjects" type="ReadVirtuosoByType"> |
|
184 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
185 |
<PARAMETERS> |
|
186 |
<PARAM name="datasourceName" ref="dsName"/> |
|
187 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
188 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
189 |
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/> |
|
190 |
<PARAM name="typeName" value="PE35_Project"/> |
|
191 |
</PARAMETERS> |
|
192 |
<ARCS> |
|
193 |
<ARC to="indexProjects"/> |
|
194 |
</ARCS> |
|
195 |
</NODE> |
|
196 |
<NODE name="indexProjects" type="UpdateIndex"> |
|
197 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
198 |
<PARAMETERS> |
|
199 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
200 |
<PARAM name="indexId" ref="indexId"/> |
|
201 |
<PARAM name="format" value="CIDOC"/> |
|
202 |
<PARAM name="interpretation" ref="interpretation"/> |
|
203 |
<PARAM name="layout" value="index"/> |
|
204 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
205 |
</PARAMETERS> |
|
206 |
<ARCS> |
|
43 | 207 |
<ARC to="success"/> |
44 | 208 |
</ARCS> |
45 | 209 |
</NODE> |
Also available in: Unified diff
Revised publishign workflows for the index, as it seems we are having troubles when the resultset is created from Iterables.concat