[Red Hat JIRA] (ISPN-12700) CLI Batch files returns exit code 0 on error
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-12700:
-----------------------------------
Summary: CLI Batch files returns exit code 0 on error
Key: ISPN-12700
URL: https://issues.redhat.com/browse/ISPN-12700
Project: Infinispan
Issue Type: Bug
Components: CLI, Operator
Affects Versions: 12.0.0.Final, 12.1.0.Final
Reporter: Ryan Emerson
Assignee: Vittorio Rigamonti
Executing a batch file with invalid content results in a 0 exit code being returned. This causes issues with the Operator integration as it's not possible to differentiate beteween a batch succeeding or failing.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12699) REST API should allow cache template creation
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12699?page=com.atlassian.jira.plugi... ]
Katia Aresti reassigned ISPN-12699:
-----------------------------------
Assignee: Katia Aresti
> REST API should allow cache template creation
> ---------------------------------------------
>
> Key: ISPN-12699
> URL: https://issues.redhat.com/browse/ISPN-12699
> Project: Infinispan
> Issue Type: Enhancement
> Components: REST
> Affects Versions: 12.0.0.Final
> Reporter: Donald Naro
> Assignee: Katia Aresti
> Priority: Major
>
> Currently possible to "GET rest/v2/cache-managers/default/cache-configs/templates"
> REST API should allow users to create cache templates via "POST rest/v2/cache-managers/default/cache-configs/templates/{custom-template}"
> At the moment you can create cache templates directly in infinispan.xml or with the CLI using the "task exec @@template@create -Pname=xsite-template -Pconfiguration=" command.
> "task exec" seems to be a bit limited when passing in Infinispan config.
> [host@cluster//containers/default]> task exec @@template@create -Pname=my-template -Pconfiguration='<replicated-cache name="my-template"/>'
> null
> The above call works, but returns "null" even though it creates the template. The cache template it creates is also pretty useless.
> Trying to use the same "task exec" with more complex config is a total danger zone.
> If you include "<cache-configuration>" tags the command barfs. And there is also this one:
> task exec @@template@create -Pname=xsite-template -Pconfiguration='<replicated-cache name="sessions-cfg" mode="SYNC"><locking acquire-timeout="0" /><backups><backup site="site2" strategy="SYNC" /></backups></replicated-cache>'
> Error: ISPN005031: The supplied configuration for cache 'xsite-template' is missing a named configuration for it: <replicated-cache name="sessions-cfg" mode="SYNC"><locking acquire-timeout="0" /><backups><backup site="site2" strategy="SYNC" /></backups></replicated-cache>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12699) REST API should allow cache template creation
by Donald Naro (Jira)
Donald Naro created ISPN-12699:
----------------------------------
Summary: REST API should allow cache template creation
Key: ISPN-12699
URL: https://issues.redhat.com/browse/ISPN-12699
Project: Infinispan
Issue Type: Enhancement
Components: REST
Affects Versions: 12.0.0.Final
Reporter: Donald Naro
Currently possible to "GET rest/v2/cache-managers/default/cache-configs/templates"
REST API should allow users to create cache templates via "POST rest/v2/cache-managers/default/cache-configs/templates/{custom-template}"
At the moment you can create cache templates directly in infinispan.xml or with the CLI using the "task exec @@template@create -Pname=xsite-template -Pconfiguration=" command.
"task exec" seems to be a bit limited when passing in Infinispan config.
[host@cluster//containers/default]> task exec @@template@create -Pname=my-template -Pconfiguration='<replicated-cache name="my-template"/>'
null
The above call works, but returns "null" even though it creates the template. The cache template it creates is also pretty useless.
Trying to use the same "task exec" with more complex config is a total danger zone.
If you include "<cache-configuration>" tags the command barfs. And there is also this one:
task exec @@template@create -Pname=xsite-template -Pconfiguration='<replicated-cache name="sessions-cfg" mode="SYNC"><locking acquire-timeout="0" /><backups><backup site="site2" strategy="SYNC" /></backups></replicated-cache>'
Error: ISPN005031: The supplied configuration for cache 'xsite-template' is missing a named configuration for it: <replicated-cache name="sessions-cfg" mode="SYNC"><locking acquire-timeout="0" /><backups><backup site="site2" strategy="SYNC" /></backups></replicated-cache>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months
[Red Hat JIRA] (ISPN-12698) Remove IsMarshallableInterceptor
by Dan Berindei (Jira)
Dan Berindei created ISPN-12698:
-----------------------------------
Summary: Remove IsMarshallableInterceptor
Key: ISPN-12698
URL: https://issues.redhat.com/browse/ISPN-12698
Project: Infinispan
Issue Type: Task
Reporter: Dan Berindei
{{CacheWriterInterceptor.storeEntry()}} marshalls entries on the invocation logical thread, so there is no need for extra marshalling checks in {{IsMarshallableInterceptor}}.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
3 years, 10 months