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

Hudson commented on AMBARI-10171:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #2092 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2092/])
AMBARI-10171 Widget layout on service summary page should be API driven. 
(atkach) (atkach: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=db4729f4d1e4c77a42806c3ea126902a6a8b87ed)
* ambari-web/app/assets/data/hosts/HDP2/hosts.json
* ambari-web/app/assets/data/metrics/HBASE/Delete_95th_percentile.json
* ambari-web/app/models/widget_layout.js
* ambari-web/app/assets/data/metrics/HBASE/Append_num_ops.json
* ambari-web/app/assets/data/metrics/HBASE/Scan_num_ops.json
* ambari-web/app/assets/data/metrics/HBASE/Increment_95th_percentile.json
* ambari-web/app/assets/data/dashboard/HDP2/master_components.json
* ambari-web/app/assets/data/widget_layouts/HBASE/filled_user_layout.json
* ambari-web/app/assets/data/metrics/HBASE/Get_95th_percentile.json
* ambari-web/app/assets/data/metrics/HBASE/numCallsInGeneralQueue.json
* ambari-web/test/controllers/main/service/item_test.js
* ambari-web/app/assets/data/metrics/HBASE/Get_num_ops.json
* ambari-web/app/assets/data/metrics/HBASE/Append_95th_percentile.json
* ambari-web/app/assets/data/services/HDP2/components_state.json
* ambari-web/app/views/main/service/item.js
* ambari-web/app/assets/data/widget_layouts/HBASE/empty_user_layout.json
* ambari-web/app/assets/data/metrics/HBASE/numActiveHandler.json
* ambari-web/app/controllers/main/service/item.js
* ambari-web/app/utils/ajax/ajax.js
* ambari-web/app/assets/data/metrics/HBASE/Mutate_95th_percentile.json
* ambari-web/app/mappers/widget_mapper.js
* ambari-web/app/assets/data/metrics/HBASE/Delete_num_ops.json
* ambari-web/app/assets/data/metrics/HBASE/Mutate_num_ops.json
* ambari-web/app/assets/data/metrics/HBASE/updatesBlockedTime.json
* ambari-web/app/assets/data/stacks/HDP-2.1/service_components.json
* ambari-web/app/models/stack_service.js
* ambari-web/app/assets/data/metrics/HBASE/numOpenConnection.json
* ambari-web/app/mappers/stack_service_mapper.js
* ambari-web/app/assets/data/widget_layouts/HBASE/stack_layout.json
* ambari-web/test/service_components.js


> Widget layout on service summary page should be API driven
> ----------------------------------------------------------
>
>                 Key: AMBARI-10171
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10171
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10171.patch
>
>
> We can verify the work by using this mock data. As of now HBase service mock 
> data has line graph, multiline graph, stack graph and Number. These needs to 
> be implemented for service summary page under this ticket.
> *Scenario 1: widget_layout for a user does not have 
> default_servicename_layout*
> On loading of a service summary page:
> * Get the widget_layout specific to that page and user. 
> {code}
> real url: 
> http://c6401.ambari.apache.org:8080/api/v1/users/admin/widget_layouts?section_name=HBASE_SUMMARY&fields=widgetLayoutInfo/*
> mock url: /data/widget_layouts/HBASE/empty_user_layout.json
> {code}
> * On finding no layout for HBASE service, get the default stack data:
> {code}
> real url: 
> http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/2.2/artifacts/services/HBASE/widget_descriptor
> mock_url: /data/widget_layouts/HBASE/stack_layout.json
> {code}
> Order of the widgets will also be perceived from the same API call.
> Do a lazy loading of the widgets on service summary page. 
> *Scenario 2: widget_layout for a user has default_servicename_layout*
> On loading of a service summary page:
> * Get the widget_layout specific to that page and user. 
> {code}
> real url: 
> http://c6401.ambari.apache.org:8080/api/v1/users/admin/widget_layouts?section_name=HBASE_SUMMARY&fields=widgetLayoutInfo/*
> mock url: /data/widget_layouts/HBASE/filled_user_layout.json
> {code}
> On finding a layout for HBASE service, load all the widget and order them 
> accordingly



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

Reply via email to