diff options
author | Morgan Jones <morgan@parelastic.com> | 2016-08-22 14:33:31 -0400 |
---|---|---|
committer | Morgan Jones <morgan@parelastic.com> | 2016-10-03 16:33:16 -0400 |
commit | bea853a4cb82be718f6779a8db81f5750ca39fff (patch) | |
tree | f317458eae06348c2985d35fcde2a02b9efed1db /trove/common/notification.py | |
parent | 41f3dd6920eb60d438e1542e9994319c08e44461 (diff) | |
download | trove-bea853a4cb82be718f6779a8db81f5750ca39fff.tar.gz |
Cluster Upgrade
Implement the framework for cluster upgrade, including the REST API
and the Cluster implementation with default BadRequest return.
This change does not include datastore implementations.
Implements blueprint: bp/cluster-upgrade
Depends-On: Iedb08c99bf8eb2a0b0d09e3c1ebd11965fdfff90
Change-Id: Ifde78a0ee80855e7e298b10a9ec2c8e535190205
Diffstat (limited to 'trove/common/notification.py')
-rw-r--r-- | trove/common/notification.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/trove/common/notification.py b/trove/common/notification.py index be7c96bf..70919ee4 100644 --- a/trove/common/notification.py +++ b/trove/common/notification.py @@ -564,6 +564,17 @@ class DBaaSClusterCreate(DBaaSAPINotification): return ['cluster_id'] +class DBaaSClusterUpgrade(DBaaSAPINotification): + + @abc.abstractmethod + def event_type(self): + return 'cluster_upgrade' + + @abc.abstractmethod + def required_start_traits(self): + return ['cluster_id', 'datastore_version'] + + class DBaaSClusterDelete(DBaaSAPINotification): @abc.abstractmethod |