ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-10543) String matches does not work on metrics property of Widget response
Date Thu, 16 Apr 2015 18:18:58 GMT

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

Siddharth Wagle resolved AMBARI-10543.
--------------------------------------
    Resolution: Fixed

Pushed to trunk.

> 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
>             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.3.4#6332)

Mime
View raw message