Skip to content

Commit aafee46

Browse files
authored
Merge pull request #2 from siri-varma/users/svegiraju/test-latest
Users/svegiraju/test latest
2 parents dd6fe55 + 6ad648c commit aafee46

File tree

6 files changed

+21
-6
lines changed

6 files changed

+21
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
GOPROXY: https://proxy.golang.org
4040
JDK_VER: ${{ matrix.java }}
4141
DAPR_CLI_VER: 1.15.0
42-
DAPR_RUNTIME_VER: 1.15.7
42+
DAPR_RUNTIME_VER: 1.16.0-rc.2
4343
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.15.0/install/install.sh
4444
DAPR_CLI_REF:
4545
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.15.7
41+
DAPR_RUNTIME_VER: 1.16.0-rc.2
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.15.7")
98+
return new DaprContainer("daprio/daprd:1.16.0-rc.2")
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.15.7")
253+
return new DaprContainer("daprio/daprd:1.16.0-rc.2")
254254
.withAppName("producer-app")
255255
.withNetwork(daprNetwork)
256256
.withComponent(new Component("kvstore", "state.postgresql", "v1", STATE_STORE_PROPERTIES))

sdk-tests/src/test/java/io/dapr/it/testcontainers/jobs/DaprJobsIT.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ public void testJobScheduleCreationWithDueTime() {
102102

103103
GetJobResponse getJobResponse =
104104
daprPreviewClient.getJob(new GetJobRequest("Job")).block();
105+
106+
daprPreviewClient.deleteJob(new DeleteJobRequest("Job")).block();
107+
105108
assertEquals(iso8601Formatter.format(currentTime), getJobResponse.getDueTime().toString());
106109
assertEquals("Job", getJobResponse.getName());
107110
}
@@ -117,6 +120,9 @@ public void testJobScheduleCreationWithSchedule() {
117120

118121
GetJobResponse getJobResponse =
119122
daprPreviewClient.getJob(new GetJobRequest("Job")).block();
123+
124+
daprPreviewClient.deleteJob(new DeleteJobRequest("Job")).block();
125+
120126
assertEquals(iso8601Formatter.format(currentTime), getJobResponse.getDueTime().toString());
121127
assertEquals(JobSchedule.hourly().getExpression(), getJobResponse.getSchedule().getExpression());
122128
assertEquals("Job", getJobResponse.getName());
@@ -138,6 +144,9 @@ public void testJobScheduleCreationWithAllParameters() {
138144

139145
GetJobResponse getJobResponse =
140146
daprPreviewClient.getJob(new GetJobRequest("Job")).block();
147+
148+
daprPreviewClient.deleteJob(new DeleteJobRequest("Job")).block();
149+
141150
assertEquals(iso8601Formatter.format(currentTime), getJobResponse.getDueTime().toString());
142151
assertEquals("2 * 3 * * FRI", getJobResponse.getSchedule().getExpression());
143152
assertEquals("Job", getJobResponse.getName());
@@ -164,6 +173,9 @@ public void testJobScheduleCreationWithDropFailurePolicy() {
164173

165174
GetJobResponse getJobResponse =
166175
daprPreviewClient.getJob(new GetJobRequest("Job")).block();
176+
177+
daprPreviewClient.deleteJob(new DeleteJobRequest("Job")).block();
178+
167179
assertEquals(FailurePolicyType.DROP, getJobResponse.getFailurePolicy().getFailurePolicyType());
168180
}
169181

@@ -185,6 +197,9 @@ public void testJobScheduleCreationWithConstantFailurePolicy() {
185197

186198
GetJobResponse getJobResponse =
187199
daprPreviewClient.getJob(new GetJobRequest("Job")).block();
200+
201+
daprPreviewClient.deleteJob(new DeleteJobRequest("Job")).block();
202+
188203
ConstantFailurePolicy jobFailurePolicyConstant = (ConstantFailurePolicy) getJobResponse.getFailurePolicy();
189204
assertEquals(FailurePolicyType.CONSTANT, getJobResponse.getFailurePolicy().getFailurePolicyType());
190205
assertEquals(3, (int)jobFailurePolicyConstant.getMaxRetries());

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.15.7 \
33+
--version=1.16.0-rc.2 \
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.15.7";
17+
String DAPR_VERSION = "1.16.0-rc.2";
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)