124 lines
6.2 KiB
XML
124 lines
6.2 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
||
|
<repositories>
|
||
|
<urls>
|
||
|
<!-- <urlConfig>
|
||
|
<key>openaire</key>
|
||
|
<label>OpenAIRE</label>
|
||
|
<ordinal>1</ordinal>
|
||
|
<type>External</type>
|
||
|
<!– <url>https://services.openaire.eu/search/v2/api/datasources?q={like}&fq=datasourcetypeuiname exact "Data Repository"&page={page}&size={pageSize}&format=json</url>–>
|
||
|
<!– Replaced with id field instead of name–>
|
||
|
<url>https://services.openaire.eu/search/v2/api/datasources?q={like}&fq=datasourcetypeuiid exact "datarepository::unknown"&page={page}&size={pageSize}&format=json</url>
|
||
|
<firstPage>0</firstPage>
|
||
|
<contenttype>application/json;charset=UTF-8</contenttype>
|
||
|
<data>
|
||
|
<path>$['results'][*]['result']['metadata']['oaf:entity']['oaf:datasource']</path>
|
||
|
<fields>
|
||
|
<id>'originalId'</id>
|
||
|
<name>'officialname'</name>
|
||
|
<count>'count'</count>
|
||
|
</fields>
|
||
|
</data>
|
||
|
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||
|
</urlConfig>
|
||
|
<urlConfig>
|
||
|
<key>openairealt</key>
|
||
|
<label>OpenAIRE Alternative</label>
|
||
|
<ordinal>1</ordinal>
|
||
|
<type>External</type>
|
||
|
<!– Uncomment to exclude Journals–>
|
||
|
<!– <url>https://services.openaire.eu/search/v2/api/resources?query=oaftype exact datasource and {like} and datasourcetypeuiid <> "pubsrepository::journal" and datasourcetypeuiid <> "aggregator::pubsrepository::journals"&page={page}&size=2&format=json</url>–>
|
||
|
<url>https://services.openaire.eu/search/v2/api/resources?query=oaftype exact datasource and {like}&page={page}&size={pageSize}&format=json</url>
|
||
|
<firstPage>0</firstPage>
|
||
|
<contenttype>application/json;charset=UTF-8</contenttype>
|
||
|
<data>
|
||
|
<path>$['results'][*]['result']['metadata']['oaf:entity']['oaf:datasource']</path>
|
||
|
<fields>
|
||
|
<id>'originalId'</id>
|
||
|
<name>'officialname'</name>
|
||
|
<count>'count'</count>
|
||
|
</fields>
|
||
|
</data>
|
||
|
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||
|
</urlConfig>-->
|
||
|
<urlConfig>
|
||
|
<key>openairealt2</key>
|
||
|
<label>Another OpenAIRE Alternative</label>
|
||
|
<ordinal>1</ordinal>
|
||
|
<type>External</type>
|
||
|
<request>POST</request>
|
||
|
<url>https://services.openaire.eu/openaire/ds/searchdetails/{page}/{pageSize}?requestSortBy=id&order=ASCENDING</url>
|
||
|
<!-- <url>https://services.openaire.eu/openaire/ds/searchregistered/{page}/{pageSize}?requestSortBy=id&order=ASCENDING</url>-->
|
||
|
<firstPage>0</firstPage>
|
||
|
<contenttype>application/json</contenttype>
|
||
|
<requestBody>{"officialname": "{like}", "typology":"data"}</requestBody>
|
||
|
<data>
|
||
|
<path>$['datasourceInfo'][*]</path>
|
||
|
<fields>
|
||
|
<id>'id'</id>
|
||
|
<name>'officialname'</name>
|
||
|
<count>'count'</count>
|
||
|
</fields>
|
||
|
</data>
|
||
|
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||
|
</urlConfig>
|
||
|
<!--<urlConfig>
|
||
|
<key>cristin</key>
|
||
|
<label>Cristin</label>
|
||
|
<ordinal>1</ordinal>
|
||
|
<type>External</type>
|
||
|
<url>https://eestore.paas2.uninett.no/api/datarepo/?search={like}&page={page}&size={pageSize}</url>
|
||
|
<firstPage>1</firstPage>
|
||
|
<contenttype>application/vnd.api+json; charset=utf-8</contenttype>
|
||
|
<data>
|
||
|
<path>$['data'][*]['attributes']</path>
|
||
|
<fields>
|
||
|
<id>'pid'</id>
|
||
|
<name>'name'</name>
|
||
|
<uri>'uri'</uri>
|
||
|
<description>'description'</description>
|
||
|
<source>'source'</source>
|
||
|
</fields>
|
||
|
</data>
|
||
|
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||
|
</urlConfig>-->
|
||
|
<!-- <urlConfig>
|
||
|
<key>openAire</key>
|
||
|
<label>OpenAIRE</label>
|
||
|
<ordinal>1</ordinal>
|
||
|
<type>External</type>
|
||
|
<url>https://eestore.paas2.uninett.no/api/datarepo/?search={like}&page={page}&size={pageSize}</url>
|
||
|
<firstPage>1</firstPage>
|
||
|
<contenttype>application/vnd.api+json; charset=utf-8</contenttype>
|
||
|
<data>
|
||
|
<path>$['data'][*]['attributes']</path>
|
||
|
<fields>
|
||
|
<id>'pid'</id>
|
||
|
<name>'name'</name>
|
||
|
<uri>'uri'</uri>
|
||
|
<description>'description'</description>
|
||
|
</fields>
|
||
|
</data>
|
||
|
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||
|
</urlConfig>-->
|
||
|
<!--<urlConfig>
|
||
|
<key>internal</key>
|
||
|
<label>Internal</label>
|
||
|
<ordinal>1</ordinal>
|
||
|
<type>Internal</type>
|
||
|
<url>web/src/main/resources/mockData/RepositoriesInternalMockUpData.json</url>
|
||
|
<data>
|
||
|
<path>$['data'][*]['attributes']</path>
|
||
|
<fields>
|
||
|
<id>'pid'</id>
|
||
|
<name>'name'</name>
|
||
|
<uri>'uri'</uri>
|
||
|
<description>'description'</description>
|
||
|
</fields>
|
||
|
</data>
|
||
|
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||
|
</urlConfig>-->
|
||
|
</urls>
|
||
|
<fetchMode>FIRST</fetchMode> <!-- EITHER 'FIRST' OR 'ALL' -->
|
||
|
</repositories>
|