-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[AMBARI-22804] Install Wizard final deployment of services from multiple mpacks #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AMBARI-22804] Install Wizard final deployment of services from multiple mpacks #199
Conversation
…h names hard-coded to be <mpackId>-<mpackVersion>.
…-mpack-deployment # Conflicts: # ambari-web/app/styles/application.less # ambari-web/app/styles/wizard.less # ambari-web/app/templates/installer.hbs
# Conflicts: # ambari-web/app/styles/application.less # ambari-web/app/styles/wizard.less # ambari-web/app/templates/installer.hbs
# Conflicts: # ambari-web/app/styles/application.less # ambari-web/app/styles/wizard.less # ambari-web/app/templates/installer.hbs
# Conflicts: # ambari-web/app/styles/application.less # ambari-web/app/styles/wizard.less
…-mpack-deployment # Conflicts: # ambari-web/app/controllers/wizard/step7_controller.js # ambari-web/app/styles/application.less # ambari-web/app/styles/bootstrap_overrides.less # ambari-web/app/styles/wizard.less # ambari-web/app/templates/wizard/downloadMpacks.hbs # ambari-web/app/templates/wizard/selectMpacks.hbs # ambari-web/app/templates/wizard/verifyProducts.hbs
…-mpack-deployment
|
Refer to this link for build results (access rights to CI server needed): |
| background-color: inherit; | ||
| } | ||
| .wizard .wizard-body .wizard-nav { | ||
| min-width: 250px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On narrow screen wizard-body will jump to bottom, better to leave previous styles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…-mpack-deployment # Conflicts: # ambari-web/app/templates/wizard/step2.hbs
|
Refer to this link for build results (access rights to CI server needed): |
| {{else}} | ||
| <button type="button" class="icon-button retry-button" disabled="disabled"></button> | ||
| {{/if}} | ||
| </span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO we can directly bind it and use bootstrap classes instead.
{{bindAttr class=":btn :btn-default :retry-button mpack.failed::disabled"}}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mpack.failed:disabled would have inverted the logic. mpack.failed::disabled disables it when mpack.failed is false. So as long as the value of mpack.failed is false (or null) the button would remain disabled, doesn't matter it is in-progress or it succeeds. Your if else code above is also doing the exact same thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried this suggestion and a couple other options, including binding the disabled attribute directly, but the results were not satisfactory. It looks like in this specific situation, the existing code is a satisfactory solution, if not the most elegant.

What changes were proposed in this pull request?
Orchestrate final steps to install services from multiple mpacks using latest API, including creating service groups, creating version definitions, and deploying services.
How was this patch tested?
All tests passing:
20334 passing (24s)
125 pending