resource updating methods should be using PATCH instead of PUT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Invalid
|
Undecided
|
Unassigned |
Bug Description
there are currently a few methods for updating resources in sahara that use PUT with a partial resource update. while this works, it would be more accurate to make them PATCH methods. this change should occur in both the sahara controller and the saharaclient packages.
the problem being addressed here is that there are 2 different methodologies in use within sahara for updating objects and it creates a confusing view of the REST API. by making these all use PATCH it will be more clear the intended usage of the methods.
the affected methods are for updating node group templates, cluster templates, job binaries, and data sources.
for reference on partial updating, see https:/
description: | updated |
Changed in sahara: | |
assignee: | nobody → willy lin (willy-l) |
Changed in sahara: | |
assignee: | willy lin (willy-l) → nobody |
Fix proposed to branch: master /review. openstack. org/212917
Review: https:/