Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-11724

CLI: Allow key and value encoding to be specified

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 11.0.0.Dev04
    • CLI
    • None

    Description

      The CLI allows put operations to specify the encoding of an entry via the --encoding flag, however this only applies to the value and a plain text key must be provided. For example:

      put --encoding=application/json --file=example.json example
      

      It should be possible for the key and values encoding to be specified like so:

      cache put --key-encoding=application/json --value-encoding=application/json --file=example.json "example"
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              remerson@redhat.com Ryan Emerson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: