-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CCMSPUI-376: Migrate notification summary from SOA-API to EBS-API #119
CCMSPUI-376: Migrate notification summary from SOA-API to EBS-API #119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Might just be personal preference, but I think notifications would sit better under their own controller/service, as those used for User I see as more for user metadata and user management.
data-service/src/main/java/uk/gov/laa/ccms/data/entity/NotificationCount.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 minor comment
…being an inner class, and moved notification logic to NotificationsController and it's own services Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
I agree with this retrospectively. I have made some more changes to go in line with this and to decouple the notification summary stuff away from the User controller/service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
As part of CBP-947, work was done to move the notification summary from SOA to EBS, which resulted in a new view
XXCCMS_NOTIFICATION_COUNT_V
being created to support this.As part of this PR and CCMSPUI-376, a new endpoint has been created which uses the new view.