dnet45dhp-schemasdnet-hadoopdnet40dnet50
[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
Claims Service: get Community claims: Add check if user is manager in communityAPI
Create functions for common code:Authorization: hasBasicAuthorizationClaims Service: getInfoAndBuildClaim that gets jsonObjects and extracts the information needed for "buildAndInsertClaim"
-Rename HelloWorldService to ClaimsService-Remove methods for communites and ISLookUpService imports
HelloWorldService.java: Add 'testEmail' get method to send test email to specific users (Argiro K. & Konstantina G.) for some test community - path: 'test-email'.
HelloWorldService.java: Add 'forceSendEmailNotifications' method to send email notifications now from path 'email-notifications'.
1. HelloWorldService.java: a. replace method 'project/claims', with method 'projects/{projectId}/all_claims' (no token but projectId) b. add method '/users/notification' to get user email preferences from 'notification' table c. add method '/users/notification/save' to insert a new notification entry or update an existing in 'notification' table...
View revisions
Also available in: Atom