[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes commented on ISPN-11012:
------------------------------------------
> I also get wrong results with FETCH (see ISPN-11014). So what do I need to do, in order to get correct results?
Ok, let's not mix JIRAs :) This one is about returning null in the result list. Does it happen if you don't use BROADCAST?
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Jens Reimann (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Jens Reimann commented on ISPN-11012:
-------------------------------------
Here:
{quote}08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, …{quote}
and here:
{quote}08:58:17.797 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null]{quote}
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes edited comment on ISPN-11012 at 12/2/19 5:36 AM:
-------------------------------------------------------------------
You mentioned "sometimes returns null entries in the result list" but I cannot see the query result in the logs, but only a log from a custom class {{i.e.i.t.c.InfinispanTenantCleaner}}. Do you have an actual query result returning null in the results?
was (Author: gustavonalle):
You mentioned "sometimes returns null entries in the result list" but I cannot see the query result in the logs, but only a log from a {{i.e.i.t.c.InfinispanTenantCleaner}}. Do you have an actual query result returning null in the results?
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes commented on ISPN-11012:
------------------------------------------
You mentioned "sometimes returns null entries in the result list" but I cannot see the query result in the logs, but only a log from a {{i.e.i.t.c.InfinispanTenantCleaner}}. Do you have an actual query result returning null in the results?
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Jens Reimann (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Jens Reimann commented on ISPN-11012:
-------------------------------------
{quote}Also, my understanding is that your are deleting data from the cache (InfinispanTenantCleaner) while querying simultaneously?{quote}
No, in this test case data is only being deleted. The test is:
* Create data
* Wait a bit (~1 min)
* Delete data
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Jens Reimann (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Jens Reimann commented on ISPN-11012:
-------------------------------------
I also get wrong results with FETCH (see ISPN-11014). So what do I need to do, in order to get correct results?
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes edited comment on ISPN-11012 at 12/2/19 5:25 AM:
-------------------------------------------------------------------
I can see from the config, the "devices" cache uses the {{org.infinispan.query.indexmanager.InfinispanIndexManager}}, which is a single index for the whole cluster. So you must not use IndexedQueryMode.BROADCAST or you will get wrong results
was (Author: gustavonalle):
I can see from the config, the "devices" cache uses the {{org.infinispan.query.indexmanager.InfinispanIndexManager}}, which is a single index for all cluster. So you must not use IndexedQueryMode.BROADCAST or you will get wrong results
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11012) Remote query with Ickle returns null in list
by Gustavo Fernandes (Jira)
[ https://issues.jboss.org/browse/ISPN-11012?page=com.atlassian.jira.plugin... ]
Gustavo Fernandes commented on ISPN-11012:
------------------------------------------
I can see from the config, the "devices" cache uses the {{org.infinispan.query.indexmanager.InfinispanIndexManager}}, which is a single index for all cluster. So you must not use IndexedQueryMode.BROADCAST or you will get wrong results
> Remote query with Ickle returns null in list
> --------------------------------------------
>
> Key: ISPN-11012
> URL: https://issues.jboss.org/browse/ISPN-11012
> Project: Infinispan
> Issue Type: Task
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Doing a query with Ickle:
> {code:java}
> var query = Search
> .getQueryFactory(devicesCache)
> .create(
> "from io.enmasse.iot.registry.infinispan.data.DeviceInformation d where d.tenantId=:tenantId",
> IndexedQueryMode.BROADCAST)
> .maxResults(config.getDeletionChunkSize())
> .setParameter("tenantId", tenantId);
> var list = query.list();
> {code}
> sometimes returns {{null}} entries in the result list:
> {code:java}
> 08:41:10.201 [main] DEBUG i.e.i.t.c.InfinispanTenantCleaner - List: [null, null, null, null, null, null, null, null, null, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-lghfn222, version=23c01c7a-40dd-40ca-a703-ba37e0f9ae1d, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-lghfnauth-222, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"YL83poc4t6wVqJm3zjcUpGI9GUVMi3u5uyK/OSdlepc=","salt":"+DXyglWxFg4="}]}]}, DeviceInformation{tenantId=jbtest.iot/2019-12-02T08:22:49Z, deviceId=http-inserter-w7lsv262, version=2cf8b8b0-a207-45ea-b0bc-5403c67f64b5, registrationInformation={}, credentials=[DeviceCredential{authId=http-inserter-w7lsvauth-262, type=hashed-password, enabled=null, secrets=[{"hash-function":"sha-256","pwd-hash":"vdO2o/73VTXxyCbaMxBn5Y
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11017) Cluster fails and doesn't recover under load
by Jens Reimann (Jira)
[ https://issues.jboss.org/browse/ISPN-11017?page=com.atlassian.jira.plugin... ]
Jens Reimann updated ISPN-11017:
--------------------------------
Attachment: infinispan.xml
> Cluster fails and doesn't recover under load
> --------------------------------------------
>
> Key: ISPN-11017
> URL: https://issues.jboss.org/browse/ISPN-11017
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 10.0.1.Final
> Environment: Running in OpenShift, with a stateful set of 12 nodes, a distributed cache with 3 owners, async indexing enabled, persistence with rocksdb.
> Reporter: Jens Reimann
> Priority: Blocker
> Attachments: infinispan.xml
>
>
> After running the load test for a few seconds the inifinispan cluster stops accepting requests and the nodes start to split off from the cluster. In the server's log you can find tons of exceptions like:
> {code:java}
> 10:42:26,939 ERROR [org.infinispan.interceptors.impl.InvocationContextInterceptor] (timeout-thread--p4-t1) ISPN000136: Error executing command PutKeyValueCommand on Cache '___protobuf_metadata', writing keys [deviceRegistry.proto]: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key deviceRegistry.proto and requestor GlobalTx:infinispan-2-61958:249. Lock is held by GlobalTx:infinispan-2-61958:248
> {code}
> Stopping the load test doesn't let the cluster recover. Most (not all) of the liveness checks fail and pods get restarted. But even after 1 hour, the cluster is still in a non-working state.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months
[JBoss JIRA] (ISPN-11013) Selecting a single field in a query returns wrong "total_count"
by Jens Reimann (Jira)
[ https://issues.jboss.org/browse/ISPN-11013?page=com.atlassian.jira.plugin... ]
Jens Reimann updated ISPN-11013:
--------------------------------
Attachment: infinispan.xml
> Selecting a single field in a query returns wrong "total_count"
> ---------------------------------------------------------------
>
> Key: ISPN-11013
> URL: https://issues.jboss.org/browse/ISPN-11013
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying
> Affects Versions: 10.0.1.Final
> Reporter: Jens Reimann
> Priority: Major
> Attachments: infinispan.xml
>
>
> Adding a field selector to the query returns the wrong "total_count" in the result:
> {code:java}
> ➜ openshift oc -n enmasse-infra rsh infinispan-0 curl 'http://app:test12@infinispan-0:11222/rest/v2/caches/devices?action=search...'
> {
> "total_results" : 38847,
> "hits" : [ {
> "hit" : {
> "_type" : "io.enmasse.iot.registry.infinispan.data.DeviceInformation",
> "tenantId" : "jbtest.iot/2019-11-29T08:52:39Z",
> "deviceId" : "http-inserter-wh5xn103",
> "version" : "992899e8-c557-4a2c-8bc0-db950a803898",
> "registrationInformation" : "{}",
> "credentials" : [ {
> "authId" : "device-103",
> "type" : "hashed-password",
> "secrets" : [ "{\"hash-function\":\"bcrypt\",\"pwd-hash\":\"$2y$12$JELemetlJuc.6ZgQkCn5X..7UEPQm5iQV23lgno7/2sEKY2i.mPmS\"}" ]
> } ]
> }
> } ]
> }
> {code}
> {code:java}
> ➜ openshift oc -n enmasse-infra rsh infinispan-0 curl 'http://app:test12@infinispan-0:11222/rest/v2/caches/devices?action=search...'
> {
> "total_results" : 1,
> "hits" : [ {
> "hit" : {
> "deviceId" : "http-inserter-wh5xn103"
> }
> } ]
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 3 months