File tree Expand file tree Collapse file tree 9 files changed +16
-16
lines changed
Expand file tree Collapse file tree 9 files changed +16
-16
lines changed Original file line number Diff line number Diff 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
1717servers :
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
2222tags :
2323- description : Ingestion operations.
2424 name : ingest
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ python3 -m tagbase_server
2121and 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
2727Your 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
3333To launch the integration tests, use tox:
Original file line number Diff line number Diff line change 66from setuptools import setup , find_packages
77
88NAME = "tagbase_server"
9- VERSION = "v0.8 .0"
9+ VERSION = "v0.9 .0"
1010
1111with open ("README.md" , "r" ) as fh :
1212 long_description = fh .read ()
Original file line number Diff line number Diff 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
1717servers :
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
2222tags :
2323- description : Ingestion operations.
2424 name : ingest
Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments