Skip to content

Commit 4440376

Browse files
Merge pull request #1196 from NHSDigital/develop
APIM-R 1.26 cut
2 parents 97428a2 + bdc0a83 commit 4440376

File tree

7 files changed

+319
-306
lines changed

7 files changed

+319
-306
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ Consumers of the API will find developer documentation on the [NHS Digital Devel
1414
## Contributing
1515
Contributions to this project are welcome from anyone, providing that they conform to the [guidelines for contribution](https://github.com/NHSDigital/e-referrals-service-api/blob/master/CONTRIBUTING.md) and the [community code of conduct](https://github.com/NHSDigital/e-referrals-service-api/blob/master/CODE_OF_CONDUCT.md).
1616

17+
New branches and pull requests should always be created from the **develop** branch.
18+
19+
All Pull Requests **must** be approved and merged only by one of the members of the [e-RS team](https://github.com/orgs/NHSDigital/teams/e-referrals).
20+
21+
Merging to the **master** branch is part of our release process and should only ever be done by one of the members of the [e-RS team](https://github.com/orgs/NHSDigital/teams/e-referrals).
22+
1723
### Licensing
1824
This code is dual licensed under the MIT license and the OGL (Open Government License). Any new work added to this repository must conform to the conditions of these licenses. In particular this means that this project may not depend on GPL-licensed or AGPL-licensed libraries, as these would violate the terms of those libraries' licenses.
1925

@@ -78,11 +84,11 @@ Each API and team is unique. We encourage you to use a `test/` folder in the roo
7884
7985
* [**openapi-yaml-mode**](https://github.com/esc-emacs/openapi-yaml-mode) provides syntax highlighting, completion, and path help
8086
81-
### Speccy
87+
### Redocly CLI
8288
83-
> [Speccy](http://speccy.io/) *A handy toolkit for OpenAPI, with a linter to enforce quality rules, documentation rendering, and resolution.*
89+
> [Redocly CLI](https://redocly.com/redocly-cli) *Bring versatile OpenAPI validation, linting & bundling to your command line (and VS Code!) with this open-source Swiss knife.*
8490
85-
Speccy does the lifting for the following npm scripts:
91+
Redocly CLI does the lifting for the following npm scripts:
8692
8793
* `test` -- Lints the definition
8894
* `publish` -- Outputs the specification as a **single file** into the `build/` directory

package-lock.json

Lines changed: 148 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.lock

Lines changed: 69 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ pyyaml = "^6.0"
2626
docopt = "^0.6.2"
2727
jsonpath-rw = "^1.4.0"
2828
semver = "^3.0.1"
29-
gitpython = "^3.1.36"
29+
gitpython = "^3.1.37"
3030
lxml = "^4.7.1"
3131
xmlformatter = "^0.2.4"
32-
pytest-check = "^2.2.1"
32+
pytest-check = "^2.2.2"
3333
requests = "^2.27.1"
3434
openapi-core = "0.17.1"
3535

3636

3737
[tool.poetry.dev-dependencies]
3838
flake8 = "^5.0.4"
3939
black = "^23.9"
40-
pip-licenses = "^4.3.2"
40+
pip-licenses = "^4.3.3"
4141
jinja2 = "^3.1.2"
4242
pytest = "^6.1.2"
4343
pytest-asyncio = "^0.20.3"

sandbox/package-lock.json

Lines changed: 83 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"lodash": "^4.17.20"
1818
},
1919
"devDependencies": {
20-
"eslint": "^8.49.0"
20+
"eslint": "^8.52.0"
2121
}
2222
}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
description: Locked - resource is locked
1+
description: |
2+
The NHS e-Referral Service (e-RS) implements pessimistic locking functionality in order to prevent multiple users/systems attempting to update the same resource at the same time.
3+
4+
The e-RS API automatically acquires the lock on the behalf of the caller, within the scope of the request. When an endpoint call is received to update a resource, that resource will be locked for the duration of the request.
5+
6+
API callers should not attempt to make simultaneous requests to update the same resource. Any attempt to do so will result in a 423 (Locked) response. If a 423 response is received, then another system/user may be in the process of updating the resource. It will be necessary to fetch the resource again and re-try the request at a later time.

0 commit comments

Comments
 (0)