generated from ministryofjustice/template-repository
-
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.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
856d0d0
commit ceb6d26
Showing
6 changed files
with
135 additions
and
31 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
projects/cas3-and-delius/src/dev/resources/messages/person-departed-update.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,18 @@ | ||
{ | ||
"eventType": "accommodation.cas3.person.departed", | ||
"version": 1, | ||
"description": "A cas3 person departed", | ||
"detailUrl": "http://localhost:{wiremock.port}/cas3-api/events/person-departed/12345", | ||
"occurredAt": "2022-12-04T10:42:43+00:00", | ||
"additionalInformation": { | ||
"applicationId": "68df9f6c-3fcb-4ec6-8fcf-96551cd9b080" | ||
}, | ||
"personReference": { | ||
"identifiers": [ | ||
{ | ||
"type": "CRN", | ||
"value": "A000001" | ||
} | ||
] | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ts/cas3-and-delius/src/dev/resources/simulations/__files/cas3-person-departed-update.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,17 @@ | ||
{ | ||
"id": "364145f9-0af8-488e-9901-b4c46cd9ba37", | ||
"timestamp": "2022-12-30T14:53:44", | ||
"eventType": "accommodation.cas3.person-departed ", | ||
"eventDetails": { | ||
"applicationId": "68df9f6c-3fcb-4ec6-8fcf-96551cd9b080", | ||
"applicationUrl": "https://approved-premises-dev.hmpps.service.justice.gov.uk/booking/68df9f6c-3fcb-4ec6-8fcf-96551cd9b080", | ||
"personReference": { | ||
"crn": "A000001", | ||
"noms": "A0001AA" | ||
}, | ||
"bookingId": "14c80733-4b6d-4f35-b724-66955aac320e", | ||
"bookingUrl": "https://approved-premises-dev.hmpps.service.justice.gov.uk/someURLtoTheBooking", | ||
"departedAt": "2022-11-30T12:00:00", | ||
"notes": "Person departed." | ||
} | ||
} |
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
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
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
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