Jump to: navigation, search

Trove/ConfigurationShellImprovements

Improve configuration-create shell comman

Description

Extend base shell call for configuration-create to accept database configuration file as is. For now python-troveclient has:

trove configuration-create <name> <values> --description <descr> --datastore_version <dv_id>

where <values> is a JSON structure.

It would be nice to have:

trove configuration-create <name> --from-file /etc/my.cnf --description <descr> --datastore_version <dv_id>


Justification/Benefits

Justification

From user perspective i might be able to use base database configuration files (like my.cnf, cassandra.yaml, etc.) instead of manually building JSON structure for CLI.

Benefits

No need to build JSON structure for shell call, just use `--config-file conf.conf`


Impacts

From python-troveclient usability perspective, the creation of configuration group whould be simplified due to improved use of CLI for configuration-create

Database

None

Configuration

None

Public API

None

Internal API

None

Guest Agent