-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest_template.yml
123 lines (107 loc) · 3.61 KB
/
manifest_template.yml
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
## 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.
#
SERVICE_NAME: e-referrals-service-patient-care-api
DESCRIPTION: e-RS Patient Care API
TITLE : e-Referral Service Patient Care
# The request_limit and burst_limit variables included here define the ratelimiting applied to each policy.
# The request_limit variable defines how many requests can be made to the referenced proxy per minute,
# whereas the burst_limit defines how many requests can be sent to the reference proxy as a spike of traffic.
APIGEE_ENVIRONMENTS:
- name: internal-dev
request_limit: '600'
burst_limit: '900pm'
catalog_variant_description: true
additional_proxies:
- identity-service-mock-internal-dev
variants:
- name: alpha-internal-dev
display_name: Internal Development - alpha
- name: rc-internal-dev
display_name: Internal Development - rc
- name: fix-internal-dev
display_name: Internal Development - fix
- name: fti-internal-dev
display_name: Internal Development - ft01
- name: ftiv-internal-dev
display_name: Internal Development - ft04
- name: ftv-internal-dev
display_name: Internal Development - ft05
- name: ftix-internal-dev
display_name: Internal Development - ft09
- name: ftxxii-internal-dev
display_name: Internal Development - ft22
- name: internal-dev-sandbox
variants:
- name: internal-dev-sandbox
display_name: Internal Development Sandbox
- name: int
request_limit: '600'
burst_limit: '900pm'
additional_proxies:
- identity-service-int-no-smartcard
- identity-service-mock-int
variants:
- name: int
display_name: Integration Testing
- name: internal-qa
request_limit: '600'
burst_limit: '900pm'
additional_proxies:
- identity-service-internal-qa-int
- identity-service-mock-internal-qa
variants:
- name: internal-qa
display_name: Internal QA
- name: internal-qa-sandbox
variants:
- name: internal-qa-sandbox
display_name: Internal QA Sandbox
- name: ref
variants:
- name: ref
display_name: Reference
- name: sandbox
variants:
- name: sandbox
display_name: Sandbox
- name: prod
variants:
- name: prod
display_name: Production
---
{% import 'macros/manifest_macros.yml' as macros %}
meta:
api:
name: e-referrals-service-patient-care-api
guid: 6792bc27-4aca-420f-a347-bbf6f2fcae10
spec_guids:
- 66f6b5ed-072a-4a38-a864-f79bba63dbe7
schema_version: 1.3
apigee:
environments:
{% for ENV in APIGEE_ENVIRONMENTS %}
{{ macros.environment(ENV) }}
{% for VARIANT in ENV.variants %}
{{ macros.product(SERVICE_NAME, ENV, TITLE, VARIANT.name, VARIANT.display_name) }}
{% endfor %}
specs:
{% for VARIANT in ENV.variants %}
{{ macros.specs(SERVICE_NAME, VARIANT.name) }}
{% endfor %}
api_catalog:
{% for VARIANT in ENV.variants %}
{% if ENV.catalog_variant_description is defined %}
{% set DESCRIPTION = DESCRIPTION + ' (' + VARIANT.display_name + ')' %}
{% endif %}
{{ macros.api_catalog(SERVICE_NAME, TITLE, DESCRIPTION, VARIANT.name, VARIANT.display_name) }}
{% endfor %}
{% endfor %}