[Trunk | Orcid Service]: WorkController.java & ExceptionsHandler.java: Added "contentNotFoundException" handler.
[Trunk | Orcid Service]: pom.xml: Updated uoa-authorization-library dependency to 2.1.0.
[Trunk | Orcid Service]: pom.xml: Updated to 1.0.1-SNAPSHOT current version and to 2.0.3 uoa-authorization-library.
[Trunk | Orcid Service]:1. pom.xml: Updated version of "uoa-authorization-library" from 1.0.0 to 2.0.1.2. GlobalVars.java: Added field "version" (version of project in pom).3. OrcidServiceCheckDeployController.java: Expose globalBars.version in /health_check/advanced....
[Trunk | Orcid Service]: pom.xml: Added repository "dnet45-releases" to be able to find authorization-library (released on http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases/eu/dnetlib/)
[Trunk | Orcid Service]:1. MetricsController.java: Added @PreAuthorize in "calculateMetrics()" (/report/calc) method, to be executed only by Portal Administrators.2. pom.xml: Revert from r61634 changes for parent and plugins: now from "dnet45-parent" to "spring-boot-starter-parent".
[Trunk | Orcid Service]: pom.xml: a. Update parent from "spring-boot-starter-parent" to "dnet45-parent" ==> add <dependencyManagement> and "maven-war-plugin" and comment "spring-boot-maven-plugin". b. For dependency "uoa-authorization-library", use version 1.0.0 (released version), not 1.0.0-SNAPSHOT.
[Trunk | Orcid Service]: MetricsService.java: Run "calculateMetrics()" method once a day at midnight.
[Trunk | Orcid Service]: MetricsService.java: a. Do not save in DB previous metrics (only current) | b. If one metric query does not respond correctly, do not update metrics.
[Trunk | Orcid Service]:1. pom.xml: a. Added timestamp in properties. b. In <build> added <resources> with filtering set to true.2. GlobalVars.java: Added GlobalVars class for date of deploy & date of build.3. UoaOrcidServiceApplication.java: ...
[Trunk | Orcid Service]:1. pom.xml: Upgrade version of spring boot from 1.5.8.RELEASE to 1.5.11.RELEASE (for custom queries in DB).2. dao/MongoDBDAOs: Deleted folder MongoDBDAOs and moved its files (MongoDBUserTokensDAO.java, MongoDBWorkDAO.java) to parent (/dao) folder....
[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