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
storage manager volume create: basic and advanced modes #194
storage manager volume create: basic and advanced modes #194
Conversation
052e6b7
to
8248d32
Compare
Hey @OrGur1987 can you include an example of what the capabilities json looks like? |
edited description |
fd77bcc
to
ae04dc0
Compare
Hi @agrare tests are successful, it's ready for a review, thanks |
) | ||
} | ||
|
||
if options['mode'] == 'Basic' |
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.
Where is options['mode']
coming from? I don't see it in the DDF params
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.
it used to be in cloud-volume-form.schema.js
but I moved it to cloud_voume.rb
following @Fryguy's request:
ManageIQ/manageiq-ui-classic#8582 (comment)
app/models/manageiq/providers/autosde/storage_manager/cloud_volume.rb
Outdated
Show resolved
Hide resolved
app/models/manageiq/providers/autosde/storage_manager/cloud_volume.rb
Outdated
Show resolved
Hide resolved
app/models/manageiq/providers/autosde/storage_manager/cloud_volume.rb
Outdated
Show resolved
Hide resolved
- Basic: choose an existing service - Advanced: choose a name for a new service and choose existing resources to attach to it
ae04dc0
to
f1208cc
Compare
Checked commit Autosde@f1208cc with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
filter services and resources by capabilities on volume create:
Basic: filter services by required capabilities and choose an existing service from the filtered list.
Advanced: choose a name for a new service, filter resources by required capabilities, and choose resources to attach to the new service from the filtered list. the new volume(s) will be created for the new service, on one of the attached resources.
changes:
related PR in ui-classic:
ManageIQ/manageiq-ui-classic#8582