Skip to content

Notification Changes for AMP-167 & 168(sync) and AMP-169#31

Merged
srivanimuddineni merged 21 commits intomainfrom
dev/notification-changes
Feb 4, 2026
Merged

Notification Changes for AMP-167 & 168(sync) and AMP-169#31
srivanimuddineni merged 21 commits intomainfrom
dev/notification-changes

Conversation

@srivanimuddineni
Copy link
Contributor

@srivanimuddineni srivanimuddineni commented Feb 2, 2026

Notification Changes: covers synchronous implementation of AMP-167 & AMP-168, query api implemenation of AMP-169

  1. API implementation for createNotificationPCR and getPcrDocumentByClientSubscription API
  2. Moved Transactional from Controller to Service layer
  3. Incorporated common retry for material and callback with spring boot retry
  4. Added OpenAPI spec generated client for MaterialAPI
  5. Replaced RestTemplate with RestClient in service + API test. Open api generate spec is not having support for RestClient. Hence left RestTemplate for Material API as is for now.(TBD)

@srivanimuddineni srivanimuddineni requested a review from a team as a code owner February 2, 2026 17:33
@samirgarg
Copy link
Contributor

samirgarg commented Feb 3, 2026

@srivanimuddineni can you please squash commits as they are all related to code review incorporation. Ideally a commit history should be a milestone achievement.
See https://github.com/hmcts/api-cp-crime-hearing-case-event-subscription/pull/43/commits
👍 @samirgarg

@samirgarg
Copy link
Contributor

samirgarg commented Feb 3, 2026

Can we please add comment only when the intent is not clear and we deviate from obvious? https://stackoverflow.blog/2021/12/23/best-practices-for-writing-code-comments/
👍 @samirgarg

srivanimuddineni and others added 10 commits February 3, 2026 20:14
* Add mapper tests
* Add service tests ( wip )
* Move callback rest client into client class
* reduce number of uuid and enum conversion to string
* Add mapper tests
* Add service tests ( wip )
* Move callback rest client into client class
* reduce number of uuid and enum conversion to string
* Add mapper tests
* Add service tests ( wip )
* Move callback rest client into client class
* reduce number of uuid and enum conversion to string
@srivanimuddineni srivanimuddineni merged commit 69677f8 into main Feb 4, 2026
12 checks passed
@srivanimuddineni srivanimuddineni deleted the dev/notification-changes branch February 4, 2026 12:30
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.

3 participants