Class OrcidUserController
java.lang.Object
org.diabetestechnology.drh.service.http.hub.prime.ux.OrcidUserController
-
Constructor Summary
ConstructorsConstructorDescriptionOrcidUserController
(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, org.springframework.web.client.RestTemplate restTemplate) -
Method Summary
Modifier and TypeMethodDescriptionfetchOrganizations
(String query) org.springframework.http.ResponseEntity
<Object> getOrcidUserFormatedInfo
(String orcidId) org.springframework.http.ResponseEntity
<String> getOrcidUserInfo
(String orcidId) org.springframework.http.ResponseEntity
<Object> searchDiscoFeed
(String query)
-
Constructor Details
-
OrcidUserController
public OrcidUserController(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, org.springframework.web.client.RestTemplate restTemplate)
-
-
Method Details
-
getUserInfo
-
getDiscoFeed
@GetMapping("/orcid/institution") @ResponseBody public org.springframework.http.ResponseEntity<Object> getDiscoFeed() -
searchDiscoFeed
-
fetchOrganizations
@GetMapping("/ror/institution/search") @ResponseBody public org.springframework.http.ResponseEntity<List<Map<String,Object>>> fetchOrganizations(@RequestParam String query) throws com.fasterxml.jackson.databind.JsonMappingException, com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.core.JsonProcessingException
-
getOrcidUserInfo
-
getOrcidUserFormatedInfo
-