This specification proposes to add api calls that allows to update objects that currently cant be updated this way.
Current Sahara API doesn’t support update of some objects, which can be required by some other features (for example it’s needed for shared and protected resources implementation that will be proposed in ACL spec later).
Updates are already implemented for node group templates, cluster templates, job binaries, data sources and should be done for clusters, jobs, job executions and job binary internals.
Update operation will be added for cluster, job, job execution and job binary internal objects.
For clusters and jobs only description and name update will be allowed for now. For job binary internals only name will be allowed to update. There is nothing will be allowed to update for job executions, only corresponding methods will be added.
Also will be added support of PATCH HTTP method to modify existing resources. It will be implemented the same way as current PUT method.
Following API calls will be added:
This update methods will be added to saharaclient API.
This update methods will not be added to Horizon yet, but will be added later as part of ACL spec.
Unit tests and API tests in tempest will be added.
Sahara REST API documentation in api-ref will be updated.