This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest_template.yml
76 lines (76 loc) · 2.24 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
SERVICE_NAME: fhir-converter
PRODUCT_DISPLAY_NAME: FHIR Converter
DESCRIPTION: This proxy function as a converter from FHIR R4 to STU3 and vice versa
APIGEE_ENVIRONMENTS:
- name: internal-dev
display_name: Internal Development
- name: internal-dev-sandbox
display_name: Internal Development Sandbox
- name: internal-qa
display_name: Internal QA
# - name: internal-qa-sandbox
# display_name: Internal QA Sandbox
# - name: ref
# display_name: Reference
- name: sandbox
display_name: Sandbox
# Enable int environment when ready by uncommenting:
- name: int
display_name: Integration Testing
---
meta:
api:
name: fhir-converter
guid: 08d55601-9064-408a-9815-659ace48f7b8
spec_guids:
- c488b99d-f9df-481b-a903-f16cab4855a6
schema_version: 1.1
apigee:
environments:
{% for ENV in APIGEE_ENVIRONMENTS %}
{% set TITLE = PRODUCT_DISPLAY_NAME + ' (' + ENV.display_name + ' Environment)' %}
{% set NAME = SERVICE_NAME + '-' + ENV.name %}
- name: {{ ENV.name }}
products:
- name: {{ NAME }}
approvalType: auto
attributes:
- name: ratelimiting
value:
# these are the per-proxy rate limits
fhir-converter-{{ ENV.name }}:
quota:
limit: 1800
enabled: true
interval: 1
timeunit: minute
spikeArrest:
ratelimit: 1800pm
enabled: true
- name: access
value: public
- name: ratelimit
value: 300pm
description: {{ DESCRIPTION }}
displayName: {{ TITLE }}
environments: [ {{ ENV.name }} ]
proxies:
- {{ SERVICE_NAME }}-{{ ENV.name }}
- identity-service-{{ ENV.name }}
scopes:
- 'urn:nhsd:apim:app:level3:{{ SERVICE_NAME }}'
quota: '300'
quotaInterval: '1'
quotaTimeUnit: minute
specs:
- name: {{ NAME }}
path: {{ SERVICE_NAME }}.json
api_catalog:
- edgeAPIProductName: {{ NAME }}
anonAllowed: true
description: {{ DESCRIPTION }}
requireCallbackUrl: false
title: {{ TITLE }}
visibility: true
specId: {{ NAME }}
{% endfor %}