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

[ESWE-1080] Expression-of-interest API #596

Merged
merged 23 commits into from
Feb 12, 2025

Conversation

gbmojo
Copy link
Contributor

@gbmojo gbmojo commented Jan 24, 2025

No description provided.

@gbmojo gbmojo requested a review from rickchoijd January 24, 2025 07:13
@rickchoijd rickchoijd changed the title ESWE-1080-expression-of-interest-api [ESWE-1080] Expression-of-interest API Jan 24, 2025
Copy link
Contributor

@rickchoijd rickchoijd left a comment

Choose a reason for hiding this comment

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

Please check my comments, and change some of these (esp the compilation errors at unit tests)

rickchoijd
rickchoijd previously approved these changes Jan 24, 2025
@gbmojo gbmojo requested a review from mxco86 January 28, 2025 10:06
1) add back missing queue for local run
2) add back error log (cause)
3) add back missing `eventType` (message attribute)
4) rename queueId
rickchoijd
rickchoijd previously approved these changes Jan 28, 2025
Copy link
Contributor

@rickchoijd rickchoijd left a comment

Choose a reason for hiding this comment

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

Please help revising the eventType in payload/body. Thanks

@rickchoijd
Copy link
Contributor

This will be implementing a new pattern of decoupling incoming request to a message queue, which will be picked up by another HMPPS application (e.g. hmpps-jobs-board-integration in this case).
There will be no domain event emitting at this point (request is to be handled by message consumer (downstream))

TAs have discussed it, and will be adding the pattern into documentation.

- fix type at `eventTypeCoe` (to `eventTypeCode`
- use `eventTypeCode` on message body/payload, instead of enum name
- use `type` on message attribute
- revise relevant tests
rickchoijd
rickchoijd previously approved these changes Feb 10, 2025
@rickchoijd rickchoijd merged commit 6f14af0 into main Feb 12, 2025
11 checks passed
@rickchoijd rickchoijd deleted the ESWE-1080-expression-of-interest-api branch February 12, 2025 10:11
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.

7 participants