File tree 7 files changed +25
-25
lines changed
test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/smoke
7 files changed +25
-25
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ authorisation:
28
28
consumers :
29
29
mapps.client.org :
30
30
- " /v1/persons"
31
- - " /v1/persons/\\ .*+ [^/]*$"
31
+ - " /v1/persons/[^/]*$"
32
32
- " /v1/persons/.*/images"
33
33
- " /v1/images/.*"
34
34
- " /v1/persons/.*/addresses"
@@ -49,19 +49,19 @@ authorisation:
49
49
- " /v1/persons/.*/person-responsible-officer"
50
50
- " /v1/persons/.*/risk-management-plan"
51
51
ctrlo :
52
- - " /v1/epf/person-details/.*/\\ .*+ [^/]*$"
52
+ - " /v1/epf/person-details/.*/[^/]*$"
53
53
moj-pes :
54
54
- " /v1/persons/.*/name"
55
- - " /v1/hmpps-id/nomis-number/\\ .*+ [^/]*$"
55
+ - " /v1/hmpps-id/nomis-number/[^/]*$"
56
56
- " /v1/persons/.*/cell-location"
57
57
kubernetes-health-check-client :
58
58
- " /health/liveness"
59
59
- " /health/readiness"
60
60
heartbeat :
61
- - " /v1/persons/\\ .*+ [^/]*$"
61
+ - " /v1/persons/[^/]*$"
62
62
pnd :
63
63
- " /v1/persons"
64
- - " /v1/persons/\\ .*+ [^/]*$"
64
+ - " /v1/persons/[^/]*$"
65
65
- " /v1/persons/.*/addresses"
66
66
- " /v1/persons/.*/alerts/pnd"
67
67
- " /v1/persons/.*/sentences"
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ authorisation:
26
26
consumers :
27
27
automated-test-client :
28
28
- " /v1/persons"
29
- - " /v1/persons/\\ .*+ [^/]*$"
29
+ - " /v1/persons/[^/]*$"
30
30
- " /v1/persons/.*/images"
31
31
- " /v1/persons/.*/name"
32
- - " /v1/images/\\ .*+ [^/]*$"
32
+ - " /v1/images/[^/]*$"
33
33
- " /v1/persons/.*/addresses"
34
34
- " /v1/persons/.*/offences"
35
35
- " /v1/persons/.*/alerts"
@@ -51,8 +51,8 @@ authorisation:
51
51
- " /v1/persons/.*/person-responsible-officer"
52
52
- " /v1/persons/.*/risk-management-plan"
53
53
- " /v1/persons/.*/cell-location"
54
- - " /v1/epf/person-details/.*/\\ .*+ [^/]*$"
55
- - " /v1/hmpps-id/nomis-number/\\ .*+ [^/]*$"
54
+ - " /v1/epf/person-details/.*/[^/]*$"
55
+ - " /v1/hmpps-id/nomis-number/[^/]*$"
56
56
- " /health"
57
57
- " /health/ping"
58
58
- " /health/readiness"
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ authorisation:
33
33
consumers :
34
34
automated-test-client :
35
35
- " /v1/persons"
36
- - " /v1/persons/\\ .*+ [^/]*$"
36
+ - " /v1/persons/[^/]*$"
37
37
- " /v1/persons/.*/images"
38
38
- " /v1/persons/.*/name"
39
- - " /v1/images/\\ .*+ [^/]*$"
39
+ - " /v1/images/[^/]*$"
40
40
- " /v1/persons/.*/addresses"
41
41
- " /v1/persons/.*/offences"
42
42
- " /v1/persons/.*/alerts"
@@ -58,8 +58,8 @@ authorisation:
58
58
- " /v1/persons/.*/status-information"
59
59
- " /v1/persons/.*/risk-management-plan"
60
60
- " /v1/persons/.*/cell-location"
61
- - " /v1/epf/person-details/.*/\\ .*+ [^/]*$"
62
- - " /v1/hmpps-id/nomis-number/\\ .*+ [^/]*$"
61
+ - " /v1/epf/person-details/.*/[^/]*$"
62
+ - " /v1/hmpps-id/nomis-number/[^/]*$"
63
63
- " /health"
64
64
- " /health/ping"
65
65
- " /health/readiness"
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ services:
27
27
authorisation :
28
28
consumers :
29
29
ctrlo :
30
- - " /v1/epf/person-details/.*/\\ .*+ [^/]*$"
30
+ - " /v1/epf/person-details/.*/[^/]*$"
31
31
moj-pes :
32
32
- " /v1/persons/.*/name"
33
- - " /v1/hmpps-id/nomis-number/\\ .*+ [^/]*$"
33
+ - " /v1/hmpps-id/nomis-number/[^/]*$"
34
34
- " /v1/persons/.*/cell-location"
35
35
kubernetes-health-check-client :
36
36
- " /health/liveness"
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ services:
27
27
authorisation :
28
28
consumers :
29
29
ctrlo :
30
- - " /v1/epf/person-details/.*/\\ .*+ [^/]*$"
30
+ - " /v1/epf/person-details/.*/[^/]*$"
31
31
moj-pes :
32
32
- " /v1/persons/.*/name"
33
- - " /v1/hmpps-id/nomis-number/\\ .*+ [^/]*$"
33
+ - " /v1/hmpps-id/nomis-number/[^/]*$"
34
34
- " /v1/persons/.*/cell-location"
35
35
kubernetes-health-check-client :
36
36
- " /health/liveness"
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ authorisation:
41
41
consumers :
42
42
automated-test-client :
43
43
- " /v1/persons"
44
- - " /v1/persons/\\ .*+ [^/]*$"
44
+ - " /v1/persons/[^/]*$"
45
45
- " /v1/persons/.*/images"
46
46
- " /v1/persons/.*/name"
47
- - " /v1/images/\\ .*+ [^/]*$"
47
+ - " /v1/images/[^/]*$"
48
48
- " /v1/persons/.*/addresses"
49
49
- " /v1/persons/.*/offences"
50
50
- " /v1/persons/.*/alerts"
@@ -56,7 +56,7 @@ authorisation:
56
56
- " /v1/persons/.*/risks/serious-harm"
57
57
- " /v1/persons/.*/risks/dynamic"
58
58
- " /v1/persons/.*/reported-adjudications"
59
- - " /v1/epf/person-details/.*/\\ .*+ [^/]*$"
59
+ - " /v1/epf/person-details/.*/[^/]*$"
60
60
- " /v1/persons/.*/adjudications"
61
61
- " /v1/persons/.*/licences/conditions"
62
62
- " /v1/persons/.*/case-notes"
@@ -67,7 +67,7 @@ authorisation:
67
67
- " /v1/persons/.*/risk-management-plan"
68
68
- " /v1/persons/.*/cell-location"
69
69
- " /v1/persons/.*/status-information"
70
- - " /v1/hmpps-id/nomis-number/\\ .*+ [^/]*$"
70
+ - " /v1/hmpps-id/nomis-number/[^/]*$"
71
71
- " /health"
72
72
- " /health/ping"
73
73
- " /health/readiness"
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ class AuthoriseConfigTest : DescribeSpec(
21
21
{
22
22
"automated-test-client": [
23
23
"/v1/persons",
24
- "/v1/persons/\\.*+ [^/]*${'$'} ",
24
+ "/v1/persons/[^/]*$",
25
25
"/v1/persons/.*/images",
26
26
"/v1/persons/.*/name",
27
- "/v1/images/\\.*+ [^/]*${'$'} ",
27
+ "/v1/images/[^/]*$",
28
28
"/v1/persons/.*/addresses",
29
29
"/v1/persons/.*/offences",
30
30
"/v1/persons/.*/alerts",
@@ -46,8 +46,8 @@ class AuthoriseConfigTest : DescribeSpec(
46
46
"/v1/persons/.*/person-responsible-officer",
47
47
"/v1/persons/.*/risk-management-plan",
48
48
"/v1/persons/.*/cell-location",
49
- "/v1/epf/person-details/.*/\\.*+ [^/]*${'$'} ",
50
- "/v1/hmpps-id/nomis-number/\\.*+ [^/]*${'$'} ",
49
+ "/v1/epf/person-details/.*/[^/]*$",
50
+ "/v1/hmpps-id/nomis-number/[^/]*$",
51
51
"/health",
52
52
"/health/ping",
53
53
"/health/readiness",
You can’t perform that action at this time.
0 commit comments