Bug 1678194

Summary: [RFE] Partner Integration: Offer Possibility to add their own menu, buttons and methods to be added by "overlay" of CloudForms UI
Product: Red Hat CloudForms Management Engine Reporter: Loic Avenel <lavenel>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: unspecifiedCC: bmidwood, hkataria, lavenel, mfeifer, mpovolny, mshriver, ndhandre, obarenbo, pvala, simaishi, smallamp
Target Milestone: GAKeywords: RFE
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:35:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Loic Avenel 2019-02-18 09:44:59 UTC
Partner Integration: Offer Possibility to add their own menu, buttons and methods to be added by "overlay" of CloudForms UI

Comment 2 Parthvi Vala 2019-04-08 14:28:36 UTC
Can I get a little more information about the RFE? We already have custom buttons and there is another BZ related to custom menus (https://bugzilla.redhat.com/show_bug.cgi?id=1678151). How is this different from them?
And I am not sure I understand what 'add by "overlay" of the Cloudforms UI' mean?

Comment 3 Loic Avenel 2019-04-16 06:20:39 UTC
(In reply to Parthvi Vala from comment #2)
> Can I get a little more information about the RFE? We already have custom
> buttons and there is another BZ related to custom menus
> (https://bugzilla.redhat.com/show_bug.cgi?id=1678151). How is this different
> from them?
> And I am not sure I understand what 'add by "overlay" of the Cloudforms UI'
> mean?

In this case, Partners will create Custom Button, Menu overlay, dialog and Method (Ansible modules) in their own repo and it will be merged in CF.

Comment 5 Martin Povolny 2019-06-03 17:19:46 UTC
From the UI perspective I am extending the mechanism that we implemented for "Providers". Where provider authors can do this in their own repos.

Newly this is to be possible from any "plugin" -- Rails Engine, that is added do ManageIQ.

Furthermore where previously the newly added buttons (custom buttons) where displayes if the particular @record's namespace matched that of the provider. In this case there's going to be a method on the Toolbar extension class that will tell if the extension is to be displayed for a particular @record.

For reference: this is the (existing) toolbar extension mechanism: https://github.com/ManageIQ/manageiq-ui-classic/pull/4262

Comment 15 errata-xmlrpc 2019-12-12 13:35:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199