sergehuber commented on code in PR #715:
URL: https://github.com/apache/unomi/pull/715#discussion_r2426939132


##########
extensions/healthcheck/src/main/resources/org.apache.unomi.healthcheck.cfg:
##########
@@ -20,12 +20,20 @@ esAddresses = 
${org.apache.unomi.elasticsearch.addresses:-localhost:9200}
 esSSLEnabled = ${org.apache.unomi.elasticsearch.sslEnable:-false}
 esLogin = ${org.apache.unomi.elasticsearch.username:-}
 esPassword = ${org.apache.unomi.elasticsearch.password:-}
-httpClient.trustAllCertificates = 
${org.apache.unomi.elasticsearch.sslTrustAllCertificates:-false}
+esHttpClient.trustAllCertificates = 
${org.apache.unomi.elasticsearch.sslTrustAllCertificates:-false}
+
+# OpenSearch configuration
+osAddresses = ${org.apache.unomi.opensearch.addresses:-localhost:9200}
+osSSLEnabled = ${org.apache.unomi.opensearch.sslEnable:-true}
+osLogin = ${org.apache.unomi.opensearch.username:-admin}
+osPassword = ${org.apache.unomi.opensearch.password:-}
+osHttpClient.trustAllCertificates = 
${org.apache.unomi.opensearch.sslTrustAllCertificates:-true}
+osMinimalClusterState = 
${org.apache.unomi.opensearch.minimalClusterState:-GREEN}
 
 # Security configuration
 authentication.realm = ${org.apache.unomi.security.realm:-karaf}
 
 # Health check configuration
 healthcheck.enabled = ${org.apache.unomi.healthcheck.enabled:-false}
-healthcheck.providers = 
${org.apache.unomi.healthcheck.providers:-cluster,elasticsearch,unomi,persistence}
+healthcheck.providers = 
${org.apache.unomi.healthcheck.providers:-cluster,elasticsearch,opensearch,unomi,persistence}

Review Comment:
   This was refactored to only activated the health check provider for the 
configured persistence implementation.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to