X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fintegration%2Fsmo%2Fcommon%2Fidentity%2Fconfig.py;h=9c1ec2829cf416688ac0076c1895c2543f260f58;hb=f8d075e545c3539b494b5834ebcade9eedc536d5;hp=649026c109148cca5c1dadb7405f80ae1ddf3542;hpb=a93cb37412d81b4034fd6005d009d6bac412a6d9;p=oam.git diff --git a/solution/integration/smo/common/identity/config.py b/solution/integration/smo/common/identity/config.py index 649026c..9c1ec28 100644 --- a/solution/integration/smo/common/identity/config.py +++ b/solution/integration/smo/common/identity/config.py @@ -24,7 +24,7 @@ import getpass # 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' @@ -54,7 +54,7 @@ def getToken(): 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.')