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

Hudson commented on AMBARI-7626:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #464 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/464/])
AMBARI-7626. Slider View: UI should not use view parameters. (onechiporenko via 
srimanth) (sgunturi: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=659682d86f1013af114132b1647a8a6bff046441)
* 
contrib/views/slider/src/main/resources/ui/test/integration/pages/index_test.js
* 
contrib/views/slider/src/main/resources/ui/app/views/slider_app/summary_view.js
* contrib/views/slider/src/main/resources/ui/app/templates/application.hbs
* 
contrib/views/slider/src/main/resources/ui/test/integration/pages/slider_errors_test.js
* 
contrib/views/slider/src/main/resources/ui/app/assets/data/resource/slider-properties-2.json
* 
contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
* contrib/views/slider/src/main/resources/ui/app/models/slider_config.js
* 
contrib/views/slider/src/main/resources/ui/app/controllers/slider_controller.js
* contrib/views/slider/src/main/resources/ui/app/styles/common.less
* contrib/views/slider/src/main/resources/ui/app/routes/main.js
* contrib/views/slider/src/main/resources/ui/app/helpers/ajax.js
* contrib/views/slider/src/main/resources/ui/app/initialize.js


> Slider View: UI should not use view parameters.
> -----------------------------------------------
>
>                 Key: AMBARI-7626
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7626
>             Project: Ambari
>          Issue Type: Task
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7626.patch
>
>
> The view framework will no longer be making view 'parameters' available in 
> the API (ViewInstanceInfo.parameters) for non-admins. So Slider-View UI 
> should no longer use ViewInstanceInfo.parameters information given in 
> {{/api/v1/views/SLIDER/versions/1.0.0/instances/sv1}} path.
> However, this information will be moved to a new location - 
> {{/api/v1/views/SLIDER/versions/1.0.0/instances/sv1/status}}. The response 
> will be like below:
> {code}
> {
>   "version": "1.0.0",
>   "validation": [
>     {
>       "message": "HDFS server is not installed on cluster",
>       "type": "ERROR"
>     },
>     {
>       "message": "YARN server is not started on cluster",
>       "type": "ERROR"
>     }
>   ],
>   "parameters": {
>     "gangliaHost": "c6401.ambari.apache.org",
>     "gangliaClusters": "App1:8881,App2:8882"
>   }
> }
> {code}
> The {{/status}} endpoint *will have only 2 parameters* - ganglia host, and 
> list of ganglia clusters. These will be provided only for populating dropdown 
> in create wizard, and populating links in app page. Other parameters will not 
> be shown to the user (security issues). 
> The {{validation}} array should be shown to the user as a list inside 1 error 
> message area on top of the Slider Apps table. 
> The call to {{/status}} should refresh every 30 seconds. Error messages 
> should be shown and hidden, as validation issues appear and go away in REST 
> API response.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to