summaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/router
diff options
context:
space:
mode:
Diffstat (limited to 'opnfv_testapi/router')
-rw-r--r--opnfv_testapi/router/url_mappings.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/opnfv_testapi/router/url_mappings.py b/opnfv_testapi/router/url_mappings.py
index 1eb74ad..65c8480 100644
--- a/opnfv_testapi/router/url_mappings.py
+++ b/opnfv_testapi/router/url_mappings.py
@@ -13,6 +13,7 @@ from opnfv_testapi.resources import test_handlers
from opnfv_testapi.resources import application_handlers
from opnfv_testapi.resources import pod_handlers
from opnfv_testapi.resources import project_handlers
+from opnfv_testapi.resources import review_handlers
from opnfv_testapi.resources import scenario_handlers
from opnfv_testapi.resources import sut_handlers
from opnfv_testapi.resources import testcase_handlers
@@ -57,3 +58,17 @@ mappings = [
(r'/api/v1/profile', user.ProfileHandler),
]
+
+onap_mappings = [
+ (r'/api/v1/onap/results', result_handlers.ResultsCLHandler,
+ dict(is_onap=True)),
+ (r'/api/v1/onap/results/upload', result_handlers.ResultsUploadHandler,
+ dict(is_onap=True)),
+ (r'/api/v1/onap/tests', test_handlers.TestsCLHandler,
+ dict(is_onap=True)),
+ (r"/api/v1/onap/tests/([^/]+)", test_handlers.TestsGURHandler,
+ dict(is_onap=True)),
+ (r'/api/v1/onap/cvp/applications',
+ application_handlers.ApplicationsCLHandler, dict(is_onap=True)),
+ (r'/api/v1/onap/reviews', review_handlers.ReviewsCLHandler),
+]