-
Enhancement
-
Resolution: Done
-
Major
-
0.3.0
-
None
-
2019 Week 38-40 (from Sep 16), 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28)
Right now is impossible to have hot-hod client properties externalized. This would be useful when configuring the Data Index as a container and when the server needs authentication.
The proposal change is to add something like this to the RemoteCacheManager configuration:
ConfigurationBuilder b = new ConfigurationBuilder(); Properties p = new Properties(); try(Reader r = new FileReader("/path/to/hotrod-client.properties")) { p.load(r); b.withProperties(p); } RemoteCacheManager rcm = new RemoteCacheManager(b.build());
Also, the component should read from an external system property the path to read the hotrod-client.properties files.
This will add the possibility to have a ConfigMap with the contents of this file be mounted on container runtime.
- relates to
-
KOGITO-94 Integrate Infinispan Operator with Kogito Data Index controller
- Closed