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

CLI: Allow key and value encoding to be specified

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 11.0.0.Final
    • 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
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: