Change in ovirt-engine[master]: webadmin: Provide entity specific properties to UI plugins
oourfali at redhat.com
oourfali at redhat.com
Tue Dec 18 09:54:07 UTC 2012
Oved Ourfali has submitted this change and it was merged.
Change subject: webadmin: Provide entity specific properties to UI plugins
......................................................................
webadmin: Provide entity specific properties to UI plugins
Before this patch, UI plugins would receive following base
entity object representation (same for all entity types):
{ 'entityId': '[BusinessEntityGuidAsString]' }
After this patch, UI plugins will receive the same as above
('entityId' renamed to 'id'), plus some additional entity
specific properties:
'name' for Cluster, DataCenter, Host, Storage, Template,
VirtualMachine
More properties can be added later on, as necessary. Note
that this is just a temporary solution, as we plan to use
generated Engine REST API types on the frontend side.
Change-Id: I937640bdddc8b888f517323d0be6b18796e81a05
Signed-off-by: Vojtech Szocs <vszocs at redhat.com>
---
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/PluginEventHandler.java
M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/api/PluginUiFunctions.java
D frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/BaseEntity.java
A frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/plugin/entity/EntityObject.java
4 files changed, 104 insertions(+), 54 deletions(-)
Approvals:
Oved Ourfali: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/10158
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I937640bdddc8b888f517323d0be6b18796e81a05
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
More information about the Engine-commits
mailing list