summaryrefslogtreecommitdiffstats
path: root/result_collection_api/opnfv_testapi/tornado_swagger/handlers.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-02 15:04:41 +0800
committerSerena Feng <feng.xiaowei@zte.com.cn>2016-06-02 07:10:37 +0000
commit8c8212b4487a2ba6005743ffbaaa2e6d31e08c75 (patch)
treefcbbda87983716737ae4af713a1348fa7e92b73e /result_collection_api/opnfv_testapi/tornado_swagger/handlers.py
parent5a70780d9bb105f8aef312d67cf1ec2e3751f0c3 (diff)
add copyright to files in testAPI
add copyright head to new created files JIRA: FUNCTEST-289 Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'result_collection_api/opnfv_testapi/tornado_swagger/handlers.py')
-rw-r--r--result_collection_api/opnfv_testapi/tornado_swagger/handlers.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/result_collection_api/opnfv_testapi/tornado_swagger/handlers.py b/result_collection_api/opnfv_testapi/tornado_swagger/handlers.py
index 8bcb966..2154b46 100644
--- a/result_collection_api/opnfv_testapi/tornado_swagger/handlers.py
+++ b/result_collection_api/opnfv_testapi/tornado_swagger/handlers.py
@@ -1,13 +1,17 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
+##############################################################################
+# Copyright (c) 2016 ZTE Corporation
+# feng.xiaowei@zte.com.cn
+# 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 URLSpec, StaticFileHandler
from settings import default_settings, \
SWAGGER_API_DOCS, SWAGGER_API_LIST, SWAGGER_API_SPEC
from views import SwaggerUIHandler, SwaggerResourcesHandler, SwaggerApiHandler
-__author__ = 'serena'
-
def swagger_handlers():
prefix = default_settings.get('swagger_prefix', '/swagger')