Skip to content

Commit 98468a8

Browse files
committed
Prep for v0.9.0
1 parent 86a0974 commit 98468a8

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ info:
1313
url: https://www.apache.org/licenses/LICENSE-2.0
1414
termsOfService: TODO
1515
title: tagbase-server API
16-
version: v0.8.0
16+
version: v0.9.0
1717
servers:
1818
- description: Local development tagbase-server
19-
url: https://localhost/tagbase/api/v0.8.0
19+
url: https://localhost/tagbase/api/v0.9.0
2020
- description: ICCAT Test tagbase-server
21-
url: https://162.13.162.49/tagbase/api/v0.8.0
21+
url: https://162.13.162.49/tagbase/api/v0.9.0
2222
tags:
2323
- description: Ingestion operations.
2424
name: ingest

services/fswatch/post.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ while true
77
do
88
filename="${line##*/}"
99
echo "Contents of $PATH_TO_CHECK changed; Processing: $line"
10-
curl -X 'POST' tagbase_server:5433/tagbase/api/v0.8.0/ingest?filename="$filename" -H 'accept: application/json' -T $line
10+
curl -X 'POST' tagbase_server:5433/tagbase/api/v0.9.0/ingest?filename="$filename" -H 'accept: application/json' -T $line
1111
done
1212
done

services/nginx/config/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ http {
4949
}
5050

5151
location /docs {
52-
proxy_pass http://tagbase_server/tagbase/api/v0.8.0/ui;
52+
proxy_pass http://tagbase_server/tagbase/api/v0.9.0/ui;
5353
proxy_set_header Origin http://127.0.0.1;
5454
proxy_hide_header Access-Control-Allow-Origin;
5555
add_header Access-Control-Allow-Origin $http_origin;

services/nginx/proxy/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1>Navigation</h1>
66
<ul>
77
<li><b><a href="./docs" target="_blank">/docs</a></b>: visualize and interact with tagbase-server REST APIs.</li>
88
<li><b><a href="./pgadmin4" target="_blank">/pgadmin4</a></b>: administration and development platform for Tagbase PostGIS instances.</li>
9-
<li><b><a href="./tagbase/api/v0.8.0" target="_blank">/tagbase/v0.8.0</a></b>: REST API base path.</li>
9+
<li><b><a href="./tagbase/api/v0.9.0" target="_blank">/tagbase/v0.9.0</a></b>: REST API base path.</li>
1010
</ul>
1111

1212
<h1>Documentation and Support</h1>

tagbase_server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ python3 -m tagbase_server
2121
and open your browser to here:
2222

2323
```
24-
http://localhost:8080/v0.8.0/ui/
24+
http://localhost:8080/v0.9.0/ui/
2525
```
2626

2727
Your OpenAPI definition lives here:
2828

2929
```
30-
http://localhost:8080/v0.8.0/openapi.json
30+
http://localhost:8080/v0.9.0/openapi.json
3131
```
3232

3333
To launch the integration tests, use tox:

tagbase_server/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages
77

88
NAME = "tagbase_server"
9-
VERSION = "v0.8.0"
9+
VERSION = "v0.9.0"
1010

1111
with open("README.md", "r") as fh:
1212
long_description = fh.read()

tagbase_server/tagbase_server/openapi/openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ info:
1313
url: https://www.apache.org/licenses/LICENSE-2.0
1414
termsOfService: TODO
1515
title: tagbase-server API
16-
version: v0.8.0
16+
version: v0.9.0
1717
servers:
1818
- description: Local development tagbase-server
19-
url: https://localhost/tagbase/api/v0.8.0
19+
url: https://localhost/tagbase/api/v0.9.0
2020
- description: ICCAT Test tagbase-server
21-
url: https://162.13.162.49/tagbase/api/v0.8.0
21+
url: https://162.13.162.49/tagbase/api/v0.9.0
2222
tags:
2323
- description: Ingestion operations.
2424
name: ingest

tagbase_server/tagbase_server/test/test_ingest_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_ingest_etuff_get(self):
2222
"Accept": "application/json",
2323
}
2424
response = self.client.open(
25-
"/tagbase/api/v0.8.0/ingest",
25+
"/tagbase/api/v0.9.0/ingest",
2626
method="GET",
2727
headers=headers,
2828
query_string=query_string,

tagbase_server/tagbase_server/test/test_tags_controller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_get_tag(self):
1717
"Accept": "application/json",
1818
}
1919
response = self.client.open(
20-
"/tagbase/api/v0.8.0/tags/{tag_id}".format(tag_id=3),
20+
"/tagbase/api/v0.9.0/tags/{tag_id}".format(tag_id=3),
2121
method="GET",
2222
headers=headers,
2323
)
@@ -32,7 +32,7 @@ def test_list_tags(self):
3232
"Accept": "application/json",
3333
}
3434
response = self.client.open(
35-
"/tagbase/api/v0.8.0/tags", method="GET", headers=headers
35+
"/tagbase/api/v0.9.0/tags", method="GET", headers=headers
3636
)
3737
self.assert500(response, "Response body is : " + response.data.decode("utf-8"))
3838

@@ -49,7 +49,7 @@ def test_put_tag(self):
4949
("solution_id", 2),
5050
]
5151
response = self.client.open(
52-
"/tagbase/api/v0.8.0/tags/{tag_id}/subs/{sub_id}".format(
52+
"/tagbase/api/v0.9.0/tags/{tag_id}/subs/{sub_id}".format(
5353
tag_id=3, sub_id=6
5454
),
5555
method="PUT",

0 commit comments

Comments
 (0)