[Trunk | Orcid Service]:1. OrcidServiceCheckDeployController.java: [NEW] Controller added and a. "hello()" method (@RequestMapping(value = {"", "/health_check"}, method = RequestMethod.GET)) which just prints and returns a greeting message. b. "checkEverything()" method @RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET) only accessible by PORTAL ADMINS which checks connection with db and prints properties....
[Trunk | Orcid Service]: 1, WorkController.java: In method "updateWork()" (/orcid/work/update/{putCode}), if ORCID does not return HttpStatus.OK, return AuthorizationServiceException (for HttpStatus.UNAUTHORIZED), ConflictException (for HttpStatus.CONFLICT) or Exception instead of null.
[Trunk | Orcid Service]:1. RecordController.java: Comment file RecordController.java, since it is not used by portal (to be deleted).2. WorkController.java: Use "apiUrl" property for requests to ORCID API (not string set in the code).
[Trunk | Orcid Service]: UserTokensController.java: In "getPersonalDetailsFromOrcid()" method (/orcid/personal-details), when getting error response from ORCID API, throw Exception.
[Trunk | Orcid Service]:1. pom.xml: Change version from 2.0.0 to 1.0.0 (not yet released and was set to 2.0.0 as a false copy-paste).2. UserTokensController.java & WorkController.java: Added @PreAuthorize("isAuthenticated()") in class (some methods were missing that)....
[Trunk | Orcid Service]: OrcidConfig.java: Missing configuration file from previous commit.
[Trunk | Orcid Service]:1. orcidservice.properties: Added properties "apiURL", "tokenURL", "clientId", "clientSecret" for ORCID API.2. log4j.properties: Added configuration for ORCID log file "uoa-orcid-service-orcid.log".3. UoaOrcidServiceApplication.java: Added "OrcidConfig.class" in "@EnableConfigurationProperties"....
[Trunk | Orcid Service]: Initial commit in trunk folder. The API is already partially implemented and running (configuration, controllers, services, DAOs, entities, handlers, responses, properties).
Adding the trunk and branches folders for the project.
Creating a folder for the service of orcid search and link wizard integration to the portals