[JBoss JIRA] (ISPN-11999) Add CacheManager resource integration test
by Ryan Emerson (Jira)
Ryan Emerson created ISPN-11999:
-----------------------------------
Summary: Add CacheManager resource integration test
Key: ISPN-11999
URL: https://issues.redhat.com/browse/ISPN-11999
Project: Infinispan
Issue Type: Enhancement
Components: REST, Test Suite
Affects Versions: 11.0.0.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 11.0.1.Final
Currently there are no integration tests for the CacheManager resource. We should create one in {{server/tests}} so this can be reused by {{infinispan-quarkus}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11998) Eviction new and legacy attributes should stay in sync
by Dan Berindei (Jira)
Dan Berindei created ISPN-11998:
-----------------------------------
Summary: Eviction new and legacy attributes should stay in sync
Key: ISPN-11998
URL: https://issues.redhat.com/browse/ISPN-11998
Project: Infinispan
Issue Type: Bug
Components: Configuration, Core
Affects Versions: 11.0.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.1.Final
The old-style eviction attributes (storage-type, eviction-strategy, eviction-type, size) are available programmatically both via {{memory()}} and via {{memory().heapConfiguration()}}, and changes to either the new attributes or to the legacy attributes should update all of them.
The builder does not expose {{heapConfiguration()}}, but parsing a JSON with a legacy configuration (e.g. {{{"local-cache":\{ "memory":{"object":{"size":5000}}}}}}) will set those attributes directly.
Additionally, the XSD does not include values OBJECT and BINARY for the storage attribute, but the parser accepts them, and serializing a configuration will sometimes write them in the XML. In theory we can replace OBJECT with HEAP, but we can't do the same trick with BINARY because we don't know the media type in the builder (it depends on the user marshaller). This may change in the future, but it's better if we preserve the actual values for now.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11998) Eviction new and legacy attributes should stay in sync
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11998?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11998:
--------------------------------
Status: Open (was: New)
> Eviction new and legacy attributes should stay in sync
> ------------------------------------------------------
>
> Key: ISPN-11998
> URL: https://issues.redhat.com/browse/ISPN-11998
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration, Core
> Affects Versions: 11.0.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 11.0.1.Final
>
>
> The old-style eviction attributes (storage-type, eviction-strategy, eviction-type, size) are available programmatically both via {{memory()}} and via {{memory().heapConfiguration()}}, and changes to either the new attributes or to the legacy attributes should update all of them.
> The builder does not expose {{heapConfiguration()}}, but parsing a JSON with a legacy configuration (e.g. {{{"local-cache":\{ "memory":{"object":{"size":5000}}}}}}) will set those attributes directly.
> Additionally, the XSD does not include values OBJECT and BINARY for the storage attribute, but the parser accepts them, and serializing a configuration will sometimes write them in the XML. In theory we can replace OBJECT with HEAP, but we can't do the same trick with BINARY because we don't know the media type in the builder (it depends on the user marshaller). This may change in the future, but it's better if we preserve the actual values for now.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months
[JBoss JIRA] (ISPN-11997) Remove jackson from the REST server
by Gustavo Fernandes (Jira)
Gustavo Fernandes created ISPN-11997:
----------------------------------------
Summary: Remove jackson from the REST server
Key: ISPN-11997
URL: https://issues.redhat.com/browse/ISPN-11997
Project: Infinispan
Issue Type: Enhancement
Components: REST
Affects Versions: 11.0.0.Final
Reporter: Gustavo Fernandes
Fix For: 12.0.0.Final
Jackson uses serialization and the native server needs rules to support it. Also it's desirable to reduce the number of dependencies in the REST server to avoid image respins due to CVEs
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 9 months