Skip to content

Commit

Permalink
Merge pull request #39 from diagridio/dependabot/maven/ch.qos.logback…
Browse files Browse the repository at this point in the history
…-logback-classic-1.4.12

Bump ch.qos.logback:logback-classic from 1.4.11 to 1.4.12
  • Loading branch information
salaboy authored Dec 5, 2023
2 parents 489c927 + ec951fb commit 5b6c5e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.diagrid.dapr</groupId>
<artifactId>testcontainers-dapr</artifactId>
<version>0.10.10</version>
<version>0.10.11</version>
<name>Testcontainers :: Dapr Module</name>
<description>Testcontainers :: Dapr Module</description>
<packaging>jar</packaging>
Expand Down Expand Up @@ -37,7 +37,7 @@
<snakeyaml.version>2.0</snakeyaml.version>
<testcontainers.version>1.19.1</testcontainers.version>
<daprsdk.version>1.10.0</daprsdk.version>
<logback-classic.version>1.4.11</logback-classic.version>
<logback-classic.version>1.4.12</logback-classic.version>
<maven-source-plugin.version>3.3.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
<jreleaser.version>1.8.0</jreleaser.version>
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/io/diagrid/dapr/DaprContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public List<MetadataEntry> 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<Component> components = new HashSet<>();
private final Set<Subscription> subscriptions = new HashSet<>();
private String appName;
Expand All @@ -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);
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 5b6c5e6

Please sign in to comment.