Skip to content

Commit e5e128c

Browse files
Merge branch 'main' into HMAI-158-rollback-swagger-dep
2 parents 0df486f + 717ebb7 commit e5e128c

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/main/resources/application-dev.yml

+10
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,13 @@ authorisation:
162162
- "/v1/prison/prisoners/[^/]*$"
163163
- "/v1/prison/prisoners"
164164
filters:
165+
unilink:
166+
include:
167+
- "/v1/prison/prisoners/[^/]*$"
168+
- "/v1/prison/prisoners"
169+
- "/v1/prison/.*/prisoners/[^/]*/balances$"
170+
- "/v1/prison/.*/prisoners/.*/accounts/.*/balances"
171+
- "/v1/prison/.*/prisoners/.*/accounts/.*/transactions"
172+
- "/v1/prison/.*/prisoners/.*/transactions/[^/]*$"
173+
- "/v1/hmpps/id/by-nomis-number/[^/]*$"
174+
filters:

src/test/resources/expected-responses/person-adjudications

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"data": [
33
{
44
"incidentDetails": {
5-
"dateTimeOfIncident": "2021-07-05T10:35:17"
5+
"dateTimeOfIncident": "2010-10-12T10:00:00"
66
},
77
"isYouthOffender": true,
88
"incidentRole": {
@@ -24,7 +24,7 @@
2424
"statusDetails": "string",
2525
"hearings": [
2626
{
27-
"dateTimeOfHearing": "2021-07-05T10:35:17",
27+
"dateTimeOfHearing": "2010-10-12T10:00:00",
2828
"oicHearingType": "GOV_ADULT",
2929
"outcome": {
3030
"code": "COMPLETE",
@@ -37,7 +37,7 @@
3737
"outcomes": [
3838
{
3939
"hearing": {
40-
"dateTimeOfHearing": "2021-07-05T10:35:17",
40+
"dateTimeOfHearing": "2010-10-12T10:00:00",
4141
"oicHearingType": "GOV_ADULT",
4242
"outcome": {
4343
"code": "COMPLETE",
@@ -81,7 +81,7 @@
8181
{
8282
"comment": "string",
8383
"reasonForChange": "APPEAL",
84-
"dateTime": "2021-07-05T10:35:17"
84+
"dateTime": "2019-08-24T14:15:22Z"
8585
}
8686
]
8787
}

0 commit comments

Comments
 (0)