This demo shows how to deploy Infinispan on OpenShift cluster (with TLS/SNI), and connect to the Grid using Hot Rod client. The demo will use Passthrough Route which will allow clients to connect to it.
The code located in this repository provides implementation for Multi-tenancy blog post, which can be found here: http://blog.infinispan.org/2017/09/multi-tenancy-infinispan-as-service.html
-
Deploy it on OpenShift local cluster using
./init_infrastructure.sh
-
Look at the logs of
cache-checker
. Notice to what caches it has access to. -
Look at the source of
cache-checker
application. -
Try to change SSL Realm and/or Route. Did you notice the change?
-
Try accessing different caches.