python-tempestconf/config_tempest/services/database.py
Martin Kopec e312be824d Remove SERVICE_NAMES
The rest of services listed in the SERVICE_NAMES got
a class implementation under config_tempest/services
directory in order to remove the hardcoded list of
services - SERVICE_NAMES.

Story: 2002787
Task: 29693

Change-Id: Ibc58236b581551f64dfaf21fb443ed8c1cc1282b
2019-03-05 21:44:28 +00:00

28 lines
823 B
Python

# Copyright 2019 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from config_tempest.services.base import Service
class DatabaseService(Service):
@staticmethod
def get_service_name():
return ['trove']
@staticmethod
def get_codename():
return 'trove'