Support extending the web-admin's view/functionality via externally-written plug-ins.
posted upstream: http://gerrit.ovirt.org/#/c/8120/ http://gerrit.ovirt.org/#/c/9250/ merged upstream: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=0bc9d5b795c2bc826a3de62bece5379929c03fa5 http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=3a970f63934dffec8bd97298f6196521086e86e2
The scope of oVirt UI Plugins feature introduced in RHEVM 3.2 is to provide a solid base for extending Web Admin user interface: (1) client and server side infrastructure for discovering and loading plugins, and enforcing standard plugin lifecycle at runtime (2) exposing dedicated API to plugins, providing various Web Admin user interface extension points (3) providing standard events for plugins to hook into, in order to be notified of key events during Web Admin rutime (1) is pretty much complete and working, no major design changes expected in near future. (2) and (3) represent the actual functionality offered to plugins, and is therefore likely to be improved/extended in near future. UI Plugins feature currently supports: - API: Add custom {main|sub} tab - API: Control custom {main|sub} tab properties - API: Add custom main tab action button - API: Show custom dialog - Event: User login and logout - Event: oVirt Engine REST API session acquired - Event: Main tab {entity} selection change
*** Bug 803248 has been marked as a duplicate of this bug. ***
Hi, http://www.ovirt.org/wiki/Features/UIPlugins should include step-by-step walkthrough to create simple UI plugin. A minimalistic UI plugin: helloWorld.json (plugin descriptor) --- { "name": "HelloWorld", "url": "/webadmin/webadmin/plugin/HelloWorld/start.html", "resourcePath": "helloWorld-files" } --- start.html (plugin host page) --- <!DOCTYPE html> <html> <head> <script> var api = parent.pluginApi('HelloWorld'); api.register({ UiInit: function() { window.alert('Hello world'); } }); api.ready(); </script> </head> <body> </body> </html> ---
ok, sf7. BZ912298 opened for unicode characters handling.
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. http://rhn.redhat.com/errata/RHSA-2013-0888.html