Bug 535502 (RHQ-2190)

Summary: Remote API - Query Generator
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: Core ServerAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 1.3Keywords: SubTask
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2190
Whiteboard:
Fixed In Version: 1.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 534378    

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