[Engine-devel] Do we need genericApi project?

Michael Kublin mkublin at redhat.com
Sun Jun 10 12:47:22 UTC 2012


At least meanwhile, can I disable loading of GenericApiService bean during start up of jboss?

----- Original Message -----
From: "Itamar Heim" <iheim at redhat.com>
To: "Daniel Erez" <derez at redhat.com>
Cc: "engine-devel" <engine-devel at ovirt.org>, "Michael Kublin" <mkublin at redhat.com>
Sent: Sunday, June 10, 2012 12:44:08 PM
Subject: Re: [Engine-devel] Do we need genericApi project?

On 06/10/2012 12:33 PM, Daniel Erez wrote:
> We may want to wait for the removal of the deprecated uicommon project (which is in use by the old UserPortal).
> uicommonweb doesn't use UiQueries any more (it's not depended on the genericapi project) - so I think it can be removed.

I'd wait to see it really isn't needed any more.
it was added to cover a gap in which the UI is using logic which exists 
in methods in the business entities (IsLinux/IsWindows/Is64bit, etc.)

which is something we wanted to decouple, and the UI queries expose 
these as queries for the UI rather than use the entities directly.

so i'd say this still isn't fully utilized, rather than deprecated.

>
>
> ----- Original Message -----
>> From: "Itamar Heim"<iheim at redhat.com>
>> To: "Michael Kublin"<mkublin at redhat.com>
>> Cc: "engine-devel"<engine-devel at ovirt.org>
>> Sent: Sunday, June 10, 2012 11:48:53 AM
>> Subject: Re: [Engine-devel] Do we need genericApi project?
>>
>> On 06/10/2012 11:23 AM, Michael Kublin wrote:
>>> Hi,
>>>
>>> I found that we have a ovirt-engine/frontend/api/genericapi
>>> project, which is for my opinion is not at use any more.
>>> If there are any reason that we want to keep it , maybe someone
>>> using it and I missed these?
>>>
>>> Thanks Michael
>>> _______________________________________________
>>> Engine-devel mailing list
>>> Engine-devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
>> iirc, it's intended to allow to add queries needed for the UI without
>> adding them into the core.
>> and looking at GetUserActionGroups, I see it is used for example by
>> uicommon.
>>
>> (GWT still uses the generic api)
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>




More information about the Engine-devel mailing list