diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-11-18 23:27:41 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-11-19 09:28:56 +1300 |
commit | d51b163e991f16acf2d542d99cbb2f2358feb9bc (patch) | |
tree | 49eb577a677a023c926c410aeba1cb07f9fe6dd6 /trove/common | |
parent | bf1ee5e8f29f286d2dee853db19912ea01ea4c78 (diff) | |
download | trove-d51b163e991f16acf2d542d99cbb2f2358feb9bc.tar.gz |
Support datastore version number for creating configuration
* Support "version_number" for creating configuration.
* Fixed a bug for deleting datastore version, the config parameters should be
deleted first.
* Support "--version" for trove-manage datastore_config_parameters
sub-commands.
Change-Id: Ieb0def81f2347c06a05eb354ad36b4fa807f7621
Story: 2008358
Task: 41264
Diffstat (limited to 'trove/common')
-rw-r--r-- | trove/common/apischema.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trove/common/apischema.py b/trove/common/apischema.py index d1dec146..4c799992 100644 --- a/trove/common/apischema.py +++ b/trove/common/apischema.py @@ -821,7 +821,8 @@ configuration = { "additionalProperties": True, "properties": { "type": non_empty_string, - "version": non_empty_string + "version": non_empty_string, + "version_number": non_empty_string } } } |