zpinto commented on code in PR #2919:
URL: https://github.com/apache/helix/pull/2919#discussion_r1765574754
##########
helix-core/src/main/java/org/apache/helix/model/RESTConfig.java:
##########
@@ -83,4 +85,18 @@ public String getBaseUrl(String instance) {
return baseUrl.replace("*", instanceVip);
}
+
+ /**
+ * Retrieves the configured health URL if no wildcard is present.
+ * Returns an empty Optional if the URL contains a wildcard.
+ *
+ * @return Optional containing the exact configured URL, or empty if a
wildcard is present.
+ */
+ public Optional<String> getConfiguredHealthUrl() {
Review Comment:
`getCompleteConfiguredHealthUrl`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]