ambari-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/AMBARI-10543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498643#comment-14498643
] 

Hudson commented on AMBARI-10543:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2338 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2338/])
AMBARI-10543. String matches does not work on metrics property of Widget response. (swagle:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5bb1faefb10bce6f2eee5d65d98f4ad9e05d4e8d)
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/WidgetResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/WidgetResourceProvider.java


> 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