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
b04023f
commit 894e761
Showing
11 changed files
with
269 additions
and
21 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
projects/cas3-and-delius/src/dev/resources/messages/booking-cancelled-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.booking.cancelled.updated", | ||
"version": 1, | ||
"description": "A cas3 booking has been cancelled", | ||
"detailUrl": "http://localhost:{wiremock.port}/cas3-api/events/booking-cancelled/12345", | ||
"occurredAt": "2022-12-04T10:42:43+00:00", | ||
"additionalInformation": { | ||
"applicationId": "68df9f6c-3fcb-4ec6-8fcf-96551cd9b080" | ||
}, | ||
"personReference": { | ||
"identifiers": [ | ||
{ | ||
"type": "CRN", | ||
"value": "A000001" | ||
} | ||
] | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
projects/cas3-and-delius/src/dev/resources/messages/person-arrived-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.arrived.updated", | ||
"version": 1, | ||
"description": "A cas3 person has arrived", | ||
"detailUrl": "http://localhost:{wiremock.port}/cas3-api/events/person-arrived/12345", | ||
"occurredAt": "2022-12-04T10:42:43+00:00", | ||
"additionalInformation": { | ||
"applicationId": "68df9f6c-3fcb-4ec6-8fcf-96551cd9b080" | ||
}, | ||
"personReference": { | ||
"identifiers": [ | ||
{ | ||
"type": "CRN", | ||
"value": "A000001" | ||
} | ||
] | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
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
17 changes: 17 additions & 0 deletions
17
.../cas3-and-delius/src/dev/resources/simulations/__files/cas3-booking-cancelled-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.booking.cancelled.updated", | ||
"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-66955aac320c", | ||
"bookingUrl": "https://approved-premises-dev.hmpps.service.justice.gov.uk/someURLtoTheBooking", | ||
"cancellationReason": "Not appropriate", | ||
"cancellationContext": "Suitability" | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...cts/cas3-and-delius/src/dev/resources/simulations/__files/cas3-person-arrived-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,24 @@ | ||
{ | ||
"id": "364145f9-0af8-488e-9901-b4c46cd9ba37", | ||
"timestamp": "2022-12-30T14:53:44", | ||
"eventType": "accommodation.cas3.person.arrived.updated", | ||
"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", | ||
"premises": { | ||
"addressLine1": "12 Church Street", | ||
"addressLine2": "", | ||
"postcode": "BB1 1BB", | ||
"town": "Bimbly Town", | ||
"region": "Bibbinghammcshireshire" | ||
}, | ||
"arrivedAt": "2022-11-30T12:00:00", | ||
"notes": "person arrived" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...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
2 changes: 1 addition & 1 deletion
2
projects/cas3-and-delius/src/dev/resources/simulations/__files/cas3-person-departed.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
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
Oops, something went wrong.