Removed status_topic config parameter

In this changeset, I removed the now obsolete status_topic config
option.

DocImpact
Partially Implements: blueprint watcher-notifications-ovo

Change-Id: Icfc03abd875b77fc456bfa286ac2b5774651e8fa
This commit is contained in:
Vincent Françoise
2016-11-09 17:04:50 +01:00
parent 395ccbd94c
commit cdda06c08c
9 changed files with 42 additions and 111 deletions

View File

@@ -21,6 +21,7 @@ from oslo_config import cfg
from watcher.common import exception
from watcher.common import service
from watcher.common import service_manager
from watcher.common import utils
from watcher.decision_engine import manager
@@ -45,7 +46,7 @@ class DecisionEngineAPI(service.Service):
context, 'trigger_audit', audit_uuid=audit_uuid)
class DecisionEngineAPIManager(object):
class DecisionEngineAPIManager(service_manager.ServiceManager):
@property
def service_name(self):
@@ -63,10 +64,6 @@ class DecisionEngineAPIManager(object):
def conductor_topic(self):
return CONF.watcher_decision_engine.conductor_topic
@property
def status_topic(self):
return CONF.watcher_decision_engine.status_topic
@property
def notification_topics(self):
return []
@@ -75,10 +72,6 @@ class DecisionEngineAPIManager(object):
def conductor_endpoints(self):
return []
@property
def status_endpoints(self):
return []
@property
def notification_endpoints(self):
return []