You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2013/11/06 20:58:17 UTC
[jira] [Updated] (AMBARI-3706) Absent cluster name validation on
query for Requests
[ https://issues.apache.org/jira/browse/AMBARI-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Beerbower updated AMBARI-3706:
----------------------------------
Attachment: AMBARI-3706.patch
> Absent cluster name validation on query for Requests
> ----------------------------------------------------
>
> Key: AMBARI-3706
> URL: https://issues.apache.org/jira/browse/AMBARI-3706
> Project: Ambari
> Issue Type: Bug
> Reporter: Tom Beerbower
> Assignee: Tom Beerbower
> Attachments: AMBARI-3706.patch
>
>
> On following request:
> /api/v1/clusters/<any-value>/requests?fields=Requests
> UI recieve succesfull response with invalid cluster name value, instead of error:
> {noformat}
> {
> "href" : "http://192.168.56.101:8080/api/v1/clusters/<any-value>/requests?fields=Requests",
> "items" : [
> {
> "href" : "http://192.168.56.101:8080/api/v1/clusters/<any-value>/requests/1",
> "Requests" : {
> "aborted_task_count" : 0,
> "cluster_name" : "<any-value>",
> "completed_task_count" : 27,
> "failed_task_count" : 0,
> "id" : 1,
> "progress_percent" : 100.0,
> "queued_task_count" : 0,
> "request_context" : "Install Services",
> "request_status" : "COMPLETED",
> "task_count" : 27,
> "timed_out_task_count" : 0
> }
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1#6144)