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.
- Loading branch information
Showing
43 changed files
with
743 additions
and
197 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,7 +85,6 @@ class StaffControllerIntegrationTest { | |
assertThat(res.code, equalTo(StaffGenerator.DEFAULT_STAFF.code)) | ||
assertThat(res.email, equalTo("[email protected]")) | ||
assertThat(res.telephoneNumber, equalTo("07321165373")) | ||
assertThat(res.staffIdentifier, equalTo(StaffGenerator.DEFAULT_STAFF.id)) | ||
assertThat(res.teams[0].borough?.code, equalTo(StaffGenerator.DEFAULT_STAFF.teams[0].district.borough.code)) | ||
assertThat( | ||
res.teams[0].borough?.description, | ||
|
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
4 changes: 4 additions & 0 deletions
4
...-platform-and-delius/src/dev/resources/simulations/__files/address-lookup-no-results.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,4 @@ | ||
{ | ||
"header": { "totalresults": 0 }, | ||
"results": [] | ||
} |
41 changes: 41 additions & 0 deletions
41
...atform-and-delius/src/dev/resources/simulations/__files/address-lookup-single-result.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,41 @@ | ||
{ | ||
"header": { | ||
"totalresults": 1 | ||
}, | ||
"results": [ | ||
{ | ||
"DPA": { | ||
"UPRN": 123456789012, | ||
"UDPRN": 12345678, | ||
"ADDRESS": "123 Test Street, Test, AB1 2CD", | ||
"POSTCODE": "AB1 2CD", | ||
"BUILDING_NUMBER": 123, | ||
"THOROUGHFARE_NAME": "Test Street", | ||
"POST_TOWN": "Test", | ||
"RPC": "2", | ||
"X_COORDINATE": 123456.78, | ||
"Y_COORDINATE": 876543.21, | ||
"STATUS": "APPROVED", | ||
"MATCH": 0.9, | ||
"LANGUAGE": "EN", | ||
"COUNTRY_CODE": "E", | ||
"COUNTRY_CODE_DESCRIPTION": "This record is within England", | ||
"LOCAL_CUSTODIAN_CODE": 1760, | ||
"LOCAL_CUSTODIAN_CODE_DESCRIPTION": "Test", | ||
"CLASSIFICATION_CODE": "CO01GV", | ||
"CLASSIFICATION_CODE_DESCRIPTION": "Central Government Service", | ||
"POSTAL_ADDRESS_CODE": "D", | ||
"POSTAL_ADDRESS_CODE_DESCRIPTION": "A record which is linked to PAF", | ||
"LOGICAL_STATUS_CODE": 1, | ||
"BLPU_STATE_CODE": 2, | ||
"BLPU_STATE_CODE_DESCRIPTION": "In use", | ||
"TOPOGRAPHY_LAYER_TOID": "osgb1234567890123456", | ||
"LAST_UPDATE_DATE": "2024-01-01", | ||
"ENTRY_DATE": "2024-01-01", | ||
"DELIVERY_POINT_SUFFIX": "1A", | ||
"PARISH_CODE": "E87654321", | ||
"WARD_CODE": "E12345678" | ||
} | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
...on-platform-and-delius/src/dev/resources/simulations/mappings/address-lookup-mapping.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,13 @@ | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"urlPath": "/address-lookup/search/places/v1/find" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Content-Type": "application/json" | ||
}, | ||
"bodyFileName": "address-lookup-single-result.json" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...-platform-and-delius/src/dev/resources/simulations/mappings/probation-search-mapping.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,13 @@ | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"urlPath": "/probation-search/match" | ||
}, | ||
"response": { | ||
"status": 200, | ||
"headers": { | ||
"Content-Type": "application/json" | ||
}, | ||
"bodyFileName": "probation-search-no-results.json" | ||
} | ||
} |
Oops, something went wrong.