[JBoss JIRA] (ISPN-12088) Property realm groups file format is wrong
by Kai Hudalla (Jira)
Kai Hudalla created ISPN-12088:
----------------------------------
Summary: Property realm groups file format is wrong
Key: ISPN-12088
URL: https://issues.redhat.com/browse/ISPN-12088
Project: Infinispan
Issue Type: Bug
Components: Documentation
Affects Versions: 11.0.1.Final
Reporter: Kai Hudalla
The description of the format of the groups.properties file used for the Property Realm at
[https://infinispan.org/docs/stable/titles/server/server.html#server_realms]
seems to be wrong. It maps role names to lists of user IDs. However, using that format, I have not been able to access a cache that required WRITE permission. After changing the file to contain mappings of user IDs to lists of role names, everything worked as expected. The example group.properties file in the server image also describes the format as user=group1,group2.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 10 months
[JBoss JIRA] (ISPN-12087) Some tests are failing on windows
by Gustavo Lira e Silva (Jira)
[ https://issues.redhat.com/browse/ISPN-12087?page=com.atlassian.jira.plugi... ]
Work on ISPN-12087 started by Gustavo Lira e Silva.
---------------------------------------------------
> Some tests are failing on windows
> ---------------------------------
>
> Key: ISPN-12087
> URL: https://issues.redhat.com/browse/ISPN-12087
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.1.Final
> Reporter: Gustavo Lira e Silva
> Assignee: Gustavo Lira e Silva
> Priority: Major
>
> {noformat}
> Test failed: org.infinispan.configuration.ConfigurationUnitTest.testSchema
> org.xml.sax.SAXParseException; systemId: file:/C:/j/workspace/tmp-jdg-8.0.x-jdg-func-ispn-testsuite-win-openjdk-gustavo/49e4cf49/infinispan/core/target/classes/schema/infinispan-config-11.0.xsd; lineNumber: 1061; columnNumber: 93; cvc-datatype-valid.1.2.1: '${Transaction.auto-commit}' is not a valid value for 'boolean'
> {noformat}
>
> {noformat}
> Test failed: org.infinispan.persistence.file.SingleFileStoreCompatibilityTest.testReadWriteFrom101
> org.infinispan.commons.CacheConfigurationException: Error starting component org.infinispan.persistence.manager.PersistenceManager
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 10 months
[JBoss JIRA] (ISPN-12087) Some tests are failing on windows
by Gustavo Lira e Silva (Jira)
[ https://issues.redhat.com/browse/ISPN-12087?page=com.atlassian.jira.plugi... ]
Gustavo Lira e Silva updated ISPN-12087:
----------------------------------------
Status: Open (was: New)
> Some tests are failing on windows
> ---------------------------------
>
> Key: ISPN-12087
> URL: https://issues.redhat.com/browse/ISPN-12087
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.1.Final
> Reporter: Gustavo Lira e Silva
> Assignee: Gustavo Lira e Silva
> Priority: Major
>
> {noformat}
> Test failed: org.infinispan.configuration.ConfigurationUnitTest.testSchema
> org.xml.sax.SAXParseException; systemId: file:/C:/j/workspace/tmp-jdg-8.0.x-jdg-func-ispn-testsuite-win-openjdk-gustavo/49e4cf49/infinispan/core/target/classes/schema/infinispan-config-11.0.xsd; lineNumber: 1061; columnNumber: 93; cvc-datatype-valid.1.2.1: '${Transaction.auto-commit}' is not a valid value for 'boolean'
> {noformat}
>
> {noformat}
> Test failed: org.infinispan.persistence.file.SingleFileStoreCompatibilityTest.testReadWriteFrom101
> org.infinispan.commons.CacheConfigurationException: Error starting component org.infinispan.persistence.manager.PersistenceManager
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 10 months
[JBoss JIRA] (ISPN-12087) Some tests are failing on windows
by Gustavo Lira e Silva (Jira)
[ https://issues.redhat.com/browse/ISPN-12087?page=com.atlassian.jira.plugi... ]
Gustavo Lira e Silva updated ISPN-12087:
----------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/8530
> Some tests are failing on windows
> ---------------------------------
>
> Key: ISPN-12087
> URL: https://issues.redhat.com/browse/ISPN-12087
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 11.0.1.Final
> Reporter: Gustavo Lira e Silva
> Assignee: Gustavo Lira e Silva
> Priority: Major
>
> {noformat}
> Test failed: org.infinispan.configuration.ConfigurationUnitTest.testSchema
> org.xml.sax.SAXParseException; systemId: file:/C:/j/workspace/tmp-jdg-8.0.x-jdg-func-ispn-testsuite-win-openjdk-gustavo/49e4cf49/infinispan/core/target/classes/schema/infinispan-config-11.0.xsd; lineNumber: 1061; columnNumber: 93; cvc-datatype-valid.1.2.1: '${Transaction.auto-commit}' is not a valid value for 'boolean'
> {noformat}
>
> {noformat}
> Test failed: org.infinispan.persistence.file.SingleFileStoreCompatibilityTest.testReadWriteFrom101
> org.infinispan.commons.CacheConfigurationException: Error starting component org.infinispan.persistence.manager.PersistenceManager
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 10 months
[JBoss JIRA] (ISPN-12087) Some tests are failing on windows
by Gustavo Lira e Silva (Jira)
Gustavo Lira e Silva created ISPN-12087:
-------------------------------------------
Summary: Some tests are failing on windows
Key: ISPN-12087
URL: https://issues.redhat.com/browse/ISPN-12087
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 11.0.1.Final
Reporter: Gustavo Lira e Silva
Assignee: Gustavo Lira e Silva
{noformat}
Test failed: org.infinispan.configuration.ConfigurationUnitTest.testSchema
org.xml.sax.SAXParseException; systemId: file:/C:/j/workspace/tmp-jdg-8.0.x-jdg-func-ispn-testsuite-win-openjdk-gustavo/49e4cf49/infinispan/core/target/classes/schema/infinispan-config-11.0.xsd; lineNumber: 1061; columnNumber: 93; cvc-datatype-valid.1.2.1: '${Transaction.auto-commit}' is not a valid value for 'boolean'
{noformat}
{noformat}
Test failed: org.infinispan.persistence.file.SingleFileStoreCompatibilityTest.testReadWriteFrom101
org.infinispan.commons.CacheConfigurationException: Error starting component org.infinispan.persistence.manager.PersistenceManager
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
3 years, 10 months
[JBoss JIRA] (ISPN-12076) Ability to define the Cache template in yaml in the operator
by Vittorio Rigamonti (Jira)
[ https://issues.redhat.com/browse/ISPN-12076?page=com.atlassian.jira.plugi... ]
Vittorio Rigamonti commented on ISPN-12076:
-------------------------------------------
I don't think there's an optimal solution
* use the well known XML or
* have GUI assistance but need to learn new format to do the same things
from the dev pov we could implement both, but even the unstructured yaml needs documentation effort
> 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)
3 years, 10 months
[JBoss JIRA] (ISPN-12076) Ability to define the Cache template in yaml in the operator
by Vittorio Rigamonti (Jira)
[ https://issues.redhat.com/browse/ISPN-12076?page=com.atlassian.jira.plugi... ]
Vittorio Rigamonti commented on ISPN-12076:
-------------------------------------------
yep, this is a usability issue
> 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)
3 years, 10 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 commented on ISPN-12076:
-------------------------------------------------
I don't mean to build a whole object definition for cache template in the CRD.
I guess something like passing template as not typed object field, and then just yaml2json the object to be passed using REST to infinispan API may do the work. I understand that xml is well documented in infinispan, but if you create the CR in an IDE or do some kind of yaml checking, the xml template cannot be linted, and you have to do a 2-steps approach and from my PoV it has some issues in usability.
> 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)
3 years, 10 months