Skip to content

Conversation

@jgolieb
Copy link

@jgolieb jgolieb commented Feb 26, 2018

What changes were proposed in this pull request?

This is the "Upgrade" part of the admin screen that shows the state of the saved upgrade plan and progress of the upgrade process, including action history log.

How was this patch tested?

All tests passing:
20402 passing (31s)
46 pending

@jgolieb jgolieb changed the title Ambari 23006 upgrade admin [AMBARI-23006] upgrade admin Feb 26, 2018
@asfgit
Copy link

asfgit commented Feb 26, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/822/
Test FAILed.
Test FAILured.

headerClass: Em.View.extend({
templateName: require('templates/main/admin/serviceGroups/upgradeStatusHeader'),
step: Em.computed.alias('parentView.upgrade.currentStep'),
isPrerequisitesActive: function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For simple properties you can use Em.computed.equal(dependentKey, value).


return false;
}.property('step'),
isPrerequisitesComplete: function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here Em.computed.or('isInstallActive', 'isInstallComplete')


var App = require('app');

App.MpackComparison = Ember.View.extend({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If view doesn't contain any logic you insert template directly:
{{template "templates/your-template"}}

@jgolieb
Copy link
Author

jgolieb commented Feb 28, 2018

@atkach OK, I have addressed your comments.

@asfgit
Copy link

asfgit commented Feb 28, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/875/
Test FAILed.
Test FAILured.

@jonathan-hurley jonathan-hurley merged commit 37a7f14 into apache:branch-feature-AMBARI-14714-ui Mar 1, 2018
@jgolieb jgolieb deleted the AMBARI-23006_upgrade-admin branch March 1, 2018 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants