[Red Hat JIRA] (ISPN-12751) InfinispanEmbeddedSessionRepository.findByIndexNameAndIndexValue() fails in distributed cache
by Dan Berindei (Jira)
Dan Berindei created ISPN-12751:
-----------------------------------
Summary: InfinispanEmbeddedSessionRepository.findByIndexNameAndIndexValue() fails in distributed cache
Key: ISPN-12751
URL: https://issues.redhat.com/browse/ISPN-12751
Project: Infinispan
Issue Type: Bug
Components: Spring Integration
Affects Versions: 12.0.1.Final, 11.0.9.Final, 9.4.21.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 12.1.0.Final
{{InfinispanEmbeddedSessionRepository.findByIndexNameAndIndexValue()}} uses cache streams, but it uses them through the {{BasicCache}} interface instead of the {{Cache}} interface. This means the stream type is {{Stream}}, not {{CacheStream}}, and method overloads with serializable lambda parameters are not available.
Thus {{stream.collect(Collectors.toMap(MapSession::getId, Function.identity()))}} will make the collector non-serializable, and it will only work in local/replicated caches.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12750) Form Login included in the Welcome page
by Katia Aresti (Jira)
Katia Aresti created ISPN-12750:
-----------------------------------
Summary: Form Login included in the Welcome page
Key: ISPN-12750
URL: https://issues.redhat.com/browse/ISPN-12750
Project: Infinispan
Issue Type: Enhancement
Components: Console
Affects Versions: 12.1.0.Dev01
Reporter: Katia Aresti
Assignee: Katia Aresti
Remove the pop up and include the form login inside the welcome page when digest authentication is available
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12730) NPE when mapping a repeated non-indexed field in a schema
by Cristiano Nicolai (Jira)
[ https://issues.redhat.com/browse/ISPN-12730?page=com.atlassian.jira.plugi... ]
Cristiano Nicolai commented on ISPN-12730:
------------------------------------------
Thanks [~gustavonalle] !
> NPE when mapping a repeated non-indexed field in a schema
> ---------------------------------------------------------
>
> Key: ISPN-12730
> URL: https://issues.redhat.com/browse/ISPN-12730
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 12.0.1.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Schema:
> {code}
> package com.redhat;
> message Attack {
> optional string type = 1;
> }
> /**
> * @Indexed
> */
> message ConnectedPlayer {
> optional string uuid = 1;
> optional string userName = 2;
> optional string match = 3;
> repeated Attack attacks = 4;
> /**
> * @Field(index=Index.YES, analyze = Analyze.NO, store = Store.NO)
> */
> optional int32 score = 5;
> optional int64 timestamp = 6;
> }
> {code}
> Cache Definition:
> {code:json}
> {
> "distributed-cache": {
> "mode": "SYNC",
> "encoding": {
> "key": {
> "media-type": "application/x-protostream"
> },
> "value": {
> "media-type": "application/x-protostream"
> }
> },
> "indexing": {
> "enabled":true,
> "indexed-entities" : ["com.redhat.ConnectedPlayer"]
> },
> "transaction": {
> "mode": "NON_XA"
> },
> "memory": {
> "storage": "HEAP"
> }
> }
> }
> {code}
> The cache creation will throw a NPE:
> {noformat}
> 08:25:43,520 ERROR (blocking-thread--p3-t4) [org.hibernate.search.engine.reporting.spi.RootFailureCollector] HSEARCH000521: Hibernate Search encountered a failure during bootstrap; continuing for now to list all problems, but the process will ultimately be aborted.
> Context: Infinispan Search Mapping, type 'com.redhat.ConnectedPlayer ([B)'
> Failure: java.lang.NullPointerException
> at org.infinispan.query.remote.impl.mapping.typebridge.ProtobufMessageBinder$State.bind(ProtobufMessageBinder.java:92)
> at org.infinispan.query.remote.impl.mapping.typebridge.ProtobufMessageBinder.createIndexReferenceProvider(ProtobufMessageBinder.java:49)
> at org.infinispan.query.remote.impl.mapping.typebridge.ProtobufMessageBinder.bind(ProtobufMessageBinder.java:34)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months
[Red Hat JIRA] (ISPN-12747) The REST API getDetail cache request admin role
by Katia Aresti (Jira)
Katia Aresti created ISPN-12747:
-----------------------------------
Summary: The REST API getDetail cache request admin role
Key: ISPN-12747
URL: https://issues.redhat.com/browse/ISPN-12747
Project: Infinispan
Issue Type: Bug
Components: REST
Affects Versions: 12.0.1.Final
Reporter: Katia Aresti
Assignee: Katia Aresti
The REST API get detail cache requests data that need different acl
ADMIN, BULK_READ or READ.
Fix the endpoint so every ACL will get the data that can be handled for their access type
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 3 months