-
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.
MLPAB-1554 Add new donor-submission-completed event (#31)
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
domains/POAS/events/donor-submission-completed/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,3 @@ | ||
{ | ||
"uid": "M-1234-5678-9012" | ||
} |
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,23 @@ | ||
--- | ||
name: donor-submission-completed | ||
version: 0.0.1 | ||
summary: | | ||
Announces that the donor has completed their LPA submission | ||
producers: | ||
- opg.poas.sirius | ||
consumers: | ||
- opg.poas.makeregister | ||
owners: | ||
- vega | ||
- mrlpa | ||
--- | ||
|
||
## Details | ||
|
||
When a donor has completed their LPA, it is valid, and they have paid for it, this event is triggered and causes the certificate provider to be notified that they can start their actions. | ||
|
||
<NodeGraph title="Consumer / Producer Diagram" /> | ||
|
||
<EventExamples /> | ||
|
||
<Schema /> |
14 changes: 14 additions & 0 deletions
14
domains/POAS/events/donor-submission-completed/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,14 @@ | ||
{ | ||
"$id": "https://opg.service.justice.gov.uk/opg.poas.sirius/donor-submission-completed.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "opg.poas.sirius/donor-submission-completed", | ||
"type": "object", | ||
"properties": { | ||
"uid": { | ||
"type": "string", | ||
"description": "The UID of the LPA", | ||
"pattern": "M(-[A-Z0-9]{4}){3}" | ||
} | ||
}, | ||
"required": ["uid"] | ||
} |