Merge "Implement add_consumer, remove_consumer KeyManager APIs"

This commit is contained in:
Zuul 2023-12-15 19:11:40 +00:00 committed by Gerrit Code Review
commit 8652acbbb4

View File

@ -146,6 +146,16 @@ class ConfKeyManager(key_manager.KeyManager):
LOG.warning("Not deleting key %s", managed_object_id)
def add_consumer(self, context, managed_object_id, consumer_data):
raise NotImplementedError(
'ConfKeyManager does not implement adding consumers'
)
def remove_consumer(self, context, managed_object_id, consumer_data):
raise NotImplementedError(
'ConfKeyManager does not implement removing consumers'
)
def list(self, context, object_type=None, metadata_only=False):
"""Retrieves a list of managed objects that match the criteria.