FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 7e86540c authored by J.W. Smith's avatar J.W. Smith
Browse files

chore: update urls in WRSIS test script

parent fa8592eb
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,12 @@ import requests
# json is to read the restricted credentials
import json
gis_url = 'http://197.156.117.171/WRSIS/gisapi/getRustSurveyDataForGlobalRust'
# development-stage request
#gis_url = 'http://197.156.117.171/WRSIS/gisapi/getRustSurveyDataForGlobalRust'
# proposed final url - accesses the 'published' authenticated survey data, so
# waits for quality control
gis_url = 'http://197.156.117.171/WRSIS/gisapi/getUKMetSurveydata'
# TODO: test the final url for raw survey data, yet to be provided by CSM
cred_fn = 'Cred-WRSIS-API.json'
......@@ -67,6 +72,11 @@ elif r.status_code in status_codes:
else:
print("HTTP response did not succeed OK, unknown code {:d}".format(r.status_code))
# TODO: test the sending of GIS data (use the zipped file format returned from CSM)
gis_send_url = 'http://197.156.117.171/WRSIS/gisapi/uploadGisZipFile'
# public IP: 134.164.122.165
print('Finished script')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment