]
Ryan Emerson reassigned ISPN-11724:
-----------------------------------
Assignee: (was: Ryan Emerson)
CLI: Allow key and value encoding to be specified
-------------------------------------------------
Key: ISPN-11724
URL:
https://issues.redhat.com/browse/ISPN-11724
Project: Infinispan
Issue Type: Enhancement
Components: CLI
Affects Versions: 11.0.0.Dev04
Reporter: Ryan Emerson
Priority: Major
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:
{code}
put --encoding=application/json --file=example.json example
{code}
It should be possible for the key and values encoding to be specified like so:
{code}
cache put --key-encoding=application/json --value-encoding=application/json
--file=example.json "example"
{code}