[ 
https://issues.apache.org/jira/browse/QPID-6984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15216016#comment-15216016
 ] 

Keith Wall commented on QPID-6984:
----------------------------------

Perhaps the model should have a {{Query}} object that is a child of Broker and 
Virtualhost (BrokerQuery, VirtualhostQuery given the model's current 
limitations).   The Query would encapsulate the query and capture somehow the 
notion of visibility.  A user when saving a query could opt to make the query 
visible to members of a group to which he belongs.  A user logging on would see 
queries that belongs to him, and queries belonging to other users that have 
been made visible to him.  Perhaps something like this:

{code:javascript}
{
 "category" : "Virtualhost",
 "select": "a,b,c",
 "where": "name like 'wobble%'",
 "visible": ['mygroup']
{code}

> [Web Management Console] Allow queries to the saved for later use
> -----------------------------------------------------------------
>
>                 Key: QPID-6984
>                 URL: https://issues.apache.org/jira/browse/QPID-6984
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Keith Wall
>
> After defining a query (QPID-6969) the user should be able to save query so 
> it may be conveniently re-run at a later time either during the same session, 
> or future sessions (after logging in again).  The user should also have the 
> ability to recall an existing query for edit, or delete a query.  In the long 
> term queries should be sharable amongst members of a group.
> This will require the ability to persist the query to the configuration 
> store.  To support HA properly, a query defined against a virtual host when 
> the mastership is a node A should be still available to the user when the 
> mastership flips to another node.  This implies that virtual host based 
> queries should be part of the virtualhost's configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to