Skip to content

Commit da5eb1e

Browse files
committed
VED-836: Increase per-proxy rate limit and add per-app rate limit in prod. Fix incorrect configuration in other environments. (#869)
1 parent c71d6d7 commit da5eb1e

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

manifest_template.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ APIGEE_ENVIRONMENTS:
44
has_mock_auth: true
55
display_name_suffix: Internal Development
66
ratelimiting:
7-
immunisation-fhir-api-dev:
7+
immunisation-fhir-api-internal-dev:
88
quota:
99
enabled: true
1010
limit: 300
@@ -36,15 +36,15 @@ APIGEE_ENVIRONMENTS:
3636
has_mock_auth: false
3737
display_name_suffix: Integration Testing
3838
ratelimiting:
39-
immunisation-fhir-api-ref:
39+
immunisation-fhir-api-int:
4040
quota:
4141
enabled: true
4242
limit: 300
4343
interval: 1
4444
timeunit: minute
4545
spikeArrest:
4646
enabled: true
47-
ratelimit: 600pm # 10 requests per second
47+
ratelimit: 600pm # 10 requests per second
4848
app:
4949
quota:
5050
enabled: false
@@ -69,10 +69,10 @@ APIGEE_ENVIRONMENTS:
6969
has_mock_auth: false
7070
display_name_suffix: Reference
7171
ratelimiting:
72-
immunisation-fhir-api-int:
72+
immunisation-fhir-api-ref:
7373
quota:
7474
enabled: true
75-
limit: 300
75+
limit: 300
7676
interval: 1
7777
timeunit: minute
7878
spikeArrest:
@@ -91,17 +91,21 @@ APIGEE_ENVIRONMENTS:
9191
immunisation-fhir-api-prod:
9292
quota:
9393
enabled: true
94-
limit: 1200
94+
limit: 3000
9595
interval: 1
9696
timeunit: minute
9797
spikeArrest:
9898
enabled: true
99-
ratelimit: 1200pm # 20 requests per second
99+
ratelimit: 3000pm # 50 requests per second
100100
app:
101101
quota:
102-
enabled: false
102+
enabled: true
103+
limit: 1200
104+
interval: 1
105+
timeunit: minute
103106
spikeArrest:
104-
enabled: false
107+
enabled: true
108+
ratelimit: 1200pm # 20 requests per second
105109

106110
ACCESS_MODES:
107111
- name: user-restricted
@@ -120,7 +124,7 @@ ACCESS_MODES:
120124
scopes: ['urn:nhsd:apim:app:level3:immunisation-fhir-api']
121125
requireCallbackUrl: false
122126
description: Application Restricted
123-
127+
124128
# - name: patient-access
125129
# nameSuffix: -patient-access
126130
# displayName: Patient-Access
@@ -179,4 +183,4 @@ apigee:
179183
visibility: {{ portal_visibility }}
180184
specId: immunisation-fhir-api-{{ env.name }}
181185
{% endfor %}
182-
{% endfor %}
186+
{% endfor %}

0 commit comments

Comments
 (0)