Bug 535502 (RHQ-2190) - Remote API - Query Generator
Summary: Remote API - Query Generator
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-2190
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 1.3
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-1180
TreeView+ depends on / blocked
 
Reported: 2009-06-30 18:26 UTC by Jay Shaughnessy
Modified: 2010-02-16 21:15 UTC (History)
0 users

Fixed In Version: 1.3
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jay Shaughnessy 2009-06-30 18:26:00 UTC
To support the Remote API 'Find' methods we need a general, but efficient, query generator.  It needs to support varying criteria, varying return data, and varying sort options.  The goal is to have a single generator used across the API implementation (and perhaps for local impls as  well, in the future). Although, if necesary it should perhaps be extensible to custom extensions.


Comment 1 Asaf Shakarchi 2009-07-01 17:04:16 UTC
Pushed into repo

Comment 2 Joseph Marques 2009-07-07 19:35:39 UTC
needs to support authz queries

Comment 3 Joseph Marques 2009-07-07 19:36:15 UTC
rev4296 - modify query generator to support authz-based queries styles; 
clean up unnecessary methods that support method-level annotations, but rhq convention is strictly field-level annotation; 
fix exception handling so that the errors are very accurate as to what the issue is when generating the query; 

Comment 4 Joseph Marques 2009-07-07 19:37:07 UTC
also, we need to have the QG support range-based queries like "time between :begin and :end" - asaf will be working on that and then will close out this issue again.

Comment 5 Joseph Marques 2009-07-10 03:56:45 UTC
rev4330 - extend the query generator to support an arbitrary number of customer filter conditions; 
each filter expression supports an arbitrary number of bind parameters; 

Comment 6 Joseph Marques 2009-07-10 04:26:27 UTC
rev4332 - extend the query generator to support an arbitrary number of custom filter conditions its object relationships; 
each filter expression still supports an arbitrary number of bind parameters; 

Comment 7 Red Hat Bugzilla 2009-11-10 20:59:37 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2190


Comment 8 wes hayutin 2010-02-16 21:15:19 UTC
mass move to component = core server


Note You need to log in before you can comment on or make changes to this bug.