Commit b92fdf18 authored by Jie Yuan's avatar Jie Yuan
Browse files

change the url to prod

parent a0713894
......@@ -319,11 +319,14 @@ class SVMONReport:
load_dict = json.load(f)
if load_dict.has_key('token') and load_dict.get('token') != '':
mytoken = load_dict.get('token')
else:
print("Please configure api token")
exit(1)
url = 'https://svmon-dev-test.scc.kit.edu:8443/api/serviceComponent/jsonreport'
url = 'https://svmon.eudat.eu:8443/api/serviceComponent/jsonreport'
headers = {}
headers['Content-Type'] = 'application/json'
headers['Authorization'] = 'Bearer ' + mytoken
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment