[infinispan-issues] [JBoss JIRA] (ISPN-11725) CLI: Allow encoding to be set per cache context
Ryan Emerson (Jira)
issues at jboss.org
Thu Jul 2 06:58:52 EDT 2020
[ https://issues.redhat.com/browse/ISPN-11725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Emerson reassigned ISPN-11725:
-----------------------------------
Assignee: (was: Ryan Emerson)
> CLI: Allow encoding to be set per cache context
> -----------------------------------------------
>
> Key: ISPN-11725
> URL: https://issues.redhat.com/browse/ISPN-11725
> Project: Infinispan
> Issue Type: Enhancement
> Components: CLI
> Affects Versions: 11.0.0.Dev04
> Reporter: Ryan Emerson
> Priority: Major
>
> Currently in the CLI it's necessary to set encoding per entry. It should be able to set the encoding per the context of the currently selected cache to reduce verbosity in batch files. For example:
> {code}
> cd cache/example
> cache put --key-encoding=application/json --value-encoding=application/json --file=example1.json "example1"
> cache put --key-encoding=application/json --value-encoding=application/json --file=example2.json "example2"
> {code}
> Can be simplified to:
> {code}
> cd cache/example
> set options --key-encoding=application/json --value-encoding=application/json
> cache put --file=example1.json "example1"
> cache put --file=example2.json "example2"
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list