-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest_template.yml
More file actions
78 lines (78 loc) · 2.29 KB
/
manifest_template.yml
File metadata and controls
78 lines (78 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
SERVICE_NAME: multicast-notification-service
PRODUCT_DISPLAY_NAME: Multicast Notification Service API
DESCRIPTION: Publish and receive patient-related state changes from a single centralised system
APIGEE_ENVIRONMENTS:
- name: internal-dev
display_name: Internal Development
has_mock_auth: true
- name: internal-dev-sandbox
display_name: Internal Development Sandbox
- name: internal-qa
display_name: Internal QA
has_mock_auth: true
- name: internal-qa-sandbox
display_name: Internal QA Sandbox
- name: ref
display_name: Reference
has_mock_auth: true
- name: sandbox
display_name: Sandbox
has_mock_auth: true
- name: int
display_name: Integration Testing
has_mock_auth: true
- name: prod
approval_type: manual
display_name: Production
---
meta:
api:
name: multicast-notification-service
guid: ee53240d-624e-4175-96a2-639e259400da
spec_guids:
- e3a3a86e-1c42-4eeb-8743-f35bf6a3a6d2
schema_version: 1.3
apigee:
environments:
{% for ENV in APIGEE_ENVIRONMENTS %}
{% set TITLE = PRODUCT_DISPLAY_NAME + ' (' + ENV.display_name + ' Environment)' %}
{% set NAME = SERVICE_NAME + '-' + ENV.name %}
{% set APPROVAL_TYPE = ENV.approval_type | default('auto') %}
- name: {{ ENV.name }}
products:
- name: {{ NAME }}
approvalType: {{ APPROVAL_TYPE }}
attributes:
- name: access
value: public
- name: ratelimiting
value:
{{ NAME }}:
quota:
enabled: true
limit: 6000
interval: 1
timeunit: minute
spikeArrest:
enabled: true
ratelimit: 6000pm
app:
quota:
enabled: false
spikeArrest:
enabled: false
description: {{ DESCRIPTION }}
displayName: {{ TITLE }}
environments: [ {{ ENV.name }} ]
proxies:
- {{ NAME }}
- identity-service-{{ ENV.name }}
{% if ENV.has_mock_auth | default(false) %}
- identity-service-mock-{{ ENV.name }}
{% endif %}
scopes:
- 'urn:nhsd:apim:app:level3:{{ SERVICE_NAME }}'
specs:
- name: {{ NAME }}
path: {{ SERVICE_NAME }}.json
{% endfor %}