Oleg Nechiporenko created AMBARI-5774:
-----------------------------------------
Summary: Create Ember models for Slider Apps classes
Key: AMBARI-5774
URL: https://issues.apache.org/jira/browse/AMBARI-5774
Project: Ambari
Issue Type: Task
Components: client
Affects Versions: 1.6.1
Reporter: Oleg Nechiporenko
Assignee: Oleg Nechiporenko
Fix For: 1.6.1
Attachments: AMBARI-5774.patch
Ambari Slider view needs models for Slider Apps.
App.SliderApp
- id: string
- yarnId: string
- name: string
- status: string
- user: string
- started: long
- ended: long
- appType: App.SliderAppType
- diagnostics: string
- components: App.SliderAppComponent[]
- quickLinks: App.QuickLink[]
- runtimeProperties: App.TypedProperty[]
App.SliderAppComponent
- id: string (appid+component_name+index)
- status: string
- host: App.Host
App.Host
- hostName: string
- publicHostName: string
App.QuickLink
- label: string
- url: string
App.TypedProperty
- key: string
- value: string
- type: string (one of 'date', 'host')
App.SliderAppType
- id: string
- displayName: string
- components: App.SliderAppTypeComponent[]
- configs: {}
App.SliderAppTypeComponent
- id: string (app-type + name)
- name: string
- displayName: string
- defaultNumInstances: int
- defaultYARNMemory: int
- defaultYARNCPU: int
For now we should use fixtures to populate mock data and get UI. We will later
replace them with API and mock data responses (removing fixtures data).
The slider view UI is located in code at
{{/ambari/contrib/views/slider/src/main/resources/ui/}}
--
This message was sent by Atlassian JIRA
(v6.2#6252)