Skip to content

Commit

Permalink
VEGA-2454 : New event added for priority correspondence sent (#78)
Browse files Browse the repository at this point in the history
* VEGA-2454 : New event added for priority correspondence sent

* VEGA-2454 : Updated the effect text & producer/consumer
  • Loading branch information
ndasmoj authored Sep 4, 2024
1 parent 03075f7 commit a8d7422
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
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"
}
31 changes: 31 additions & 0 deletions domains/POAS/events/priority-correspondence-sent/index.md
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 domains/POAS/events/priority-correspondence-sent/schema.json
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"]
}

0 comments on commit a8d7422

Please sign in to comment.