Skip to content

Commit bee9711

Browse files
authored
Merge pull request #108 from NHSDigital/AMP-1779---MESH-open-source
Update mesh-api.yaml re. open source
2 parents 24266ae + e785bb8 commit bee9711

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/pr-lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Check ticket name conforms to requirements
8-
run: echo ${{ github.event.pull_request.head.ref }} | grep -i -E -q "((apm|mesh|mesh2cloud|spinecore|spii|apmspii)-[0-9]+)|(dependabot\/)"
8+
run: echo ${{ github.event.pull_request.head.ref }} | grep -i -E -q "((apm|mesh|mesh2cloud|spinecore|spii|apmspii|amp)-[0-9]+)|(dependabot\/)"
99

1010
- name: Grab ticket name
1111
if: contains(github.event.pull_request.head.ref, 'apm-') || contains(github.event.pull_request.head.ref, 'APM-') || contains(github.event.pull_request.head.ref, 'mesh-') || contains(github.event.pull_request.head.ref, 'MESH-') || contains(github.event.pull_request.head.ref, 'mesh2cloud-') || contains(github.event.pull_request.head.ref, 'MESH2CLOUD-') || contains(github.event.pull_request.head.ref, 'spii-') || contains(github.event.pull_request.head.ref, 'SPII-') || contains(github.event.pull_request.head.ref, 'spinecore-') || contains(github.event.pull_request.head.ref, 'SPINECORE-')
12-
run: echo ::set-env name=TICKET_NAME::$(echo ${{ github.event.pull_request.head.ref }} | grep -i -o '\(\(apm\|mesh\|mesh2cloud\|spinecore\|spii\|apmspii\)-[0-9]\+\)' | tr '[:lower:]' '[:upper:]')
12+
run: echo ::set-env name=TICKET_NAME::$(echo ${{ github.event.pull_request.head.ref }} | grep -i -o '\(\(apm\|mesh\|mesh2cloud\|spinecore\|spii\|apmspii\|amp\)-[0-9]\+\)' | tr '[:lower:]' '[:upper:]')
1313
env:
1414
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1515

specification/mesh-api.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ info:
201201
## Technology
202202
This API is [RESTful](https://digital.nhs.uk/developer/guides-and-documentation/api-technologies-at-nhs-digital#basic-rest).
203203
204+
### Open source
205+
We have a number of open source assets that you might find useful:
206+
207+
| Asset | Description |
208+
| MESH sandbox ([GitHub repo](https://github.com/NHSDigital/mesh-sandbox) \| [Python Package Index](https://pypi.org/project/mesh-sandbox/)) | For early developer testing, a realistic MESH experience that runs locally in docker or as an embedded python package. For more details, see 'Environments and testing' below. |
209+
| MESH Python client ([GitHub repo](https://github.com/NHSDigital/mesh-client) \| [Python Package Index](https://pypi.org/project/Mesh-Client/)) | A fully-featured Python client library. This is not the same as the MESH Java client. |
210+
| MESH Validate Auth Header ([GitHub repo](https://github.com/NHSDigital/mesh_validate_auth_header) \| [GitHub pages UI](https://nhsdigital.github.io/mesh_validate_auth_header/#/)) |
211+
204212
## Network access
205213
This API is available on the internet and on the [Health and Social Care Network (HSCN)](https://digital.nhs.uk/services/health-and-social-care-network).
206214
@@ -2828,4 +2836,4 @@ servers:
28282836
description: Production
28292837
x-spec-publication:
28302838
try-this-api:
2831-
disabled: true
2839+
disabled: true

0 commit comments

Comments
 (0)