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
This commit is contained in:
27
config_tempest/services/messaging.py
Normal file
27
config_tempest/services/messaging.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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 MessagingService(Service):
|
||||
|
||||
@staticmethod
|
||||
def get_service_name():
|
||||
return ['zaqar']
|
||||
|
||||
@staticmethod
|
||||
def get_codename():
|
||||
return 'zaqar'
|
||||
Reference in New Issue
Block a user