-
Notifications
You must be signed in to change notification settings - Fork 1
New: [AEA-6037] - Introduce Proxygen API for PFP #2207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…m-nhs:NHSDigital/prescriptionsforpatients
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
|
This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket: AEA-6037 |
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com>
| @@ -0,0 +1,448 @@ | |||
| # This is an OpenAPI Specification (https://swagger.io/specification/) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Within /specification, only the following has had changes made, versus being copied from https://github.com/NHSDigital/prescriptions-for-patients.
- prescriptions-for-patients.yaml
- redocly.yaml
- package.json
- tsconfig.json
| @@ -0,0 +1,23 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Within /specification, only the following has had changes made, versus being copied from https://github.com/NHSDigital/prescriptions-for-patients.
- prescriptions-for-patients.yaml
- redocly.yaml
- package.json
- tsconfig.json
| @@ -0,0 +1,3 @@ | |||
| apis: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Within /specification, only the following has had changes made, versus being copied from https://github.com/NHSDigital/prescriptions-for-patients.
- prescriptions-for-patients.yaml
- redocly.yaml
- package.json
- tsconfig.json
| @@ -0,0 +1,9 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Within /specification, only the following has had changes made, versus being copied from https://github.com/NHSDigital/prescriptions-for-patients.
- prescriptions-for-patients.yaml
- redocly.yaml
- package.json
- tsconfig.json
|
| TARGET_SERVICE_SEARCH_SERVER: sandbox | ||
| PROXYGEN_ROLE: ${{ secrets.PROXYGEN_PTL_ROLE }} | ||
|
|
||
| release_prod: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldnt you have a DEPLOY_APIGEE: false in here for prod
| PROD_CLOUD_FORMATION_CHECK_VERSION_ROLE: ${{ secrets.PROD_CLOUD_FORMATION_CHECK_VERSION_ROLE }} | ||
| DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE: ${{ secrets.DEV_CLOUD_FORMATION_EXECUTE_LAMBDA_ROLE }} | ||
|
|
||
| PROXYGEN_ROLE: ${{ secrets.PROXYGEN_PTL_ROLE }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be PROXYGEN_PROD_ROLE for INT deployment
| TARGET_SPINE_SERVER: sandbox | ||
| TARGET_SERVICE_SEARCH_SERVER: sandbox | ||
| PROXYGEN_ROLE: ${{ secrets.PROXYGEN_PTL_ROLE }} | ||
| # release_sandbox_code: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we just deploy it with DEPLOY_APIGEE: false?
also if we do comment it out, should do the same in ci.yml and release.yml
| "packages/common/testing", | ||
| "packages/distanceSelling" | ||
| "packages/distanceSelling", | ||
| "packages/specification" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs adding to .vscode/eps-prescription-status-update-api.code-workspace as well
| export function extractNHSNumberFromHeaders(headers: EventHeaders): string { | ||
| if (headers["nhs-login-identity-proofing-level"]) { | ||
| // Proxygen spec will include proofing level header, whereas non-proxygen API will not | ||
| return validateNHSNumber(headers["nhsd-nhslogin-user"]!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should check proofing level is P9 as in https://github.com/NHSDigital/prescriptionsforpatients/blob/main/packages/getMyPrescriptions/src/extractNHSNumber.ts#L20



Summary
Details