-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VEGA-2454 : New event added for priority correspondence sent (#78)
* VEGA-2454 : New event added for priority correspondence sent * VEGA-2454 : Updated the effect text & producer/consumer
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
domains/POAS/events/priority-correspondence-sent/examples/example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"uid": "M-1234-5678-9012", | ||
"sentDate": "2024-01-18T00:00:00.000Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: priority-correspondence-sent | ||
version: 0.0.1 | ||
summary: | | ||
An OPG user has sent a letter to the online donor to inform about a problem which needs attention. | ||
producers: | ||
- opg.poas.sirius | ||
consumers: | ||
- opg.poas.makeregister-proposed | ||
owners: | ||
- vega | ||
- mrlpa | ||
--- | ||
|
||
## Context | ||
|
||
An OPG user has identified that there is a problem with the donor's application and has sent a letter to the donor informing about it. | ||
|
||
## Trigger | ||
|
||
Sirius sends the event when the letter informing about the problem has been successfully sent by GOV.UK Notify. | ||
|
||
## Effect | ||
|
||
The task list in MRLPA will inform the donor that a letter has been sent that needs attention. | ||
|
||
<NodeGraph title="Consumer / Producer Diagram" /> | ||
|
||
<EventExamples /> | ||
|
||
<Schema /> |
19 changes: 19 additions & 0 deletions
19
domains/POAS/events/priority-correspondence-sent/schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$id": "https://opg.service.justice.gov.uk/opg.poas.sirius/priority-correspondence-sent.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "opg.poas.sirius/priority-correspondence-sent", | ||
"type": "object", | ||
"properties": { | ||
"uid": { | ||
"type": "string", | ||
"description": "The UID of the LPA", | ||
"pattern": "^M(-[A-Z0-9]{4}){3}$" | ||
}, | ||
"sentDate": { | ||
"type": "string", | ||
"description": "The date when the priority correspondence around a problem was sent to the user", | ||
"format": "date-time" | ||
} | ||
}, | ||
"required": ["uid", "sentDate"] | ||
} |