projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds alarm engine
[osm/MON.git]
/
osm_mon
/
core
/
auth.py
diff --git
a/osm_mon/core/auth.py
b/osm_mon/core/auth.py
index
fa80256
..
71a817e
100644
(file)
--- a/
osm_mon/core/auth.py
+++ b/
osm_mon/core/auth.py
@@
-23,15
+23,19
@@
##
import json
##
import json
+import logging
from osm_mon.core.database import VimCredentials, DatabaseManager
from osm_mon.core.database import VimCredentials, DatabaseManager
+log = logging.getLogger(__name__)
+
class AuthManager:
def __init__(self):
self.database_manager = DatabaseManager()
def store_auth_credentials(self, creds_dict):
class AuthManager:
def __init__(self):
self.database_manager = DatabaseManager()
def store_auth_credentials(self, creds_dict):
+ log.info(creds_dict)
credentials = VimCredentials()
credentials.uuid = creds_dict['_id']
credentials.name = creds_dict['name']
credentials = VimCredentials()
credentials.uuid = creds_dict['_id']
credentials.name = creds_dict['name']