diff options
author | Eddie Arrage <eddie.arrage@huawei.com> | 2018-05-31 23:59:31 +0000 |
---|---|---|
committer | Georg Kunz <georg.kunz@ericsson.com> | 2018-06-07 09:25:12 +0000 |
commit | 772983d58e28848f3945eccd278adf8cbb01a262 (patch) | |
tree | a07102184166227ae71c1e9272e331ee27c36acd /cvp/opnfv_testapi/router | |
parent | b37fe7b72a6b6b2ba63eb4f8761c91975344a14e (diff) |
Add improvements to OVP directory and logo upload
- Formatting changes to directory on home page based
on OPNFV marketing
- Updated branding guide link
- Added test_id field to mongo applications collection
to associate to approved results for directory
- Set Test ID from user accounts with administrator
role in Applications view
- Provide file upload function for administrator to
post company logos for OVP directory
- Company logos are stored and served through tornado
from cvp-cvpapi container rather than cvp-web
JIRA: DOVETAIL-663
JIRA: DOVETAIL-664
Change-Id: I1226b42883afa2ea2eb5551e3836211abbb94b20
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
Diffstat (limited to 'cvp/opnfv_testapi/router')
-rw-r--r-- | cvp/opnfv_testapi/router/url_mappings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cvp/opnfv_testapi/router/url_mappings.py b/cvp/opnfv_testapi/router/url_mappings.py index 83190ee4..e1d4c181 100644 --- a/cvp/opnfv_testapi/router/url_mappings.py +++ b/cvp/opnfv_testapi/router/url_mappings.py @@ -24,6 +24,10 @@ mappings = [ (r"/api/v1/tests", test_handlers.TestsCLHandler), (r"/api/v1/tests/([^/]+)", test_handlers.TestsGURHandler), + (r"/api/v1/cvp/applications/getlogo/([^/]+)", + application_handlers.ApplicationsGetLogoHandler), + (r"/api/v1/cvp/applications/uploadlogo", + application_handlers.ApplicationsLogoHandler), (r"/api/v1/cvp/applications", application_handlers.ApplicationsCLHandler), (r"/api/v1/cvp/applications/([^/]+)", application_handlers.ApplicationsGURHandler), |