dnet45dhp-schemasdnet-hadoopdnet40dnet50
integrated log4j2 + uoa-global-parent
Clean up code use only the method to get managers without session cookie
parse session cookie for the iscommunitymanager function
[Trunk | Claims API]:1. Authorization.java: Added methods "boolean isPortalAdministrator()" to check if a user is portal admin via his "AccessToken" cookie.2. MetricsService.java: In method "calculateMetrics()" (/report/calc) added @CookieParam("AccessToken") String cookie, in order to allow its execution only by portal administrators.
[Trunk | Claims API]: MetricsService.java: In KPI metrics "claims" KPI renamed to "claims_recorded".
[Trunk | Claims API]: MetricsService.java: Added API call methods to calculate and return metrics for claim KPIs (only /report/metrics is needed for Prometheus).
[Trunk | Claims API]: ClaimsService.java: 1. [Bug fix] Call "this.emailSender.getManagerUtils().isCommunityManager()" instead of "this.emailSender.getCommunityUtils().isCommunityManager()" 2. In method "getUserEmailNotificationPreferences()" (/users/notification) set notification.setOpenaireName with openaireId (we do not query community API anymore and we do not have community name).
Get notifications return 404 if not found 403 if no manager or curator
Do not initialize notifications if nothing found in the db - Return 204
Claim Service:Notifications:- allow save/ get notifications for community curators- add method to compose 200 response- return 403 if user is not among the managers or the curators
View revisions
Also available in: Atom