Fedora Account System
Red Hat Associate
Red Hat Customer
Hi Loic, I'm concerned about exposing tag_delete to Automate. Deleting tags could cause issues for objects already using that tag value. Thoughts? Thanks, Tina
(In reply to Tina Fitzgerald from comment #4) > Hi Loic, > > I'm concerned about exposing tag_delete to Automate. > Deleting tags could cause issues for objects already using that tag value. > > Thoughts? > > Thanks, > Tina Agreed, we will then report an error is Tags are still in use...
Jay, the existing logic to create tags is here: https://github.com/ManageIQ/manageiq-automation_engine/blob/master/lib/miq_automation_engine/engine/miq_ae_method_service/miq_ae_service_methods.rb#L90 I suggest we also offer a `category_delete` to match the create and follow the same behavior that you can only delete the category if it no longer contains tags.
What is the PR(s) associated with this BZ?
(In reply to dmetzger from comment #7) > What is the PR(s) associated with this BZ? Please check the following two PRs: https://github.com/ManageIQ/manageiq-automation_engine/pull/358 https://github.com/ManageIQ/manageiq-automation_engine/pull/363