You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2017/06/12 21:11:00 UTC

[jira] [Assigned] (AMBARI-10543) String matches does not work on metrics property of Widget response

     [ https://issues.apache.org/jira/browse/AMBARI-10543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yusaku Sako reassigned AMBARI-10543:
------------------------------------

    Assignee: Ivan Kozlov

> String matches does not work on metrics property of Widget response
> -------------------------------------------------------------------
>
>                 Key: AMBARI-10543
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10543
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Ivan Kozlov
>             Fix For: 2.1.0
>
>
> *Following API does not work*
> http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets?Widgets/widget_type=HEATMAP&Widgets/metrics.matches(\"service_name\":\"HDFS\")
> *Note: Following  similar API works*
> http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets?Widgets/widget_type=HEATMAP&Widgets/widget_name.matches(HOST_DISK_USED)
> {code:title=Response}
> {
>   "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets?Widgets/widget_type=HEATMAP&Widgets/widget_name.matches(HOST_DISK_USED)",
>   "items" : [
>     {
>       "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/widgets/1",
>       "Widgets" : {
>         "author" : "ambari",
>         "cluster_name" : "c1",
>         "display_name" : "Host Disk Space Used %",
>         "id" : 1,
>         "scope" : "CLUSTER",
>         "widget_name" : "HOST_DISK_USED",
>         "widget_type" : "HEATMAP"
>       }
>     }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)