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

CLI: Allow key and value encoding to be specified

XMLWordPrintable

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

      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"
      

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

              Created:
              Updated: