Skip to content
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

Enable operations on CloudObjectStoreObject #14080

Merged
merged 1 commit into from
Mar 2, 2017

Conversation

miha-plesko
Copy link
Contributor

This commit brings support for operations on CloudObjectStoreObject. For now, only delete operation is supported. The two new columns type and name have to be there to enable appropriate async task processing.

@miha-plesko
Copy link
Contributor Author

@miq-bot add_label enhancement
@miq-bot assign @durandom
@miq-bot assign @kbrock

@durandom
Copy link
Member

@miha-plesko looks like you have to update schema.yml too

@miha-plesko miha-plesko force-pushed the delete_aws_object branch 2 times, most recently from 7714391 to 7ff7812 Compare February 27, 2017 12:25
@kbrock kbrock assigned blomquisg and unassigned kbrock Feb 27, 2017
Copy link
Member

@kbrock kbrock left a comment

Choose a reason for hiding this comment

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

Note to all, this follows through on the same pattern as #13965

def change
add_column :cloud_object_store_objects, :type, :string
add_index :cloud_object_store_objects, :type
add_index :cloud_object_store_objects, [:ems_id, :type]
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the index.

Please drop the :type index and swap the order of this index

add_index :cloud_object_store_objects, [:type, :ems_id]

This commit brings support for operations on CloudObjectStoreObject.
For now, only delete operation is supported.

Signed-off-by: Miha Pleško <[email protected]>
@miq-bot
Copy link
Member

miq-bot commented Mar 2, 2017

Checked commit xlab-si@81072db with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
4 files checked, 0 offenses detected
Everything looks good. 🍰

Copy link
Member

@durandom durandom left a comment

Choose a reason for hiding this comment

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

LGTM

But I'm not a big fan of those Operations modules.

@Fryguy ?

@Fryguy Fryguy merged commit da2c0ca into ManageIQ:master Mar 2, 2017
@Fryguy Fryguy added this to the Sprint 56 Ending Mar 13, 2017 milestone Mar 2, 2017
h-kataria added a commit to h-kataria/manageiq that referenced this pull request Oct 3, 2017
supports_not for delete was added for these objects in ManageIQ#14080 however same PR added "Delete" roles feature. "Delete" button was added to UI counterpart of this PR in ManageIQ/manageiq-ui-classic#497, so in my opinion adding supports_not for delete was incorrect

https://bugzilla.redhat.com/show_bug.cgi?id=1497113
@tadeboro tadeboro deleted the delete_aws_object branch March 30, 2018 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants