Skip to content

Commit 8fa4e9d

Browse files
chore: Bump dapr version (#1539)
* chore: Bump dapr version Signed-off-by: Javier Aliaga <[email protected]> * chore: Fix conversation tests Only one response expected Signed-off-by: Javier Aliaga <[email protected]> --------- Signed-off-by: Javier Aliaga <[email protected]>
1 parent 5e0098a commit 8fa4e9d

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
GOPROXY: https://proxy.golang.org
6969
JDK_VER: ${{ matrix.java }}
7070
DAPR_CLI_VER: 1.15.0
71-
DAPR_RUNTIME_VER: 1.16.0-rc.3
71+
DAPR_RUNTIME_VER: 1.16.0-rc.5
7272
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.15.0/install/install.sh
7373
DAPR_CLI_REF:
7474
DAPR_REF:

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
GOPROXY: https://proxy.golang.org
3939
JDK_VER: ${{ matrix.java }}
4040
DAPR_CLI_VER: 1.15.0
41-
DAPR_RUNTIME_VER: 1.16.0-rc.3
41+
DAPR_RUNTIME_VER: 1.16.0-rc.5
4242
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.15.0/install/install.sh
4343
DAPR_CLI_REF:
4444
DAPR_REF:

daprdocs/content/en/java-sdk-docs/spring-boot/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class DaprTestContainersConfig {
9595
@ServiceConnection
9696
public DaprContainer daprContainer(Network daprNetwork, PostgreSQLContainer<?> postgreSQLContainer){
9797

98-
return new DaprContainer("daprio/daprd:1.16.0-rc.3")
98+
return new DaprContainer("daprio/daprd:1.16.0-rc.5")
9999
.withAppName("producer-app")
100100
.withNetwork(daprNetwork)
101101
.withComponent(new Component("kvstore", "state.postgresql", "v1", STATE_STORE_PROPERTIES))
@@ -250,7 +250,7 @@ Finally, because Dapr PubSub requires a bidirectional connection between your ap
250250
@ServiceConnection
251251
public DaprContainer daprContainer(Network daprNetwork, PostgreSQLContainer<?> postgreSQLContainer, RabbitMQContainer rabbitMQContainer){
252252

253-
return new DaprContainer("daprio/daprd:1.16.0-rc.3")
253+
return new DaprContainer("daprio/daprd:1.16.0-rc.5")
254254
.withAppName("producer-app")
255255
.withNetwork(daprNetwork)
256256
.withComponent(new Component("kvstore", "state.postgresql", "v1", STATE_STORE_PROPERTIES))

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<grpc.version>1.69.0</grpc.version>
1818
<protobuf.version>3.25.5</protobuf.version>
1919
<protocCommand>java-sdk-protoc</protocCommand>
20-
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.16.0-rc.3/dapr/proto</dapr.proto.baseurl>
20+
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.16.0-rc.5/dapr/proto</dapr.proto.baseurl>
2121
<dapr.sdk.version>1.17.0-SNAPSHOT</dapr.sdk.version>
2222
<dapr.sdk.alpha.version>0.17.0-SNAPSHOT</dapr.sdk.alpha.version>
2323
<os-maven-plugin.version>1.7.1</os-maven-plugin.version>

sdk-tests/src/test/java/io/dapr/it/testcontainers/conversations/DaprConversationIT.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,9 @@ public void testConversationSDKShouldScrubPIIWhenScrubPIIIsSetInRequestBody() {
109109
this.daprPreviewClient.converse(new ConversationRequest("echo", conversationInputList)
110110
.setScrubPii(true)).block();
111111

112-
Assertions.assertEquals("", response.getContextId());
113-
Assertions.assertEquals("input this <EMAIL_ADDRESS>",
112+
Assertions.assertEquals("", response.getContextId());
113+
Assertions.assertEquals("input this <EMAIL_ADDRESS>\ninput this <PHONE_NUMBER>",
114114
response.getConversationOutputs().get(0).getResult());
115-
Assertions.assertEquals("input this <PHONE_NUMBER>",
116-
response.getConversationOutputs().get(1).getResult());
117115
}
118116

119117
@Test
@@ -126,9 +124,7 @@ public void testConversationSDKShouldScrubPIIOnlyForTheInputWhereScrubPIIIsSet()
126124
this.daprPreviewClient.converse(new ConversationRequest("echo", conversationInputList)).block();
127125

128126
Assertions.assertEquals("", response.getContextId());
129-
Assertions.assertEquals("input this [email protected]",
127+
Assertions.assertEquals("input this [email protected]\ninput this <PHONE_NUMBER>",
130128
response.getConversationOutputs().get(0).getResult());
131-
Assertions.assertEquals("input this <PHONE_NUMBER>",
132-
response.getConversationOutputs().get(1).getResult());
133129
}
134130
}

spring-boot-examples/kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Once you have the cluster up and running you can install Dapr:
3030
helm repo add dapr https://dapr.github.io/helm-charts/
3131
helm repo update
3232
helm upgrade --install dapr dapr/dapr \
33-
--version=1.16.0-rc.3 \
33+
--version=1.16.0-rc.5 \
3434
--namespace dapr-system \
3535
--create-namespace \
3636
--wait

testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainerConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
package io.dapr.testcontainers;
1515

1616
public interface DaprContainerConstants {
17-
String DAPR_VERSION = "1.16.0-rc.3";
17+
String DAPR_VERSION = "1.16.0-rc.5";
1818
String DAPR_RUNTIME_IMAGE_TAG = "daprio/daprd:" + DAPR_VERSION;
1919
String DAPR_PLACEMENT_IMAGE_TAG = "daprio/placement:" + DAPR_VERSION;
2020
String DAPR_SCHEDULER_IMAGE_TAG = "daprio/scheduler:" + DAPR_VERSION;

0 commit comments

Comments
 (0)