-
Bug
-
Resolution: Done
-
Major
-
None
-
None
From readinessProbe.sh
curl -s --digest -L http://localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"read-attribute","name":"cache-status", "address": ["subsystem", "infinispan", "cache-container", "clustered", "distributed-cache", "default"], "json.pretty":1}'
The issue with the code is that
- The user might use other than default cache name
- The user might use multiple caches - default, memcached
- The user might use cache of different type - not distributed but replicated
Similar issue exists for livenessProbe