summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/router/url_mappings.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/router/url_mappings.py')
-rw-r--r--utils/test/testapi/opnfv_testapi/router/url_mappings.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/test/testapi/opnfv_testapi/router/url_mappings.py b/utils/test/testapi/opnfv_testapi/router/url_mappings.py
index 7bd34300f..d68670185 100644
--- a/utils/test/testapi/opnfv_testapi/router/url_mappings.py
+++ b/utils/test/testapi/opnfv_testapi/router/url_mappings.py
@@ -16,7 +16,8 @@ from opnfv_testapi.resources import result_handlers
from opnfv_testapi.resources import scenario_handlers
from opnfv_testapi.resources import testcase_handlers
from opnfv_testapi.ui import root
-from opnfv_testapi.ui.auth import handlers as auth_handlers
+from opnfv_testapi.ui.auth import sign
+from opnfv_testapi.ui.auth import user
mappings = [
# GET /versions => GET API version
@@ -59,6 +60,7 @@ mappings = [
{'path': config.Config().static_path}),
(r'/', root.RootHandler),
- (r'/api/v1/auth/signin', auth_handlers.SigninHandler),
- (r'/api/v1/auth/signin_return', auth_handlers.SigninReturnHandler),
+ (r'/api/v1/auth/signin', sign.SigninHandler),
+ (r'/api/v1/auth/signin_return', sign.SigninReturnHandler),
+ (r'/api/v1/profile', user.ProfileHandler),
]