From 1d2c9a39e268cb115de43bd7a920de9bf6b44e42 Mon Sep 17 00:00:00 2001 From: Lewis John McGibbney Date: Thu, 9 Jun 2022 22:49:44 -0700 Subject: [PATCH] Prepare for v0.6.0 release --- README.md | 6 +++--- openapi.yaml | 4 ++-- tagbase_server/setup.py | 2 +- tagbase_server/tagbase_server/openapi/openapi.yaml | 4 ++-- .../tagbase_server/test/test_ingest_controller.py | 2 +- tagbase_server/tagbase_server/test/test_tags_controller.py | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 85b77ad..5718168 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ You will see the services graciously shutdown. **N.B.** The URI's below may alternate between ***localhost*** and ***0.0.0.0*** depending on whether your workstation is Windows (localhost) or Linux/Mac (0.0.0.0) -Navigate to [http://localhost:5433/v0.5.0/ui/](http://0.0.0.0:5433/v0.5.0/ui/) +Navigate to [http://localhost:5433/v0.6.0/ui/](http://0.0.0.0:5433/v0.6.0/ui/) to see the tagbase-server UI running. **It will really help for you to read the API documentation provided in the Web Application.** Using the `/ingest/etuff` API, you can execute the following commands to initiate a primitive test @@ -90,13 +90,13 @@ ingestion of some sample eTUFF-sailfish-117259.txt data present on the server. using curl... ```bash -curl -X GET --header 'Accept: application/json' 'http://0.0.0.0:5433/v0.5.0/ingest?granule_id=1234&file=file%3A%2F%2F%2Fusr%2Fsrc%2Fapp%2Fdata%2FeTUFF-sailfish-117259.txt&type=etuff' +curl -X GET --header 'Accept: application/json' 'http://0.0.0.0:5433/v0.6.0/ingest?granule_id=1234&file=file%3A%2F%2F%2Fusr%2Fsrc%2Fapp%2Fdata%2FeTUFF-sailfish-117259.txt&type=etuff' ``` ...or using a Request URL ```bash -http://0.0.0.0:5433/v0.5.0/ingest/etuff?granule_id=1234&file=file%3A%2F%2F%2Fusr%2Fsrc%2Fapp%2Fdata%2FeTUFF-sailfish-117259.txt&type=etuff +http://0.0.0.0:5433/v0.6.0/ingest/etuff?granule_id=1234&file=file%3A%2F%2F%2Fusr%2Fsrc%2Fapp%2Fdata%2FeTUFF-sailfish-117259.txt&type=etuff ``` **N.B.** The REST server is capable of ingesting data over `file`, `ftp`, `http` and `https` protocols. diff --git a/openapi.yaml b/openapi.yaml index 614c6f3..5df37db 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -13,10 +13,10 @@ info: url: https://www.apache.org/licenses/LICENSE-2.0 termsOfService: TODO title: tagbase-server API - version: v0.5.0 + version: v0.6.0 servers: - description: Local development tagbase-server - url: https://0.0.0.0:5433/v0.5.0 + url: https://0.0.0.0:5433/v0.6.0 tags: - description: Ingestion operations. name: ingest diff --git a/tagbase_server/setup.py b/tagbase_server/setup.py index afe1fb0..b6c533a 100644 --- a/tagbase_server/setup.py +++ b/tagbase_server/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "tagbase_server" -VERSION = "v0.5.0" +VERSION = "v0.6.0" # To install the library, run the following # diff --git a/tagbase_server/tagbase_server/openapi/openapi.yaml b/tagbase_server/tagbase_server/openapi/openapi.yaml index 9d1c2a8..76ac6cc 100644 --- a/tagbase_server/tagbase_server/openapi/openapi.yaml +++ b/tagbase_server/tagbase_server/openapi/openapi.yaml @@ -13,10 +13,10 @@ info: url: https://www.apache.org/licenses/LICENSE-2.0 termsOfService: TODO title: tagbase-server API - version: v0.5.0 + version: v0.6.0 servers: - description: Local development tagbase-server - url: https://0.0.0.0:5433/v0.5.0 + url: https://0.0.0.0:5433/v0.6.0 tags: - description: Ingestion operations. name: ingest diff --git a/tagbase_server/tagbase_server/test/test_ingest_controller.py b/tagbase_server/tagbase_server/test/test_ingest_controller.py index cdfe52c..b39ed4c 100644 --- a/tagbase_server/tagbase_server/test/test_ingest_controller.py +++ b/tagbase_server/tagbase_server/test/test_ingest_controller.py @@ -22,7 +22,7 @@ def test_ingest_etuff_get_500(self): "Accept": "application/json", } response = self.client.open( - "/v0.5.0/ingest", + "/v0.6.0/ingest", method="GET", headers=headers, query_string=query_string, diff --git a/tagbase_server/tagbase_server/test/test_tags_controller.py b/tagbase_server/tagbase_server/test/test_tags_controller.py index 176c17b..b599c4b 100644 --- a/tagbase_server/tagbase_server/test/test_tags_controller.py +++ b/tagbase_server/tagbase_server/test/test_tags_controller.py @@ -17,7 +17,7 @@ def test_get_tag(self): "Accept": "application/json", } response = self.client.open( - "/v0.5.0/tags/{tag_id}".format(tag_id=3), method="GET", headers=headers + "/v0.6.0/tags/{tag_id}".format(tag_id=3), method="GET", headers=headers ) self.assert500(response, "Response body is : " + response.data.decode("utf-8")) @@ -29,7 +29,7 @@ def test_list_tags(self): headers = { "Accept": "application/json", } - response = self.client.open("/v0.5.0/tags", method="GET", headers=headers) + response = self.client.open("/v0.6.0/tags", method="GET", headers=headers) self.assert500(response, "Response body is : " + response.data.decode("utf-8"))