[Red Hat JIRA] (ISPN-12709) Cannot retrieve the keyset of a cache (ISPN000287)
by Lorenzo Pavez (Jira)
[ https://issues.redhat.com/browse/ISPN-12709?page=com.atlassian.jira.plugi... ]
Lorenzo Pavez commented on ISPN-12709:
--------------------------------------
I add that the attached config is working properly on Datagrid 8.0 (I retrieve correctly all the keys with keyset) but not in both Datagrid 8.1 and 8.1.1
[^conf_AND_sample.zip]
> Cannot retrieve the keyset of a cache (ISPN000287)
> --------------------------------------------------
>
> Key: ISPN-12709
> URL: https://issues.redhat.com/browse/ISPN-12709
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 11.0.9.Final
> Reporter: Lorenzo Pavez
> Assignee: Katia Aresti
> Priority: Blocker
> Attachments: InfinispanSample.java, conf_AND_sample.zip, infinispan.xml, log.txt
>
>
> Hi to all,
> Unfortunately I cannot retrieve the keyset from a cache because I get the following error:
> ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission
> It's quite strange; because in this example code I am able to create a cache if it's not existing (of course if you want to create a cache you need to be admin) but then I am not able to just retrieve the keyset of that cache.
> Am I doing some mistakes or effectively there is a bug?
> Thank you in advance for your help
> Best regards,
> Lorenzo
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 4 months
[Red Hat JIRA] (IPROTO-182) Enhance java.time.Instant default value support
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/IPROTO-182?page=com.atlassian.jira.plugi... ]
Dan Berindei commented on IPROTO-182:
-------------------------------------
Sorry I wasn't clearer [~anistor], I only tried the {{defaultValue}} attribute of the {{@ProtoField}} annotation.
> Enhance java.time.Instant default value support
> -----------------------------------------------
>
> Key: IPROTO-182
> URL: https://issues.redhat.com/browse/IPROTO-182
> Project: Infinispan ProtoStream
> Issue Type: Enhancement
> Reporter: Dan Berindei
> Assignee: Nistor Adrian
> Priority: Minor
> Fix For: 4.4.0.Final
>
>
> Because of IPROTO-114, I had to set a default value for {{java.time.Instant}} fields.
> The {{defaultValue}} javadoc says {{The value is given in the form of a string that must obey correct syntax (as defined by Protobuf spec.)}}, but the protobuf documentation isn't very clear on what the default value for a {{Timestamp}} field should look like, and {{java.time.Instant}} isn't exactly a {{Timestamp}} anyway.
> The correct default value format is a positive number, representing milliseconds since the UNIX epoch, but this format is not documented.
> But negative values should also be supported, because {{java.time.Instant}} can represent timestamps before the UNIX epoch.
> It would be even better to support the RFC 3339 format ({{"1972-01-01T10:00:20.021Z"}}) that protobuf uses when mapping a {{Timestamp}} to JSON.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 4 months
[Red Hat JIRA] (ISPN-12709) Cannot retrieve the keyset of a cache (ISPN000287)
by Katia Aresti (Jira)
[ https://issues.redhat.com/browse/ISPN-12709?page=com.atlassian.jira.plugi... ]
Katia Aresti reassigned ISPN-12709:
-----------------------------------
Assignee: Katia Aresti
> Cannot retrieve the keyset of a cache (ISPN000287)
> --------------------------------------------------
>
> Key: ISPN-12709
> URL: https://issues.redhat.com/browse/ISPN-12709
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 11.0.9.Final
> Reporter: Lorenzo Pavez
> Assignee: Katia Aresti
> Priority: Blocker
> Attachments: InfinispanSample.java, infinispan.xml, log.txt
>
>
> Hi to all,
> Unfortunately I cannot retrieve the keyset from a cache because I get the following error:
> ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission
> It's quite strange; because in this example code I am able to create a cache if it's not existing (of course if you want to create a cache you need to be admin) but then I am not able to just retrieve the keyset of that cache.
> Am I doing some mistakes or effectively there is a bug?
> Thank you in advance for your help
> Best regards,
> Lorenzo
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 4 months
[Red Hat JIRA] (ISPN-12721) The getEntries endpoint does not work well with not String values
by Katia Aresti (Jira)
Katia Aresti created ISPN-12721:
-----------------------------------
Summary: The getEntries endpoint does not work well with not String values
Key: ISPN-12721
URL: https://issues.redhat.com/browse/ISPN-12721
Project: Infinispan
Issue Type: Bug
Components: REST
Affects Versions: 12.0.0.Final
Reporter: Katia Aresti
Assignee: Katia Aresti
When we create data from the console in a non protobuf cache, sending integers, when we request entries the values are not correctly get.
A integer 1 may be displayed like '1r' in the rest endpoint.
TODO: attach example
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 4 months