Skip to content

Commit

Permalink
Release 1.0.1 (#89)
Browse files Browse the repository at this point in the history
* Update API and tool version

* Update API and tool version in Tool object
  • Loading branch information
tschaffter authored Feb 26, 2021
1 parent 9e234cb commit 28a69de
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ user-friendly way.

### Specification

- PHI Deidentifier API version: 1.0.0
- Tool version: 1.0.0
- PHI Deidentifier API version: 1.0.1
- Tool version: 1.0.1
- Docker image: [nlpsandbox/phi-deidentifier]
- Tool dependencies:
- [NLP Sandbox Date Annotator]
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ version: "3.8"

services:
date-annotator:
image: nlpsandbox/date-annotator-example:1.0.0
image: nlpsandbox/date-annotator-example:1.0.1
container_name: date-annotator
restart: always
networks:
- nlp-sandbox-internal

person-name-annotator:
image: nlpsandbox/person-name-annotator-example:1.0.0
image: nlpsandbox/person-name-annotator-example:1.0.1
container_name: person-name-annotator
restart: always
networks:
- nlp-sandbox-internal

physical-address-annotator:
image: nlpsandbox/physical-address-annotator-example:1.0.0
image: nlpsandbox/physical-address-annotator-example:1.0.1
container_name: physical-address-annotator
restart: always
networks:
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"@openapitools/openapi-generator-cli": "2.1.23"
},
"scripts": {
"generate:server": "openapi-generator-cli generate -g python-flask -o server -i $npm_config_spec"
"generate:server": "openapi-generator-cli generate -g python-flask -o server -i $npm_config_spec",
"generate:server:latest": "openapi-generator-cli generate -g python-flask -o server -i https://nlpsandbox.github.io/nlpsandbox-schemas/phi-deidentifier/latest/openapi.json",
"lint": "cd server && flake8",
"test": "cd server && tox"
}
}
6 changes: 3 additions & 3 deletions server/openapi_server/controllers/tool_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ def get_tool(): # noqa: E501
"""
tool = Tool(
name="phi-deidentifier",
version="1.0.0",
version="1.0.1",
license=License.APACHE_2_0,
repository="github:nlpsandbox/phi-deidentifier",
description="NLP Sandbox PHI Deidentifier",
description="Example implementation of the NLP Sandbox PHI Deidentifier", # noqa: E501
author="The NLP Sandbox Team",
author_email="[email protected]",
url="https://github.com/nlpsandbox/phi-deidentifier",
tool_type="nlpsandbox:phi-deidentifier",
tool_api_version="1.0.0"
tool_api_version="1.0.1"
)
return tool, 200

Expand Down

0 comments on commit 28a69de

Please sign in to comment.