Skip to content

Commit

Permalink
AMB-1693 rename base path
Browse files Browse the repository at this point in the history
  • Loading branch information
artronics committed Aug 31, 2023
1 parent 6832c09 commit 1dd925c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion azure/project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variables:
service_name: gp-connect-user-permissions
short_service_name: gcup
service_base_path: gp-connect/user-permissions/FHIR/R4
service_base_path: gp-connect/patient-facing/user-permissions
pr_number: ${{ split(variables['Build.SourceBranch'], '/')[2] }}
6 changes: 3 additions & 3 deletions specification/gp-connect-user-permissions.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is an OpenAPI Specification (https://swagger.io/specification/)
# for gp-connect/user-permissions owned by NHS Digital (https://digital.nhs.uk/)
# for gp-connect/patient-facing/user-permissions owned by NHS Digital (https://digital.nhs.uk/)
openapi: 3.0.0
info:
version: Computed and injected at build time by `scripts/set_version.py`
Expand Down Expand Up @@ -125,7 +125,7 @@ info:
| Purpose | URL |
| ------- | --- |
| Sandbox | `https://sandbox.api.service.nhs.uk/gp-connect/user-permissions/FHIR/R4` |
| Sandbox | `https://sandbox.api.service.nhs.uk/gp-connect/patient-facing/user-permissions` |
| Integration test | Not yet available |
| Production | Not yet available |
Expand Down Expand Up @@ -178,7 +178,7 @@ info:
for more on errors.
servers:
- url: https://sandbox.api.service.nhs.uk/gp-connect/user-permissions/FHIR/R4
- url: https://sandbox.api.service.nhs.uk/gp-connect/patient-facing/user-permissions
description: Sandbox environment

paths:
Expand Down
4 changes: 2 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTEST_CMD = APIGEE_ACCESS_TOKEN=$(APIGEE_ACCESS_TOKEN) poetry run pytest -s -v

PYTEST_CMD = APIGEE_ACCESS_TOKEN=$(APIGEE_ACCESS_TOKEN) poetry run pytest -s -v --color=yes --api-name=gp-connect-user-permissions --proxy-name=$(PROXY_NAME)
PYTEST_CMD_INT = APIGEE_ENVIRONMENT=int APIGEE_ACCESS_TOKEN=$(APIGEE_ACCESS_TOKEN) DEFAULT_CLIENT_ID=$(DEFAULT_CLIENT_ID) DEFAULT_CLIENT_SECRET=$(DEFAULT_CLIENT_SECRET)\
PROXY_NAME=gp-connect-user-permissions-int SERVICE_BASE_PATH=gp-connect-user-permissions/FHIR/STU3\
PROXY_NAME=gp-connect-user-permissions-int SERVICE_BASE_PATH=gp-connect/patient-facing/user-permissions\
poetry run pytest -s -v --color=yes -m mock_provider_int --api-name=gp-connect-user-permissions --proxy-name=$PROXY_NAME --apigee-app-id=$(APIGEE_APP_ID) --apigee-organization=nhsd-prod

run:
Expand All @@ -18,4 +18,4 @@ run-int:

# run tests with certain marker e.g. make run-sandbox runs tests marked with sandbox
run-%:
$(PYTEST_CMD) -m "$*"
$(PYTEST_CMD) -m "$*"

0 comments on commit 1dd925c

Please sign in to comment.