Class OrcidUserController

java.lang.Object
org.diabetestechnology.drh.service.http.hub.prime.ux.OrcidUserController

@Controller public class OrcidUserController extends Object
  • Constructor Details

    • OrcidUserController

      public OrcidUserController(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder, org.springframework.web.client.RestTemplate restTemplate)
  • Method Details

    • getUserInfo

      @GetMapping("/orcid/user-info") @ResponseBody public Response getUserInfo()
    • getDiscoFeed

      @GetMapping("/orcid/institution") @ResponseBody public org.springframework.http.ResponseEntity<Object> getDiscoFeed()
    • searchDiscoFeed

      @GetMapping("/orcid/institution/search") @ResponseBody public org.springframework.http.ResponseEntity<Object> searchDiscoFeed(@RequestParam("query") String query)
    • 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

      @GetMapping("/orcid/{orcidId}") @ResponseBody public org.springframework.http.ResponseEntity<String> getOrcidUserInfo(@PathVariable String orcidId)
    • getOrcidUserFormatedInfo

      @GetMapping("/orcid/user-details/{orcidId}") @ResponseBody public Response getOrcidUserFormatedInfo(@PathVariable String orcidId)