Skip to content
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-529: Updated view and repository for Notification search #145

Conversation

JamieBriggs-MoJ
Copy link
Contributor

The initial view for searching notifications also pulled back notes, documents etc. This PR updates the Notification Entity to use the new view created which does not include all of this additional bloat information.

Also included in this PR is the transition from using JPA repositories to use EntityManager for more optimised search results.

Also included in this PR is the tweaking of some filters to ignore case.

Jamie Briggs added 5 commits January 30, 2025 14:37
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
… for notification search

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>
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
@JamieBriggs-MoJ JamieBriggs-MoJ self-assigned this Feb 3, 2025
@JamieBriggs-MoJ
Copy link
Contributor Author

JamieBriggs-MoJ commented Feb 3, 2025

This PR will effect the view notification functionality due to now missing the attachments and notes from the notification search. This PR should not be merged until get notification has been implemented CCMSPUI-553, CCMSPUI-530 to avoid breaking the view notification portion of PUI UI.

Jamie Briggs added 5 commits February 3, 2025 16:17
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
…itional_notification_search_filters

# Conflicts:
#	data-service/src/main/java/uk/gov/laa/ccms/data/repository/specification/NotificationSpecification.java
… use Oracle-Free instead of embedded H2 DB

Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
Copy link
Contributor

@farrell-m farrell-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Mapping(target = "assignDate", source = "dateAssigned")
@Mapping(target = "providerCaseReferenceNumber", source = "providerCaseReference")
@Mapping(target = "caseReferenceNumber", source = "lscCaseRefReference")
@Mapping(target = "notificationType", source = "actionNotificationInd")
@Mapping(target = "notificationOpenIndicator", source = "isOpen")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@farrell-m This annotation was missing from the initial implementation, so it should map the open indicator now.

@JamieBriggs-MoJ
Copy link
Contributor Author

Closing PR as changes are included as part of #147.

@JamieBriggs-MoJ JamieBriggs-MoJ deleted the story/ccmspui-529_additional_notification_search_filters branch February 11, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants