Fixes various code missteps, moves mock data and readds eestore on external source.
This commit is contained in:
parent
cc2bb9afd2
commit
f5aeb56133
|
@ -88,9 +88,8 @@ public class DMPs extends BaseController {
|
|||
@RequestMapping(method = RequestMethod.GET, value = {"{id}"})
|
||||
public @ResponseBody
|
||||
ResponseEntity getSingle(@PathVariable String id, @RequestHeader("Content-Type") String contentType, Principal principal) throws IllegalAccessException, InstantiationException, IOException {
|
||||
if (contentType.equals("application/xml") || contentType.equals("application/msword")) { //|| contentType.equals("application/pdf")
|
||||
ResponseEntity<byte[]> document = this.dataManagementPlanManager.getDocument(id, contentType);
|
||||
return document;
|
||||
if (contentType.equals("application/xml") || contentType.equals("application/msword")) {
|
||||
return this.dataManagementPlanManager.getDocument(id, contentType);
|
||||
} else {
|
||||
eu.eudat.models.data.dmp.DataManagementPlan dataManagementPlan = this.dataManagementPlanManager.getSingle(id, principal, this.dynamicGrantConfiguration);
|
||||
return ResponseEntity.status(HttpStatus.OK).body(new ResponseItem<DataManagementPlan>().status(ApiMessageCode.NO_MESSAGE).payload(dataManagementPlan));
|
||||
|
|
|
@ -39,18 +39,18 @@ public class DatasetProfileController extends BaseController {
|
|||
this.datasetProfileManager = datasetProfileManager;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
/* @Transactional
|
||||
@RequestMapping(method = RequestMethod.POST, value = {"/datasetprofile/save/{id}"}, consumes = "application/json", produces = "application/json")
|
||||
public ResponseEntity<Object> updateDataset(@PathVariable String id, @RequestBody PropertiesModel properties) {
|
||||
eu.eudat.data.entities.Dataset dataset = this.getApiContext().getOperationsContext().getDatabaseRepository().getDatasetDao().find(UUID.fromString(id));
|
||||
Map<String, Object> values = new HashMap();
|
||||
Map<String, Object> values = new HashMap<>();
|
||||
properties.toMap(values);
|
||||
JSONObject jobject = new JSONObject(values);
|
||||
dataset.setProperties(jobject.toString());
|
||||
dataset.setStatus((short) properties.getStatus());
|
||||
this.getApiContext().getOperationsContext().getDatabaseRepository().getDatasetDao().createOrUpdate(dataset); //TODO
|
||||
return ResponseEntity.status(HttpStatus.OK).body(properties);
|
||||
}
|
||||
}*/
|
||||
|
||||
@Transactional
|
||||
@RequestMapping(method = RequestMethod.POST, value = {"/datasetprofile/clone/{id}"}, consumes = "application/json", produces = "application/json")
|
||||
|
|
|
@ -54,7 +54,6 @@ public class B2AccessCustomProviderImpl implements B2AccessCustomProvider {
|
|||
map.add("redirect_uri", redirectUri);
|
||||
HttpEntity<MultiValueMap<String, String>> request = new HttpEntity<MultiValueMap<String, String>>(map, headers);
|
||||
|
||||
|
||||
Map<String, Object> values = template.postForObject(this.environment.getProperty("b2access.externallogin.access_token_url"), request, Map.class);
|
||||
B2AccessResponseToken b2AccessResponseToken = new B2AccessResponseToken();
|
||||
b2AccessResponseToken.setAccessToken((String) values.get("access_token"));
|
||||
|
|
|
@ -25,40 +25,40 @@
|
|||
</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/metadataschemarepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>RegistriesInternalMockUpData.json</url>-->
|
||||
<!-- <data>-->
|
||||
<!-- <path>$['data'][*]['attributes']</path>-->
|
||||
<!-- <fields>-->
|
||||
<!-- <id>'pid'</id>-->
|
||||
<!-- <label>'name'</label>-->
|
||||
<!-- <uri>'uri'</uri>-->
|
||||
<!-- <description>'description'</description>-->
|
||||
<!-- </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/metadataschemarepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/RegistriesInternalMockUpData.json</url>
|
||||
<data>
|
||||
<path>$['data'][*]['attributes']</path>
|
||||
<fields>
|
||||
<id>'pid'</id>
|
||||
<label>'name'</label>
|
||||
<uri>'uri'</uri>
|
||||
<description>'description'</description>
|
||||
</fields>
|
||||
</data>
|
||||
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||||
</urlConfig>-->
|
||||
</urls>
|
||||
<fetchMode>FIRST</fetchMode> <!-- EITHER 'FIRST' OR 'ALL' -->
|
||||
</registries>
|
||||
|
@ -84,40 +84,40 @@
|
|||
</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/tags/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>TagsInternalMockUpData.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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/tags/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/TagsInternalMockUpData.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' -->
|
||||
</tags>
|
||||
|
@ -127,7 +127,7 @@
|
|||
<urlConfig>
|
||||
<key>cristin</key>
|
||||
<label>Cristin</label>
|
||||
<ordinal>1</ordinal>
|
||||
<ordinal>2</ordinal>
|
||||
<url>https://eestore.paas2.uninett.no/api/projectrepo/?search={like}&page={page}&size={pageSize}</url>
|
||||
<firstPage>1</firstPage>
|
||||
<contenttype>application/vnd.api+json; charset=utf-8</contenttype>
|
||||
|
@ -160,167 +160,161 @@
|
|||
</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/projectrepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <url>GrantInternalMockUpData.json</url>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <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>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/projectrepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<url>mockData/GrantInternalMockUpData.json</url>
|
||||
<type>Internal</type>
|
||||
<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' -->
|
||||
</grants>
|
||||
|
||||
<projects>
|
||||
<urls>
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>cristin</key>-->
|
||||
<!-- <label>Cristin</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>External</type>-->
|
||||
<!-- <url>https://eestore.paas2.uninett.no/api/projectrepo/</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>openAIRE</key>-->
|
||||
<!-- <label>OpenAIRE</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>External</type>-->
|
||||
<!-- <url>https://services.openaire.eu/search/v2/api/resources?query=((oaftype%20exact%20project)%20and%20((projectcode_nt%20exact%20%22*%22)or(*)))&fq=(funder%20exact%20{funderId})&page={page}&size={pageSize}&format=json</url>-->
|
||||
<!-- <firstPage>0</firstPage>-->
|
||||
<!-- <contenttype>application/json; charset=utf-8</contenttype>-->
|
||||
<!-- <data>-->
|
||||
<!-- <path>$['response']['results']['result'][*]['metadata']['oaf:entity']['oaf:project']</path>-->
|
||||
<!-- <fields>-->
|
||||
<!-- <id>'originalId'</id>-->
|
||||
<!-- <name>'title'</name>-->
|
||||
<!-- <count>'count'</count>-->
|
||||
<!-- </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/projectrepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>ProjectInternalMockUpData.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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>cristin</key>
|
||||
<label>Cristin</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/projectrepo/</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>openAIRE</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://services.openaire.eu/search/v2/api/resources?query=((oaftype%20exact%20project)%20and%20((projectcode_nt%20exact%20%22*%22)or(*)))&fq=(funder%20exact%20{funderId})&page={page}&size={pageSize}&format=json</url>
|
||||
<firstPage>0</firstPage>
|
||||
<contenttype>application/json; charset=utf-8</contenttype>
|
||||
<data>
|
||||
<path>$['response']['results']['result'][*]['metadata']['oaf:entity']['oaf:project']</path>
|
||||
<fields>
|
||||
<id>'originalId'</id>
|
||||
<name>'title'</name>
|
||||
<count>'count'</count>
|
||||
</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/projectrepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/ProjectInternalMockUpData.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' -->
|
||||
</projects>
|
||||
|
||||
<funders>
|
||||
<urls>
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>cristin</key>-->
|
||||
<!-- <label>Cristin</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <search>-->
|
||||
<!-- <type>queryParam</type>-->
|
||||
<!-- <queryparam>search</queryparam>-->
|
||||
<!-- </search>-->
|
||||
<!-- <page>-->
|
||||
<!-- <type>queryParam</type>-->
|
||||
<!-- <pageparam>page</pageparam>-->
|
||||
<!-- </page>-->
|
||||
<!-- <type>External</type>-->
|
||||
<!-- <url>https://eestore.paas2.uninett.no/api/projectrepo/</url>-->
|
||||
<!-- <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>openAire</key>-->
|
||||
<!-- <label>OpenAIRE</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>External</type>-->
|
||||
<!-- <url>https://eestore.paas2.uninett.no/api/projectrepo/</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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>cristin</key>
|
||||
<label>Cristin</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/projectrepo/</url>
|
||||
<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>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/projectrepo/</url>
|
||||
<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>servicesOpenAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
|
@ -387,24 +381,24 @@
|
|||
<count>'count'</count>
|
||||
</fields>
|
||||
</data>
|
||||
</urlConfig>
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>FunderInternalMockUpData.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>-->
|
||||
</urlConfig>-->
|
||||
<!-- <urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>FunderInternalMockUpData.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' -->
|
||||
</funders>
|
||||
|
@ -430,40 +424,40 @@
|
|||
</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/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/datarepo/</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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>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>
|
||||
|
@ -490,40 +484,40 @@
|
|||
</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/servicerepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>ServicesInternalMockUpData.json</url>-->
|
||||
<!-- <data>-->
|
||||
<!-- <path>$['data'][*]['attributes']</path>-->
|
||||
<!-- <fields>-->
|
||||
<!-- <id>'pid'</id>-->
|
||||
<!-- <label>'name'</label>-->
|
||||
<!-- <uri>'uri'</uri>-->
|
||||
<!-- <description>'description'</description>-->
|
||||
<!-- </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/servicerepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/ServicesInternalMockUpData.json</url>
|
||||
<data>
|
||||
<path>$['data'][*]['attributes']</path>
|
||||
<fields>
|
||||
<id>'pid'</id>
|
||||
<label>'name'</label>
|
||||
<uri>'uri'</uri>
|
||||
<description>'description'</description>
|
||||
</fields>
|
||||
</data>
|
||||
<paginationpath>$['meta']['pagination']['page','pages','count']</paginationpath>
|
||||
</urlConfig>-->
|
||||
</urls>
|
||||
<fetchMode>FIRST</fetchMode> <!-- EITHER 'FIRST' OR 'ALL' -->
|
||||
</services>
|
||||
|
@ -550,40 +544,40 @@
|
|||
</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/personrepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>ResearcherInternalMockUpData.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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/personrepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/ResearcherInternalMockUpData.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' -->
|
||||
</researchers>
|
||||
|
@ -610,40 +604,40 @@
|
|||
</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/organizationrepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>OrganisationInternalMockUpData.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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/organizationrepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/OrganisationInternalMockUpData.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' -->
|
||||
</organisations>
|
||||
|
@ -669,40 +663,40 @@
|
|||
</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/datasetrepo/</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>-->
|
||||
<!-- <urlConfig>-->
|
||||
<!-- <key>internal</key>-->
|
||||
<!-- <label>Internal</label>-->
|
||||
<!-- <ordinal>1</ordinal>-->
|
||||
<!-- <type>Internal</type>-->
|
||||
<!-- <url>DatasetsInternalMockUpData.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>-->
|
||||
<!-- <urlConfig>
|
||||
<key>openAire</key>
|
||||
<label>OpenAIRE</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>External</type>
|
||||
<url>https://eestore.paas2.uninett.no/api/datasetrepo/</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>
|
||||
<urlConfig>
|
||||
<key>internal</key>
|
||||
<label>Internal</label>
|
||||
<ordinal>1</ordinal>
|
||||
<type>Internal</type>
|
||||
<url>mockData/DatasetsInternalMockUpData.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' -->
|
||||
</datasets>
|
||||
|
|
Loading…
Reference in New Issue