aboutsummaryrefslogtreecommitdiffstats
path: root/.gitmodules
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-10-16 11:49:42 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-10-16 11:49:42 +0200
commitf549b39b0ff9e4166dd0260090a12bf6e8e42c7c (patch)
tree7fba6abe49441bdea0212cb0d138b825e8c9fb2f /.gitmodules
parent68d82378787544cac8886bd719b9ada2765e24cb (diff)
Take new stor4vnf and clover branches into a account
Change-Id: I92923338d156cecb2e4e4b57f50e016c99724fd7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions
highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
##############################################################################
# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
#
# 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 __future__ import absolute_import
import logging
import os

from flasgger.utils import swag_from

from api.base import ApiResource
from api.swagger import models

logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)


TestCaseActionModel = models.TestCaseActionModel
TestCaseActionArgsModel = models.TestCaseActionArgsModel
TestCaseActionArgsOptsModel = models.TestCaseActionArgsOptsModel
TestCaseActionArgsOptsTaskArgModel = models.TestCaseActionArgsOptsTaskArgModel


class Asynctask(ApiResource):
    def get(self):
        return self._dispatch_get()


class ReleaseAction(ApiResource):
    @swag_from(os.getcwd() + '/swagger/docs/release_action.yaml')
    def post(self):
        return self._dispatch_post()


class SamplesAction(ApiResource):

    def post(self):
        return self._dispatch_post()


TestSuiteActionModel = models.TestSuiteActionModel
TestSuiteActionArgsModel = models.TestSuiteActionArgsModel
TestSuiteActionArgsOptsModel = models.TestSuiteActionArgsOptsModel
TestSuiteActionArgsOptsTaskArgModel = \
    models.TestSuiteActionArgsOptsTaskArgModel


class TestsuitesAction(ApiResource):
    @swag_from(os.getcwd() + '/swagger/docs/testsuites_action.yaml')
    def post(self):
        return self._dispatch_post()


ResultModel = models.ResultModel


class Results(ApiResource):

    @swag_from(os.getcwd() + '/swagger/docs/results.yaml')
    def get(self):
        return self._dispatch_get()


class EnvAction(ApiResource):

    def post(self):
        return self._dispatch_post()