No handler to return cluster graphs available for cluster

Bug #1606931 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ilya Kutukov
Mitaka
Fix Released
High
Ilya Kutukov

Bug Description

Need to imlement the following handler

GET /api/graphs/?cluster_id=<cluster_id>/

that should return all custom graphs related to a particular cluster (graphs of all levels: release, cluster, plugins)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Confirmed → In Progress
Dmitry Pyzhov (dpyzhov)
tags: added: 9.1-proposed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/354822

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/348104
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=9c75a4db71505acb0d5cb100aabdc03699e3f507
Submitter: Jenkins
Branch: master

commit 9c75a4db71505acb0d5cb100aabdc03699e3f507
Author: Ilya Kutukov <email address hidden>
Date: Thu Jul 28 05:16:06 2016 +0300

    Now it is possible to filter /api/v1/graphs/ output

    following filter parameters are possible:

    /api/v1/graphs/?clusters_ids=cluster1,cluster2&fetch_related=1
    /api/v1/graphs/?plugins_ids=plugin1
    /api/v1/graphs/?releases_ids=release1,release2

    /api/v1/graphs/?graph_types=my-graph-type

    `fetch_related` option working only for 'cluster' level telling Nailgun to include
    all graphs related to plugins enabled for this cluster and tis cluster's release.

    Logic of work:
    (releases OR plugins OR clusters) AND type

    Change-Id: Ib1d6dcd4483451dc71a701beb13805098380e22f
    Closes-Bug: #1606931

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/354822
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=a904983d2e059d6b328d440e7c27ce65263d31f8
Submitter: Jenkins
Branch: stable/mitaka

commit a904983d2e059d6b328d440e7c27ce65263d31f8
Author: Ilya Kutukov <email address hidden>
Date: Thu Jul 28 05:16:06 2016 +0300

    Now it is possible to filter /api/v1/graphs/ output

    following filter parameters are possible:

    /api/v1/graphs/?clusters_ids=cluster1,cluster2&fetch_related=1
    /api/v1/graphs/?plugins_ids=plugin1
    /api/v1/graphs/?releases_ids=release1,release2

    /api/v1/graphs/?graph_types=my-graph-type

    `fetch_related` option working only for 'cluster' level telling Nailgun to include
    all graphs related to plugins enabled for this cluster and tis cluster's release.

    Logic of work:
    (releases OR plugins OR clusters) AND type

    Change-Id: Ib1d6dcd4483451dc71a701beb13805098380e22f
    Closes-Bug: #1606931
    (cherry picked from commit 9c75a4db71505acb0d5cb100aabdc03699e3f507)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/359901
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=343748c5d864cd4b20259c8aad532a87bd012eaa
Submitter: Jenkins
Branch: stable/mitaka

commit 343748c5d864cd4b20259c8aad532a87bd012eaa
Author: Julia Aranovich <email address hidden>
Date: Wed Aug 17 12:37:26 2016 +0300

    Fetch all workflows related to cluster

    Implements blueprint ui-custom-graph

    Partial-Bug: #1606931

    Change-Id: I75dddbf1f8721d927162bc1be198f57851071606

tags: added: in-stable-mitaka
tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.1 snapshot #250.

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0rc1

This issue was fixed in the openstack/fuel-web 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0

This issue was fixed in the openstack/fuel-web 10.0.0 release.

Revision history for this message
Ekaterina Khomyakova (ekhomyakova) wrote :

Verified on Fuel 10 #1355

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.