YARN-9890. [UI2] Add Application tag to the app table and app detail page. Contributed by Julia Kinga Marton
This commit is contained in:
parent
31f172fd96
commit
ceb9c6175e
|
@ -48,6 +48,11 @@ export default Ember.Controller.extend({
|
||||||
headerTitle: 'Application Type',
|
headerTitle: 'Application Type',
|
||||||
contentPath: 'applicationType',
|
contentPath: 'applicationType',
|
||||||
facetType: null,
|
facetType: null,
|
||||||
|
}, {
|
||||||
|
id: 'appTag',
|
||||||
|
headerTitle: 'Application Tag',
|
||||||
|
contentPath: 'applicationTags',
|
||||||
|
facetType: null,
|
||||||
}, {
|
}, {
|
||||||
id: 'appName',
|
id: 'appName',
|
||||||
headerTitle: 'Application Name',
|
headerTitle: 'Application Name',
|
||||||
|
@ -134,11 +139,16 @@ export default Ember.Controller.extend({
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
id: 'appId',
|
id: 'appId',
|
||||||
headerTitle: 'Application ID',
|
headerTitle: 'Application Tag',
|
||||||
contentPath: 'id',
|
contentPath: 'id',
|
||||||
facetType: null,
|
facetType: null,
|
||||||
cellComponentName: 'em-table-tooltip-text',
|
cellComponentName: 'em-table-tooltip-text',
|
||||||
minWidth: "250px"
|
minWidth: "250px"
|
||||||
|
}, {
|
||||||
|
id: 'appTag',
|
||||||
|
headerTitle: 'Application ID',
|
||||||
|
contentPath: 'applicationTags',
|
||||||
|
facetType: null,
|
||||||
}, {
|
}, {
|
||||||
id: 'state',
|
id: 'state',
|
||||||
headerTitle: 'State',
|
headerTitle: 'State',
|
||||||
|
|
|
@ -48,6 +48,9 @@ export default DS.JSONAPISerializer.extend({
|
||||||
finalStatus: payload.finalStatus,
|
finalStatus: payload.finalStatus,
|
||||||
progress: payload.progress,
|
progress: payload.progress,
|
||||||
applicationType: payload.applicationType,
|
applicationType: payload.applicationType,
|
||||||
|
applicationTags:
|
||||||
|
(payload.applicationTags && payload.applicationTags !== 'null')?
|
||||||
|
payload.applicationTags : 'N/A',
|
||||||
diagnostics: (payload.diagnostics && payload.diagnostics !== 'null')? payload.diagnostics : '',
|
diagnostics: (payload.diagnostics && payload.diagnostics !== 'null')? payload.diagnostics : '',
|
||||||
amHostHttpAddress: payload.amHostHttpAddress,
|
amHostHttpAddress: payload.amHostHttpAddress,
|
||||||
masterNodeId: payload.masterNodeId,
|
masterNodeId: payload.masterNodeId,
|
||||||
|
|
Loading…
Reference in New Issue