[JBoss JIRA] (ISPN-11724) CLI: Allow key and value encoding to be specified
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11724?page=com.atlassian.jira.plugi... ]
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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11725) CLI: Allow encoding to be set per cache context
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11725?page=com.atlassian.jira.plugi... ]
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)
5 years, 9 months
[JBoss JIRA] (ISPN-12076) Ability to define the Cache template in yaml in the operator
by Ramon Gordillo Gutierrez (Jira)
[ https://issues.redhat.com/browse/ISPN-12076?page=com.atlassian.jira.plugi... ]
Ramon Gordillo Gutierrez updated ISPN-12076:
--------------------------------------------
Description:
In infinispan operator 2.0, there is a way to define caches with kubernetes CR. However, defining the template for that cache should be done in xml: [https://github.com/infinispan/infinispan-operator/blob/master/docum...
However, it is not ideal to use xml in yaml files. For example, instead of:
{{name: mycache}}
{{template: {color:#ff8b00}<infinispan><cache-container><distributed-cache><mode>SYNC</mode><owners>1</owners></distributed-cache></cache-container></infinispan>{color}}}
It will be better something like:
{{name: mycache}}
{{template:}}
{{{color:#00875a} distributed-cache:{color}}}
{color:#00875a}{{ mode: SYNC}}
{{ owners: 1}}{color}
was:
In infinispan operator 2.0, there is a way to define caches with kubernetes CR. However, defining the template for that cache should be done in xml: [https://github.com/infinispan/infinispan-operator/blob/master/docum...
However, it is not ideal to use xml in yaml files. For example, instead of:
{{ name: mycache}}
{{ template: {color:#ff8b00}<infinispan><cache-container><distributed-cache><mode>SYNC</mode><owners>1</owners></distributed-cache></cache-container></infinispan>{color}}}
It will be better something like:
{{name: mycache}}
{{template:}}
{{{color:#00875a} distributed-cache:{color}}}
{color:#00875a}{{ mode: SYNC}}
{{ owners: 1}}{color}
> Ability to define the Cache template in yaml in the operator
> ------------------------------------------------------------
>
> Key: ISPN-12076
> URL: https://issues.redhat.com/browse/ISPN-12076
> Project: Infinispan
> Issue Type: Enhancement
> Components: Operator
> Reporter: Ramon Gordillo Gutierrez
> Assignee: Vittorio Rigamonti
> Priority: Major
>
> In infinispan operator 2.0, there is a way to define caches with kubernetes CR. However, defining the template for that cache should be done in xml: [https://github.com/infinispan/infinispan-operator/blob/master/docum...
> However, it is not ideal to use xml in yaml files. For example, instead of:
>
> {{name: mycache}}
> {{template: {color:#ff8b00}<infinispan><cache-container><distributed-cache><mode>SYNC</mode><owners>1</owners></distributed-cache></cache-container></infinispan>{color}}}
>
> It will be better something like:
>
> {{name: mycache}}
> {{template:}}
> {{{color:#00875a} distributed-cache:{color}}}
> {color:#00875a}{{ mode: SYNC}}
> {{ owners: 1}}{color}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-12076) Ability to define the Cache template in yaml in the operator
by Ramon Gordillo Gutierrez (Jira)
Ramon Gordillo Gutierrez created ISPN-12076:
-----------------------------------------------
Summary: Ability to define the Cache template in yaml in the operator
Key: ISPN-12076
URL: https://issues.redhat.com/browse/ISPN-12076
Project: Infinispan
Issue Type: Enhancement
Components: Operator
Reporter: Ramon Gordillo Gutierrez
Assignee: Vittorio Rigamonti
In infinispan operator 2.0, there is a way to define caches with kubernetes CR. However, defining the template for that cache should be done in xml: [https://github.com/infinispan/infinispan-operator/blob/master/docum...
However, it is not ideal to use xml in yaml files. For example, instead of:
{{ name: mycache}}
{{ template: {color:#ff8b00}<infinispan><cache-container><distributed-cache><mode>SYNC</mode><owners>1</owners></distributed-cache></cache-container></infinispan>{color}}}
It will be better something like:
{{name: mycache}}
{{template:}}
{{{color:#00875a} distributed-cache:{color}}}
{color:#00875a}{{ mode: SYNC}}
{{ owners: 1}}{color}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months