Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
MetricsController.java 3.46 KB 61639 over 2 years Konstantina Galouni [Trunk | Orcid Service]: 1. MetricsController.j...
OrcidServiceCheckDeployController.java 4.53 KB 61775 over 2 years Konstantina Galouni [Trunk | Orcid Service]: 1. pom.xml: Updated ve...
RecordController.java 3.77 KB 60492 about 3 years Konstantina Galouni [Trunk | Orcid Service]: 1. RecordController.ja...
SimpleErrorController.java 4.04 KB 61533 over 2 years Konstantina Galouni [Trunk | Orcid Service]: 1. pom.xml: a...
UserTokensController.java 8.17 KB 60481 about 3 years Konstantina Galouni [Trunk | Orcid Service]: UserTokensController.j...
WorkController.java 22.6 KB 60959 about 3 years Konstantina Galouni [Trunk | Orcid Service]: 1. OrcidServiceCheckDe...

Latest revisions

# Date Author Comment
61775 17/11/2021 11:56 PM Konstantina Galouni

[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....

61639 07/10/2021 03:14 PM Konstantina Galouni

[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".

61533 10/09/2021 09:57 AM Konstantina Galouni

[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: ...

61359 08/07/2021 01:02 PM Konstantina Galouni

[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....

60959 22/04/2021 11:55 AM Konstantina Galouni

[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....

60621 11/03/2021 03:19 AM Konstantina Galouni

[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.

60492 24/02/2021 08:41 PM Konstantina Galouni

[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).

60481 24/02/2021 11:38 AM Konstantina Galouni

[Trunk | Orcid Service]: UserTokensController.java: In "getPersonalDetailsFromOrcid()" method (/orcid/personal-details), when getting error response from ORCID API, throw Exception.

60418 14/02/2021 11:52 PM Konstantina Galouni

[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)....

60369 08/02/2021 10:54 AM Konstantina Galouni

[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"....

View revisions

Also available in: Atom