Add Validators external urls for both staging and production profiles
This commit is contained in:
parent
f5533e1b95
commit
d40265544d
|
@ -293,6 +293,31 @@
|
|||
<fetchMode>FIRST</fetchMode> <!-- EITHER 'FIRST' OR 'ALL' -->
|
||||
</datasets>
|
||||
|
||||
<validators>
|
||||
<urls>
|
||||
<urlConfig>
|
||||
<key>zenodo</key>
|
||||
<label>Zenodo</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://zenodo.org/api/records/?page={page}&size={pageSize}&q="{like}"</url>
|
||||
<firstPage>1</firstPage>
|
||||
<contenttype>application/json</contenttype>
|
||||
<data>
|
||||
<path>$[*]</path>
|
||||
<fields>
|
||||
<id>'conceptrecid'</id>
|
||||
<name>'conceptdoi'</name>
|
||||
<uri>'doi'</uri>
|
||||
<description>'created'</description>
|
||||
</fields>
|
||||
</data>
|
||||
<paginationpath>$['hits']['total']</paginationpath>
|
||||
</urlConfig>
|
||||
</urls>
|
||||
<fetchMode>FIRST</fetchMode>
|
||||
</validators>
|
||||
|
||||
</externalUrls>
|
||||
|
||||
|
||||
|
|
|
@ -311,6 +311,31 @@
|
|||
<fetchMode>FIRST</fetchMode> <!-- EITHER 'FIRST' OR 'ALL' -->
|
||||
</datasets>
|
||||
|
||||
<validators>
|
||||
<urls>
|
||||
<urlConfig>
|
||||
<key>zenodo</key>
|
||||
<label>Zenodo</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://zenodo.org/api/records/?page={page}&size={pageSize}&q="{like}"</url>
|
||||
<firstPage>1</firstPage>
|
||||
<contenttype>application/json</contenttype>
|
||||
<data>
|
||||
<path>$[*]</path>
|
||||
<fields>
|
||||
<id>'conceptrecid'</id>
|
||||
<name>'conceptdoi'</name>
|
||||
<uri>'doi'</uri>
|
||||
<description>'created'</description>
|
||||
</fields>
|
||||
</data>
|
||||
<paginationpath>$['hits']['total']</paginationpath>
|
||||
</urlConfig>
|
||||
</urls>
|
||||
<fetchMode>FIRST</fetchMode>
|
||||
</validators>
|
||||
|
||||
|
||||
</externalUrls>
|
||||
|
||||
|
|
Loading…
Reference in New Issue