summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/resources
diff options
context:
space:
mode:
Diffstat (limited to 'result_collection_api/opnfv_testapi/resources')
-rw-r--r--result_collection_api/opnfv_testapi/resources/dashboard_handlers.py9
-rw-r--r--result_collection_api/opnfv_testapi/resources/pod_handlers.py8
-rw-r--r--result_collection_api/opnfv_testapi/resources/pod_models.py10
-rw-r--r--result_collection_api/opnfv_testapi/resources/project_handlers.py8
-rw-r--r--result_collection_api/opnfv_testapi/resources/project_models.py10
-rw-r--r--result_collection_api/opnfv_testapi/resources/result_handlers.py8
-rw-r--r--result_collection_api/opnfv_testapi/resources/result_models.py8
-rw-r--r--result_collection_api/opnfv_testapi/resources/testcase_handlers.py8
-rw-r--r--result_collection_api/opnfv_testapi/resources/testcase_models.py10
9 files changed, 73 insertions, 6 deletions
diff --git a/result_collection_api/opnfv_testapi/resources/dashboard_handlers.py b/result_collection_api/opnfv_testapi/resources/dashboard_handlers.py
index 82bf8d2..84e7bc1 100644
--- a/result_collection_api/opnfv_testapi/resources/dashboard_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/dashboard_handlers.py
@@ -1,3 +1,12 @@
+##############################################################################
+# 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 tornado.web import HTTPError
from opnfv_testapi.common.constants import HTTP_NOT_FOUND
diff --git a/result_collection_api/opnfv_testapi/resources/pod_handlers.py b/result_collection_api/opnfv_testapi/resources/pod_handlers.py
index d9e6686..df4112f 100644
--- a/result_collection_api/opnfv_testapi/resources/pod_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/pod_handlers.py
@@ -1,3 +1,11 @@
+##############################################################################
+# 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 pod_models import Pod
diff --git a/result_collection_api/opnfv_testapi/resources/pod_models.py b/result_collection_api/opnfv_testapi/resources/pod_models.py
index 3e6f5a8..7231806 100644
--- a/result_collection_api/opnfv_testapi/resources/pod_models.py
+++ b/result_collection_api/opnfv_testapi/resources/pod_models.py
@@ -1,7 +1,13 @@
+##############################################################################
+# 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
-__author__ = '__serena__'
-
# name: name of the POD e.g. zte-1
# mode: metal or virtual
# details: any detail
diff --git a/result_collection_api/opnfv_testapi/resources/project_handlers.py b/result_collection_api/opnfv_testapi/resources/project_handlers.py
index 30fb402..171ab76 100644
--- a/result_collection_api/opnfv_testapi/resources/project_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/project_handlers.py
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
diff --git a/result_collection_api/opnfv_testapi/resources/project_models.py b/result_collection_api/opnfv_testapi/resources/project_models.py
index 1014254..f70630c 100644
--- a/result_collection_api/opnfv_testapi/resources/project_models.py
+++ b/result_collection_api/opnfv_testapi/resources/project_models.py
@@ -1,7 +1,13 @@
+##############################################################################
+# 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
-__author__ = '__serena__'
-
@swagger.model()
class ProjectCreateRequest(object):
diff --git a/result_collection_api/opnfv_testapi/resources/result_handlers.py b/result_collection_api/opnfv_testapi/resources/result_handlers.py
index 9358c71..4955472 100644
--- a/result_collection_api/opnfv_testapi/resources/result_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/result_handlers.py
@@ -1,3 +1,11 @@
+##############################################################################
+# 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 datetime import datetime, timedelta
from bson.objectid import ObjectId
diff --git a/result_collection_api/opnfv_testapi/resources/result_models.py b/result_collection_api/opnfv_testapi/resources/result_models.py
index b3bb95b..fb6a809 100644
--- a/result_collection_api/opnfv_testapi/resources/result_models.py
+++ b/result_collection_api/opnfv_testapi/resources/result_models.py
@@ -1,3 +1,11 @@
+##############################################################################
+# 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
diff --git a/result_collection_api/opnfv_testapi/resources/testcase_handlers.py b/result_collection_api/opnfv_testapi/resources/testcase_handlers.py
index 4b825f2..b4f9db9 100644
--- a/result_collection_api/opnfv_testapi/resources/testcase_handlers.py
+++ b/result_collection_api/opnfv_testapi/resources/testcase_handlers.py
@@ -1,3 +1,11 @@
+##############################################################################
+# 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.common.constants import HTTP_FORBIDDEN
from opnfv_testapi.resources.handlers import GenericApiHandler
from opnfv_testapi.resources.testcase_models import Testcase
diff --git a/result_collection_api/opnfv_testapi/resources/testcase_models.py b/result_collection_api/opnfv_testapi/resources/testcase_models.py
index e3718a6..c9dce60 100644
--- a/result_collection_api/opnfv_testapi/resources/testcase_models.py
+++ b/result_collection_api/opnfv_testapi/resources/testcase_models.py
@@ -1,7 +1,13 @@
+##############################################################################
+# 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
-__author__ = '__serena__'
-
@swagger.model()
class TestcaseCreateRequest(object):