Skip to content

Commit

Permalink
Prepare for v0.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lewismc committed Jun 10, 2022
1 parent 5bb1cfe commit 1d2c9a3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tagbase_server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
4 changes: 2 additions & 2 deletions tagbase_server/tagbase_server/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tagbase_server/tagbase_server/test/test_tags_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand All @@ -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"))


Expand Down

0 comments on commit 1d2c9a3

Please sign in to comment.