[JBoss JIRA] (ISPN-8762) Create and update entries
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8762?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8762 at 2/12/18 4:20 AM:
--------------------------------------------------------------------
Create/update/delete console screen should have one text area with JSON editor enabled. We should use the same editor selected for ISPN-8764
There should be an operation selector (create/update/delete), a key path text field, and a submit button. A user should be presented with a visual feedback about operation result. For example, a user could create a new cache entry under a certain key using a JSON editor, that would highlight nodes and validate the JSON content before submitting it to the server:
{code:title=Creating a new cache entry example|borderStyle=solid}
{
"id": 1009166,
"name": "Lenny Balinger",
"description": "",
"modified": "1969-12-31T19:00:00-0500",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/b/40/image_not_available",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009166",
"comics": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/comics",
"items": [],
"returned": 0
},
"series": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/series",
"items": [],
"returned": 0
},
"stories": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/stories",
"items": [],
"returned": 0
},
"events": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/events",
"items": [],
"returned": 0
},
"urls": [
{
"type": "detail",
"url": "http://marvel.com/comics/characters/1009166/lenny_balinger?utm_campaign=a..."
}
]
}
{code}
was (Author: vblagojevic):
Create/update/delete console screen should have one text area with JSON editor enabled. There should be an operation selector (create/update/delete), a key path text field, and a submit button. A user should be presented with a visual feedback about operation result. For example, a user could create a new cache entry under a certain key using a JSON editor, that would highlight nodes and validate the JSON content before submitting it to the server:
{code:title=Creating a new cache entry example|borderStyle=solid}
{
"id": 1009166,
"name": "Lenny Balinger",
"description": "",
"modified": "1969-12-31T19:00:00-0500",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/b/40/image_not_available",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009166",
"comics": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/comics",
"items": [],
"returned": 0
},
"series": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/series",
"items": [],
"returned": 0
},
"stories": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/stories",
"items": [],
"returned": 0
},
"events": {
"available": 0,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009166/events",
"items": [],
"returned": 0
},
"urls": [
{
"type": "detail",
"url": "http://marvel.com/comics/characters/1009166/lenny_balinger?utm_campaign=a..."
}
]
}
{code}
> Create and update entries
> -------------------------
>
> Key: ISPN-8762
> URL: https://issues.jboss.org/browse/ISPN-8762
> Project: Infinispan
> Issue Type: Sub-task
> Components: Console
> Affects Versions: 9.2.0.CR2
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
>
> We need to add capabilities to create new cache entries and update existing entries
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8759) Administration console - add data manipulation capabilities
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8759?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8759 at 2/12/18 4:18 AM:
--------------------------------------------------------------------
In order to consider this task complete, the following example use case scenario needs to be supported.
A console user should be able to easily define protobuf schema, review and edit these protobuf schemas, load JSON data into the cache and subsequently query the loaded data and display results. A user should also be able to update the existing entries in the cache and if needed to delete them. We'll use https://github.com/gustavonalle/infinispan-marvel/ as our test project.
was (Author: vblagojevic):
In order to consider this task complete, the following example use case scenario needs to be supported. A console user should be able to easily define protobuf schema, review and edit these protobuf schemas, load JSON data into the cache and subsequently query the loaded data and display results. A user should also be able to update the existing entries in the cache and if needed to delete them. We'll use https://github.com/gustavonalle/infinispan-marvel/ as our test project.
> Administration console - add data manipulation capabilities
> -----------------------------------------------------------
>
> Key: ISPN-8759
> URL: https://issues.jboss.org/browse/ISPN-8759
> Project: Infinispan
> Issue Type: Enhancement
> Components: Console
> Affects Versions: 9.1.0.Final, 9.2.0.Beta2
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Attachments: Screen Shot 2018-02-08 at 11.30.33 AM.png, Screen Shot 2018-02-08 at 7.47.53 AM.png
>
>
> We need to add the following capabilities to administration console:
> - Query and list results
> - Create and update entries
> - Delete entries in the cache
> - Add schema editor (using pre-built components for protobuf editor)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:17 AM:
--------------------------------------------------------------------
There should be a capability to convert results view between JSON and table view. For inspiration, let's look at Google BigQuery screen layout.
First, the table results layout:
!Screen Shot 2018-02-10 at 6.49.16 AM.png|thumbnail!
As well as JSON:
!Screen Shot 2018-02-10 at 6.49.38 AM.png|thumbnail!
For table results layout we need to decide how we are going to un-nest nested objects. Perhaps for the first pass would only tabularize first level primitives (non-nested objects). In the future iterations, we could perhaps experiment with tree/table views but that is out of the scope atm.
was (Author: vblagojevic):
There should be a capability to convert results view between JSON and table view. For inspiration, let's look at Google BigQuery screen layout.
First, the table results layout:
!Screen Shot 2018-02-10 at 6.49.16 AM.png|thumbnail!
As well as JSON:
!Screen Shot 2018-02-10 at 6.49.38 AM.png|thumbnail!
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:15 AM:
--------------------------------------------------------------------
*Use case scenario*: Upon selecting "RW+Query" action item on the "Actions" cache menu (see ISPN-8759) a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below).
Query console screen should have two text areas: query area and results area. Query text area should allow users to write our queries as-is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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=Query example|borderStyle=solid}
query: select id,name from Character where name:"Abomination (Emil Blonsky)",
max_results:2
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{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):
*Use case scenario*: Upon selecting "RW+Query" action item on the "Actions" cache menu (see ISPN-8759) a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below).
Query console screen should have two text areas: query area and results area. Query text area should allow users to write our queries as-is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{code}
Upon query submission, we'll convert the raw query to JSON (e.g. we'll JSONify it) and send it to the server.
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:14 AM:
--------------------------------------------------------------------
Use case scenario: Upon selecting "RW+Query" action item on the "Actions" cache menu (see ISPN-8759) a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below).
Query console screen should have two text areas: query area and results area. Query text area should allow users to write our queries as-is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{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):
Use case scenario: Upon selecting "RW+Query" action item on the "Actions" cache menu a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below)
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 or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{code}
Upon query submission, we'll convert the raw query to JSON (e.g. we'll JSONify it) and send it to the server.
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:14 AM:
--------------------------------------------------------------------
*Use case scenario*: Upon selecting "RW+Query" action item on the "Actions" cache menu (see ISPN-8759) a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below).
Query console screen should have two text areas: query area and results area. Query text area should allow users to write our queries as-is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{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):
Use case scenario: Upon selecting "RW+Query" action item on the "Actions" cache menu (see ISPN-8759) a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below).
Query console screen should have two text areas: query area and results area. Query text area should allow users to write our queries as-is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{code}
Upon query submission, we'll convert the raw query to JSON (e.g. we'll JSONify it) and send it to the server.
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:12 AM:
--------------------------------------------------------------------
Use case scenario: Upon selecting "RW+Query" action item on the "Actions" cache menu a user should be taken to a page that should be similar to Google's BigQuery (see screenshots below)
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 or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{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. Query text area should allow users to write our queries as is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{code}
Upon query submission, we'll convert the raw query to JSON (e.g. we'll JSONify it) and send it to the server.
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:10 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 or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
{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. Query text area should allow users to write our queries as is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
}
{code}
Upon query submission, we'll convert the raw query to JSON (e.g. we'll JSONify it) and send it to the server.
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:10 AM:
--------------------------------------------------------------------
There should be a capability to convert results view between JSON and table view. For inspiration, let's look at Google BigQuery screen layout.
First, the table results layout:
!Screen Shot 2018-02-10 at 6.49.16 AM.png|thumbnail!
As well as JSON:
!Screen Shot 2018-02-10 at 6.49.38 AM.png|thumbnail!
was (Author: vblagojevic):
There should be a capability to convert results view between JSON and table view. For inspiration, let's look at Google BigQuery screen layout. First, the table results layout:
!Screen Shot 2018-02-10 at 6.49.16 AM.png|thumbnail!
As well as JSON:
!Screen Shot 2018-02-10 at 6.49.38 AM.png|thumbnail!
> 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)
8 years, 1 month
[JBoss JIRA] (ISPN-8760) Query and list results
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-8760?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic edited comment on ISPN-8760 at 2/12/18 4:09 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 or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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:"Abomination (Emil Blonsky)",
max_results:2
}
{code}
{code:title=JSON query result|borderStyle=solid}
{
{
"id": 1009146,
"name": "Abomination (Emil Blonsky)",
"description": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible Hulk.",
"modified": "2012-03-20T12:32:12-0400",
"thumbnail": {
"path": "http://i.annihil.us/u/prod/marvel/i/mg/9/50/4ce18691cbf04",
"extension": "jpg"
},
"resourceURI": "http://gateway.marvel.com/v1/public/characters/1009146",
"comics": {
"available": 43,
"collectionURI": "http://gateway.marvel.com/v1/public/characters/1009146/comics",
"items": [{
"id": 34050,
"resourceURI": "http://gateway.marvel.com/v1/public/comics/34050",
"name": "Incredible Hulks (2009) #619"
}]
},
"wiki": {
"universe": "Marvel Universe",
"real_name": "Emil Blonsky",
"identity": "Secret",
"occupation": "Professional Criminal, Former Spy",
"place_of_birth": "Zagreb, Yugoslavia",
"groups": "Ally of the [[Abominations]] and the Forgotten; Formerly partner of the [[Rhino]], crew of the starship Andromeda, agent of the [[Galaxy Master]], and [[MODOK]].",
"citizenship": "Citizen of Croatia; former citizen of Yugoslavia",
"education": "Unrevealed",
"aliases": "Agent R-7, the Ravager of Worlds",
"relatives": "Nadia Dornova Blonsky (wife, divorced)",
"height": "(Abomination) 6'8\"; (Blonsky) 5'10\"",
"weight": "(Abomination) 980 lbs.; (Blonsky) 180 lbs.",
"eyes": "(Abomination) Green; (Blonsky) Blue",
"hair": "(Abomination) None; (Blonsky) Blond",
"powers": "Blonsky's transformation into the Abomination substantially increased his strength and durability. Like the Hulk, the Abomination can use his superhumanly strong leg muscles to leap great distances, covering miles in a single bound. The Abomination has vast physical strength.",
"abilities": "None",
"weapons": "None",
"paraphernalia": "None",
"debut": "Tales to Astonish #90 (1967)",
"origin": "Tales to Astonish #90 (1967)",
"significant_issues": "",
"main_image": "Acotilletta2--Abomination HD.jpg",
"bio_text": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.",
"bio": "Formerly known as Emil Blonsky, a spy of Soviet Yugoslavian origin working for the KGB, the Abomination gained his powers after receiving a dose of gamma radiation similar to that which transformed Bruce Banner into the incredible [[Hulk (Bruce Banner)|Hulk]]. As a result he was permanently transformed into a massive green-skinned monster whose physical power was equivalent to, if not greater than, that of the Hulk. While he was able to maintain his normal level of self-control and intelligence after this transformation, he is unable to return to human form.\n\nGiven his gamma-spawned origins, Blonsky blames his condition on Banner and his alter ego, the Hulk. The Abomination and the Hulk have clashed on numerous occasions, with Blonsky perpetually playing the role of the aggressor. Although Blonsky occasionally gains the upper hand in their battles, the Hulk manages to triumph in the end. But not always; the Abomination is one of the few who can lay claim to victory over the green-skinned goliath.\n\nIn recent years, it was revealed that his hideous new visage had served to alienate Blonsky from his ex-wife, Nadia. Coupled with constant defeats at the hands of the Hulk, this has driven Blonsky nearly insane in his hatred for Banner. The Abomination also grew incensed upon learning that Banner had married [[Ross-Banner, Betty|Betty Ross]], the daughter of [[Ross, Thaddeus|General \"Thunderbolt\" Ross]]. With the loss of his wife, Blonsky figured it is only fair to him that Banner should lose Betty. Out of jealousy, he caused the apparent death of Bruce Banner's wife Betty. While she was recovering from radiation sickness caused by exposure to the gamma radiation within Banner, he poisoned her with his radioactive blood, causing Banner and his associates to believe that her close proximity to the Hulk had given her a fatal case of radiation poisoning. Banner later exposed the Abomination's role in Betty's seeming death, and defeated him in combat.\n\nNot only had his grand scheme failed, but Banner also forgave Blonsky. The Abomination could not comprehend and endure his enemy's absolution, and his moment of triumph was twisted into crushing defeat. Blonsky realized he had become what he abhorred the most - it was he who was the rampaging, inhuman monster; not the Hulk as he had religiously believed all these years.\n\nMonths later, the still-grieving General Ross manipulated the Hulk into attacking and almost killing Blonsky. The Abomination was taken into custody by the military; as punishment, he was forced to watch a film loop of himself and his wife prior to his transformation, making his incarceration a constant reminder of what he has lost.\n\nRecently, the Abomination was among the first victims murdered at the hands of the [[Red Hulk]].",
"categories": [
"Avengers",
"Deceased",
"Hulk",
"International",
"Villains"
]
}
}
}
{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. Query text area should allow users to write our queries as is and response text area should be rendered in JSON or tabular view. Query area is editable and response area non-editable. There should be a switch between JSON/tabular view for response area.
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.
> 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)
8 years, 1 month