Merge "separate visualization building from dashboard building"
[releng.git] / utils / test / result_collection_api / opnfv_testapi / resources / project_handlers.py
index 191a933..1e9a972 100644 (file)
@@ -1,4 +1,12 @@
-from opnfv_testapi.tornado_swagger_ui.tornado_swagger import swagger
+##############################################################################
+# Copyright (c) 2015 Orange
+# guyrodrigue.koffi@orange.com / koffirodrigue@gmail.com
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+from opnfv_testapi.tornado_swagger import swagger
 from handlers import GenericApiHandler
 from opnfv_testapi.common.constants import HTTP_FORBIDDEN
 from project_models import Project
@@ -30,7 +38,7 @@ class ProjectCLHandler(GenericProjectHandler):
             @param body: project to be created
             @type body: L{ProjectCreateRequest}
             @in body: body
-            @rtype: L{Project}
+            @rtype: L{CreateResponse}
             @return 200: project is created.
             @raise 403: project already exists
             @raise 400:  body or name not provided