diff options
author | Dan Xu <xudan16@huawei.com> | 2019-04-11 06:39:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-04-11 06:39:25 +0000 |
commit | dbcc039303c7f010348814694b8f75d621aa51e3 (patch) | |
tree | 2ecc14d87b24166c2e6d49f33103b63e1ca4c6fd /opnfv_testapi | |
parent | d32ce7d109fb36277681629c8e648777664862b2 (diff) | |
parent | 71bdc6752f47b7da7282f786570fbe717973fb6d (diff) |
Merge "Enhanced OVP Web Portal"
Diffstat (limited to 'opnfv_testapi')
-rw-r--r-- | opnfv_testapi/resources/test_handlers.py | 5 | ||||
-rw-r--r-- | opnfv_testapi/router/url_mappings.py | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/opnfv_testapi/resources/test_handlers.py b/opnfv_testapi/resources/test_handlers.py index 7ab20dc..7c5078a 100644 --- a/opnfv_testapi/resources/test_handlers.py +++ b/opnfv_testapi/resources/test_handlers.py @@ -294,11 +294,6 @@ class TestsGURHandler(GenericTestHandler): self.finish_request({'code': 403, 'msg': msg}) return - if not self.is_onap and not test['sut_label']: - msg = 'Please fill out SUT version before submission' - self.finish_request({'code': 403, 'msg': msg}) - return - query['owner'] = curr_user db_keys.append('owner') diff --git a/opnfv_testapi/router/url_mappings.py b/opnfv_testapi/router/url_mappings.py index 65c8480..4dc4893 100644 --- a/opnfv_testapi/router/url_mappings.py +++ b/opnfv_testapi/router/url_mappings.py @@ -56,6 +56,7 @@ mappings = [ (r'/api/v1/auth/signin_return_cas', sign.SigninReturnCasHandler), (r'/api/v1/auth/signout', sign.SignoutHandler), (r'/api/v1/profile', user.ProfileHandler), + (r'/api/v1/reviews', review_handlers.ReviewsCLHandler) ] |