# global configurations
# TODO: read from ../.env
-base = 'http://localhost:8081'
+base = 'https://identity:8463'
username = 'admin'
password = 'Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U'
realmFile = os.path.dirname(os.path.abspath(__file__)) + '/o-ran-sc-realm.json'
raise SystemExit(e)
if response.status_code >= 200 and response.status_code < 300:
- print('Got tocken!')
+ print('Got token!')
return response.json()['access_token']
else:
sys.exit('Getting token failed.')