Resource types should allow dynamic changes

Bug #1615077 reported by Nicolas Vila on 2016-08-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnocchi
In Progress
Wishlist
Mehdi Abaakouk

Bug Description

After you declare a resource type you can no longer modify it. If a resource type needs to be altered, one has to delete all resources associated to that type, delete it, create it again and let all resources to be created again (thus losing all data).

Julien Danjou (jdanjou) wrote :

Yeah I know this is on sileht's TODO list.

Changed in gnocchi:
status: New → Triaged
importance: Undecided → Wishlist
Changed in gnocchi:
assignee: nobody → fengchaoyang (fengchaoyang)

Fix proposed to branch: master
Review: https://review.openstack.org/368381

Changed in gnocchi:
status: Triaged → In Progress
Mehdi Abaakouk (sileht) on 2016-09-11
Changed in gnocchi:
assignee: fengchaoyang (fengchaoyang) → Mehdi Abaakouk (sileht)

Change abandoned by gordon chung (<email address hidden>) on branch: master
Review: https://review.openstack.org/368381

Reviewed: https://review.openstack.org/363737
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=6163dfbde885e9ff71e0edc15b48f56ba71c1667
Submitter: Jenkins
Branch: master

commit 6163dfbde885e9ff71e0edc15b48f56ba71c1667
Author: Mehdi Abaakouk <email address hidden>
Date: Mon Apr 4 09:08:05 2016 +0200

    Allow to update resource-type (add attributes)

    This change allows to patch a resource type.

    The patch payload format is the RFC6902.

    For now, only operation add on /attributes path is allowed.

    Partial-Bug: #1615077

    Change-Id: Ia88396dbe771f916f9e72d7072caa03d30a8e693

Reviewed: https://review.openstack.org/363770
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=593fd452686e69503dcf68a68bd88d554667a226
Submitter: Jenkins
Branch: master

commit 593fd452686e69503dcf68a68bd88d554667a226
Author: Mehdi Abaakouk <email address hidden>
Date: Wed Aug 31 17:25:10 2016 +0200

    Allow to update resource-type (delete attributes)

    This change extends the resource type patch to
    allow to delete attributes.

    Partial-Bug: #1615077

    Change-Id: Iea24c075755a0e75f618ba8498515b2f8baa0a2c

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers