Code Review
/
multicloud
/
framework.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge Multipart API with InfraWorkload
[multicloud/framework.git]
/
multivimbroker
/
multivimbroker
/
scripts
/
api.py
diff --git
a/multivimbroker/multivimbroker/scripts/api.py
b/multivimbroker/multivimbroker/scripts/api.py
index
01b69a2
..
b9526d7
100644
(file)
--- a/
multivimbroker/multivimbroker/scripts/api.py
+++ b/
multivimbroker/multivimbroker/scripts/api.py
@@
-12,9
+12,13
@@
import eventlet
eventlet.monkey_patch()
import eventlet
eventlet.monkey_patch()
+import os # noqa
from oslo_config import cfg # noqa
from oslo_service import service # noqa
import sys # noqa
from oslo_config import cfg # noqa
from oslo_service import service # noqa
import sys # noqa
+# FIXME: Since there is no explicitly setup process for the project. Hack the
+# python here.
+sys.path.append(os.path.abspath('.'))
from multivimbroker.api_v2 import service as api_service # noqa
from multivimbroker.api_v2 import service as api_service # noqa