https://wiki.openstack.org/w/index.php?title=Trove/ConfigurationShellImprovements&feed=atom&action=historyTrove/ConfigurationShellImprovements - Revision history2024-03-28T21:57:31ZRevision history for this page on the wikiMediaWiki 1.28.2https://wiki.openstack.org/w/index.php?title=Trove/ConfigurationShellImprovements&diff=59400&oldid=prevDenis M.: Created page with "= Improve configuration-create shell comman = == Description == Extend base shell call for configuration-create to accept database configuration file as is. For now python-t..."2014-07-30T10:30:14Z<p>Created page with "= Improve configuration-create shell comman = == Description == Extend base shell call for configuration-create to accept database configuration file as is. For now python-t..."</p>
<p><b>New page</b></p><div>= Improve configuration-create shell comman =<br />
<br />
== Description ==<br />
<br />
Extend base shell call for configuration-create to accept database configuration file as is.<br />
For now python-troveclient has:<br />
<br />
''trove configuration-create <name> <values> --description <descr> --datastore_version <dv_id>''<br />
<br />
where <values> is a JSON structure.<br />
<br />
It would be nice to have:<br />
<br />
''trove configuration-create <name> --from-file /etc/my.cnf --description <descr> --datastore_version <dv_id>''<br />
<br />
<br />
= Justification/Benefits =<br />
<br />
== Justification ==<br />
<br />
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.<br />
<br />
== Benefits ==<br />
No need to build JSON structure for shell call, just use `--config-file conf.conf`<br />
<br />
<br />
= Impacts =<br />
From python-troveclient usability perspective, the creation of configuration group whould be simplified due to improved use of CLI for configuration-create<br />
== Database ==<br />
None<br />
== Configuration ==<br />
None<br />
== Public API ==<br />
None<br />
== Internal API ==<br />
None<br />
<br />
== Guest Agent==</div>Denis M.