projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug 1414, bug 1435 & bug 1438 - Multi-tenancy with keystone as backend
[osm/MON.git]
/
osm_mon
/
core
/
keystone.py
diff --git
a/osm_mon/core/keystone.py
b/osm_mon/core/keystone.py
index
d79ea89
..
98a8d78
100644
(file)
--- a/
osm_mon/core/keystone.py
+++ b/
osm_mon/core/keystone.py
@@
-56,3
+56,9
@@
class KeystoneConnection:
Grabs projects from keystone using the client and session build in the constructor
"""
return self.keystone_client.projects.list()
Grabs projects from keystone using the client and session build in the constructor
"""
return self.keystone_client.projects.list()
+
+ def getUserById(self, user_id):
+ """
+ Grabs user object from keystone using user id
+ """
+ return self.keystone_client.users.get(user_id)