[infinispan-issues] [JBoss JIRA] (ISPN-8760) Query and list results

Vladimir Blagojevic (JIRA) issues at jboss.org
Mon Feb 12 03:57:00 EST 2018


    [ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529802#comment-13529802 ] 

Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 3:56 AM:
--------------------------------------------------------------------

Query console screen should have two text areas: query and results. Query text area should allow users to write our queries as is and response text area should be rendered in JSON view. Query area is editable and response area non-editable. 

Between query and results text area that are stacked on top of each other, there should be a submit button for submitting queries to the server. For example:
{code:title=JSON query example|borderStyle=solid}

{
   query: select id,name from Character where name:"spider",
   max_results:2
}
{code}

{code:title=JSON query result|borderStyle=solid}

{
   ...JSON response goes here
}
{code}

Upon query submission, we'll convert the raw query to JSON (e.g. we'll JSONify it) and send it to the server.



was (Author: vblagojevic):
Query console screen should have two text areas: query and results. Both query and response text areas should be presented to users with JSON editor with query area being editable and response area non-editable. Between query and results text area that are stacked on top of each other, there should be a submit button for submitting queries to the server. For example:
{code:title=JSON query example|borderStyle=solid}

{
   "query":"select id,name from Character where name:\"spider\"",
   "max_results":2
}
{code}

{code:title=JSON query result|borderStyle=solid}

{
   ...JSON response goes here
}
{code}




> Query and list results
> ----------------------
>
>                 Key: ISPN-8760
>                 URL: https://issues.jboss.org/browse/ISPN-8760
>             Project: Infinispan
>          Issue Type: Sub-task
>          Components: Console
>    Affects Versions: 9.2.0.CR2
>            Reporter: Vladimir Blagojevic
>            Assignee: Vladimir Blagojevic
>         Attachments: Screen Shot 2018-02-10 at 6.49.16 AM.png, Screen Shot 2018-02-10 at 6.49.38 AM.png
>
>
> Console should have a capability to query a cache and list results of the query



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list