-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest_template.yml
More file actions
137 lines (123 loc) · 3.87 KB
/
manifest_template.yml
File metadata and controls
137 lines (123 loc) · 3.87 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
## Manifest template ##
# To view the expanded version of this template locally, clone api-management-utils
#
# $ cd /path/to/local/api-management-utils/ansible
# $ DIST_DIR=/path/to/this/repo make template-manifest
#
# The only way to test changes in here is to run the deployment and regression test each environment.
# If making changes to this file,
# generate and save the full maninfest.yml file before making any changes
# to compare against your changed file.
#
APIGEE_ENVIRONMENTS:
- name: internal-dev
additional_proxies:
- identity-service-mock-internal-dev
variants:
- name: rc-internal-dev
display_name: Internal Development - rc
euo_allowlist_required: false
- name: fix-internal-dev
display_name: Internal Development - fix
euo_allowlist_required: false
- name: fti-internal-dev
display_name: Internal Development - ft01
euo_allowlist_required: false
- name: ftiv-internal-dev
display_name: Internal Development - ft04
euo_allowlist_required: false
- name: ftv-internal-dev
display_name: Internal Development - ft05
euo_allowlist_required: false
- name: ftix-internal-dev
display_name: Internal Development - ft09
euo_allowlist_required: false
- name: ftxxii-internal-dev
display_name: Internal Development - ft22
euo_allowlist_required: false
- name: internal-dev-sandbox
variants:
- name: internal-dev-sandbox
display_name: Internal Development Sandbox
euo_allowlist_required: false
- name: int
additional_proxies:
- identity-service-int-no-smartcard
- identity-service-mock-int
variants:
- name: int
display_name: Integration Testing
euo_allowlist_required: false
- name: internal-qa
additional_proxies:
- identity-service-internal-qa-int
- identity-service-mock-internal-qa
variants:
- name: internal-qa
display_name: Internal QA
euo_allowlist_required: false
- name: internal-qa-sandbox
variants:
- name: internal-qa-sandbox
display_name: Internal QA Sandbox
euo_allowlist_required: false
- name: sandbox
variants:
- name: sandbox
display_name: Sandbox
euo_allowlist_required: false
- name: dev
additional_proxies:
- identity-service-dep-dev
variants:
- name: dep-dev
display_name: Dev - dep
euo_allowlist_required: false
- name: prod
approval_type: manual
variants:
- name: prod
display_name: Production
euo_allowlist_required: false
ACCESS_MODES:
- name: healthcare-worker
nameSuffix: -healthcare-worker
displayName: Healthcare Worker
scopes: ['urn:nhsd:apim:user-nhs-id:aal3:e-referrals-service-api', 'urn:nhsd:apim:user-nhs-id:aal2:e-referrals-service-api']
requireCallbackUrl: true
description: User restricted
- name: application-restricted
nameSuffix: -application-restricted
displayName: Application Restricted
scopes: ['urn:nhsd:apim:app:level3:e-referrals-service-api']
requireCallbackUrl: false
description: Application Restricted
---
{% import 'macros/manifest_macros.yml' as macros %}
{% set TITLE = 'e-Referral Service' %}
meta:
api:
name: e-referrals-service-api
guid: 343026de-b0f5-4c45-a53e-3a1b687bab9d
spec_guids: ['2ff6fce6-8b51-4d88-a528-4fd1edd18541']
schema_version: 1
apigee:
environments:
{% for ENV in APIGEE_ENVIRONMENTS %}
{{ macros.environment(ENV) }}
{% for VARIANT in ENV.variants %}
{% for MODE in ACCESS_MODES %}
{{ macros.product(ENV, MODE, TITLE, VARIANT.name, VARIANT.display_name, VARIANT.euo_allowlist_required) }}
{% endfor %}
{% endfor %}
specs:
{% for VARIANT in ENV.variants %}
{{ macros.specs(VARIANT.name) }}
{% endfor %}
api_catalog:
{% for VARIANT in ENV.variants %}
{% for MODE in ACCESS_MODES %}
{{ macros.api_catalog(MODE, TITLE, VARIANT.name, VARIANT.display_name) }}
{% endfor %}
{% endfor %}
{% endfor %}