[infinispan-issues] [JBoss JIRA] (ISPN-11724) CLI: Allow key and value encoding to be specified
Ryan Emerson (Jira)
issues at jboss.org
Mon Apr 27 11:44:29 EDT 2020
Ryan Emerson created ISPN-11724:
-----------------------------------
Summary: 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
Assignee: Ryan Emerson
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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list