-
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.
Merge pull request #27 from ministryofjustice/vega-2332-add-lpa-updat…
…ed-event VEGA-2332 - Add lpastore service and lpa-updated event
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
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", | ||
"changeType": "CREATED" | ||
} |
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,24 @@ | ||
--- | ||
name: lpa-updated | ||
version: 0.0.1 | ||
summary: | | ||
Announces creation of or updates to an LPA | ||
producers: | ||
- opg.poas.lpastore | ||
consumers: | ||
- opg.poas.sirius | ||
owners: | ||
- vega | ||
--- | ||
|
||
## Details | ||
|
||
When an LPA is created or updated, this event is triggered. | ||
|
||
Sirius uses the event to update the LPA record and status, providing OPG staff with the latest data to provide application support. | ||
|
||
<NodeGraph title="Consumer / Producer Diagram" /> | ||
|
||
<EventExamples /> | ||
|
||
<Schema /> |
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,18 @@ | ||
{ | ||
"$id": "https://opg.service.justice.gov.uk/opg.poas.lpastore/lpa-updated.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "opg.poas.lpastore/lpa-updated", | ||
"type": "object", | ||
"properties": { | ||
"uid": { | ||
"type": "string", | ||
"description": "The UID of the LPA", | ||
"pattern": "M(-[A-Z0-9]{4}){3}" | ||
}, | ||
"changeType": { | ||
"type": "string", | ||
"description": "The type of change to the LPA" | ||
} | ||
}, | ||
"required": ["uid", "changeType"] | ||
} |
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,13 @@ | ||
--- | ||
name: opg.poas.lpastore | ||
summary: | | ||
LPA Store | ||
owners: | ||
- vega | ||
repository: | ||
language: Go | ||
url: https://github.com/ministryofjustice/opg-data-lpa-store | ||
--- | ||
|
||
The LPA Store holds all LPAs created through the modernising lasting power of attorneys process. | ||
<NodeGraph /> |