[infinispan-issues] [JBoss JIRA] (ISPN-8762) Create and update entries

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


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

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=apiRef&utm_source=35410e46c72ea769348ceb6ba8cc90fd"
        }
    ]
}
{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=apiRef&utm_source=35410e46c72ea769348ceb6ba8cc90fd"
        }
    ]
}
{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)


More information about the infinispan-issues mailing list