From 46ce3bb8cd21e506cfc39cd9d5f51a5d7364e281 Mon Sep 17 00:00:00 2001 From: salaboy Date: Wed, 29 Nov 2023 08:10:59 +0000 Subject: [PATCH 1/3] exposing internal port --- src/main/java/io/diagrid/dapr/DaprContainer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/diagrid/dapr/DaprContainer.java b/src/main/java/io/diagrid/dapr/DaprContainer.java index 1e831ad..65787ee 100644 --- a/src/main/java/io/diagrid/dapr/DaprContainer.java +++ b/src/main/java/io/diagrid/dapr/DaprContainer.java @@ -100,6 +100,7 @@ public List getMetadata() { private static final int DAPRD_HTTP_PORT = 3500; private static final int DAPRD_GRPC_PORT = 50001; + private static final int DAPRD_INTERNAL_GRPC_PORT = 50002; private final Set components = new HashSet<>(); private final Set subscriptions = new HashSet<>(); private String appName; @@ -119,7 +120,7 @@ public DaprContainer(DockerImageName dockerImageName) { // needs to // connect with the application for susbcriptions - withExposedPorts(DAPRD_HTTP_PORT, DAPRD_GRPC_PORT); + withExposedPorts(DAPRD_HTTP_PORT, DAPRD_GRPC_PORT, DAPRD_INTERNAL_GRPC_PORT); DumperOptions options = new DumperOptions(); options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK); @@ -239,8 +240,9 @@ protected void configure() { "-app-id", appName, "--dapr-listen-addresses=0.0.0.0", "--app-protocol", "http", + "--internal-grpc-port", DAPRD_INTERNAL_GRPC_PORT, "-placement-host-address", placementService, - "--app-channel-address", appChannelAddress, + "--dapr-internal-grpc-port", appChannelAddress, "--app-port", Integer.toString(appPort), "--log-level", daprLogLevel.toString(), "-components-path", "/components"); From 3ea4c9f1b48c413ddff69763ec776b6848a47f68 Mon Sep 17 00:00:00 2001 From: salaboy Date: Wed, 29 Nov 2023 08:12:30 +0000 Subject: [PATCH 2/3] bumping version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 760ace5..e7e08b9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 io.diagrid.dapr testcontainers-dapr - 0.10.10 + 0.10.11 Testcontainers :: Dapr Module Testcontainers :: Dapr Module jar From ec951fb796d1bc2ff8d7b63803363d321258ba26 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 21:46:18 +0000 Subject: [PATCH 3/3] Bump ch.qos.logback:logback-classic from 1.4.11 to 1.4.12 Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.4.11 to 1.4.12. - [Commits](https://github.com/qos-ch/logback/compare/v_1.4.11...v_1.4.12) --- updated-dependencies: - dependency-name: ch.qos.logback:logback-classic dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e7e08b9..c7ed9aa 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ 1.33 1.19.1 1.10.0 - 1.4.11 + 1.4.12 3.3.0 3.6.0 1.8.0