Skip to content

Commit

Permalink
Merge branch 'master' into APM-000-AMP-1732-Doc-Improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
helen-brown committed Oct 11, 2023
2 parents afcbfc0 + afee6fb commit 3e982c6
Show file tree
Hide file tree
Showing 12 changed files with 2,631 additions and 4,384 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ smoketest: pytest-guards
poetry run pytest -v --junitxml=smoketest-report.xml -s -m smoketest

e2etest: pytest-guards
poetry run pytest -v --junitxml=e2e-report.xml -s -m e2e
poetry run pytest -v --junitxml=e2e-report.xml -s -m e2e --api-name=$$API_NAME --proxy-name=$$PROXY_NAME
4 changes: 3 additions & 1 deletion azure/components/run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ steps:
export SERVICE_BASE_PATH="$(SERVICE_BASE_PATH)"
export STATUS_ENDPOINT_API_KEY="$(status-endpoint-api-key)"
export APIGEE_PRODUCT="$(FULLY_QUALIFIED_SERVICE_NAME)"
export PROXY_NAME="$(FULLY_QUALIFIED_SERVICE_NAME)"
export OAUTH_PROXY="oauth2"
export OAUTH_BASE_URI="https://$(ENVIRONMENT).api.service.nhs.uk"
export JWT_PRIVATE_KEY_ABSOLUTE_PATH="$(Pipeline.Workspace)/secrets/$(JWT_TESTING_PRIVATE_KEY)"
export ID_TOKEN_NHS_LOGIN_PRIVATE_KEY_ABSOLUTE_PATH="$(Pipeline.Workspace)/secrets/$(ID_TOKEN_NHS_LOGIN_PRIVATE_KEY)"
export APIGEE_API_TOKEN="$(secret.AccessToken)"
export PROXY_NAME="$(FULLY_QUALIFIED_SERVICE_NAME)"
export API_NAME="$(SERVICE_NAME)"
export APIGEE_ACCESS_TOKEN="$(secret.AccessToken)"
make e2etest
workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
displayName: run e2e tests
Expand Down
6 changes: 5 additions & 1 deletion manifest_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ DESCRIPTION: Immunisation history API
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
Expand Down Expand Up @@ -71,6 +72,9 @@ apigee:
proxies:
- immunisation-history-{{ ENV.name }}
- identity-service-{{ ENV.name }}
{% if ENV.has_mock_auth | default(false) %}
- identity-service-mock-{{ ENV.name }}
{% endif %}
scopes: {{ MODE.scopes }}
quota: {{ ENV.quota | default('300') }}
quotaInterval: '1'
Expand All @@ -89,4 +93,4 @@ apigee:
visibility: true
specId: immunisation-history-{{ ENV.name }}
{% endfor %}
{% endfor %}
{% endfor %}
Loading

0 comments on commit 3e982c6

Please sign in to comment.