davsclaus commented on code in PR #30849:
URL: https://github.com/apache/camel/pull/30849#discussion_r4705521657
##########
test-infra/camel-test-infra-weaviate/src/main/java/org/apache/camel/test/infra/weaviate/services/WeaviateInfraService.java:
##########
@@ -30,4 +30,23 @@ public interface WeaviateInfraService extends
InfrastructureService {
int getWeaviatePort();
int getWeaviateGrpcPort();
+
+ /**
+ * The host option of camel-weaviate: the host and the port of the HTTP
API.
+ */
+ default String host() {
+ return getWeaviateHost() + ":" + getWeaviatePort();
+ }
+
+ default String scheme() {
+ return "http";
+ }
+
+ default String grpcHost() {
Review Comment:
Added in f9dcb4d1605e (also on `scheme()` of the Weaviate service).
_Claude Code on behalf of davsclaus_
##########
test-infra/camel-test-infra-weaviate/src/main/java/org/apache/camel/test/infra/weaviate/services/WeaviateInfraService.java:
##########
@@ -30,4 +30,23 @@ public interface WeaviateInfraService extends
InfrastructureService {
int getWeaviatePort();
int getWeaviateGrpcPort();
+
+ /**
+ * The host option of camel-weaviate: the host and the port of the HTTP
API.
+ */
+ default String host() {
+ return getWeaviateHost() + ":" + getWeaviatePort();
+ }
+
+ default String scheme() {
+ return "http";
+ }
+
+ default String grpcHost() {
+ return getWeaviateHost();
+ }
+
+ default int grpcPort() {
Review Comment:
Added in f9dcb4d1605e (also on `scheme()` of the Weaviate service).
_Claude Code on behalf of davsclaus_
--
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]