<div dir="ltr"><div>So we have a blueprint for this and there are a couple things to point out that have changed since the inception of this BP.</div><div><br></div><a href="https://blueprints.launchpad.net/trove/+spec/configuration-management">https://blueprints.launchpad.net/trove/+spec/configuration-management</a><div>
<br></div><div>This is an overview of the API calls for </div><div><br></div><div><pre class="" style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;width:744px;margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0)">
<div class="" id="file-gistfile1-txt-LC1">POST /configurations - create config</div><div class="" id="file-gistfile1-txt-LC2">GET /configurations - list all configs</div><div class="" id="file-gistfile1-txt-LC3">PUT /configurations/{id} - update all the parameters</div>
<div class="" id="file-gistfile1-txt-LC4">GET /configurations/{id} - get details on a single config</div><div class="" id="file-gistfile1-txt-LC6">GET /configurations/{id}/{key} - get single parameter value that was set for the configuration</div>
<div class="" id="file-gistfile1-txt-LC6">PUT /configurations/{id}/{key} - update/insert a single parameter<br></div><div class="" id="file-gistfile1-txt-LC7">DELETE /configurations/{id}/{key} - delete a single parameter</div>
<div class="" id="file-gistfile1-txt-LC8">GET /configurations/{id}/instances - list of instances the config is assigned to</div><div class="" id="file-gistfile1-txt-LC9">GET /configurations/parameters - list of all configuration parameters</div>
<div class="" id="file-gistfile1-txt-LC10">GET /configurations/parameters/{key} - get details on a configuration parameter</div></pre><div><br></div></div><div>There has been talk about using PATCH http action instead of PUT action for thie update of individual parameter(s).</div>
<div><br></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">PUT /configurations/{id}/{key} - update/insert a single parameter</span><br>
</div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">and/or</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre">PATCH /configurations/{id} - update/insert parameter(s)</span><span style="color:rgb(0,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre"><br>
</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre"><br></span></div><div>I am not sold on the idea of using PATCH unless its widely used in other projects across Openstack. What does everyone think about this?</div>
<div><br></div><div>If there are any concerns around this please let me know.</div><div><br></div><div>Thanks,</div><div>Craig Vyvial</div><div><br></div><div><br></div></div>