Skip to content

Commit 0d4112d

Browse files
committed
fixing small issues and updating to 1.15.0
1 parent ed081d8 commit 0d4112d

File tree

14 files changed

+16
-36
lines changed

14 files changed

+16
-36
lines changed

bindings/java/sdk/batch/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
<dependency>
2929
<groupId>io.dapr</groupId>
3030
<artifactId>dapr-sdk-springboot</artifactId>
31-
<version>1.14.1</version>
31+
<version>1.15.0</version>
3232
</dependency>
3333
<dependency>
3434
<groupId>io.dapr</groupId>
3535
<artifactId>dapr-sdk</artifactId>
36-
<version>1.14.1</version>
36+
<version>1.15.0</version>
3737
</dependency>
3838
<dependency>
3939
<groupId>org.projectlombok</groupId>

configuration/java/sdk/order-processor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>io.dapr</groupId>
1919
<artifactId>dapr-sdk</artifactId>
20-
<version>1.14.1</version>
20+
<version>1.15.0</version>
2121
</dependency>
2222
<dependency>
2323
<groupId>io.projectreactor</groupId>

pub_sub/java/sdk/checkout/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>io.dapr</groupId>
1919
<artifactId>dapr-sdk</artifactId>
20-
<version>1.14.1</version>
20+
<version>1.15.0</version>
2121
</dependency>
2222
<dependency>
2323
<groupId>com.squareup.okhttp3</groupId>

pub_sub/java/sdk/order-processor/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<dependency>
2525
<groupId>io.dapr</groupId>
2626
<artifactId>dapr-sdk-springboot</artifactId>
27-
<version>1.14.1</version>
27+
<version>1.15.0</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>io.dapr</groupId>
3131
<artifactId>dapr-sdk</artifactId>
32-
<version>1.14.1</version>
32+
<version>1.15.0</version>
3333
</dependency>
3434
<dependency>
3535
<groupId>org.projectlombok</groupId>

secrets_management/java/sdk/order-processor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<dependency>
2121
<groupId>io.dapr</groupId>
2222
<artifactId>dapr-sdk</artifactId>
23-
<version>1.14.1</version>
23+
<version>1.15.0</version>
2424
</dependency>
2525
</dependencies>
2626
<build>

state_management/java/sdk/order-processor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>io.dapr</groupId>
1919
<artifactId>dapr-sdk</artifactId>
20-
<version>1.14.1</version>
20+
<version>1.15.0</version>
2121
</dependency>
2222
<dependency>
2323
<groupId>org.projectlombok</groupId>

tutorials/workflow/java/combined-patterns/shipping-app/src/test/java/io/dapr/springboot/examples/DaprTestContainersConfig.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,4 @@ public Statement apply(Statement base, Description description) {
105105
}
106106
}
107107

108-
109-
110-
111108
}

tutorials/workflow/java/combined-patterns/workflow-app/src/main/java/io/dapr/springboot/workflowapp/WorkflowAppRestController.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public class WorkflowAppRestController {
5050
public static final String DAPR_PUBSUB_COMPONENT = "shippingpubsub";
5151
public static final String DAPR_PUBSUB_REGISTRATION_TOPIC = "shipment-registration-events";
5252
public static final String SHIPMENT_REGISTERED_EVENT = "shipment-registered-event";
53+
public static final String DAPR_PUBSUB_REGISTRATION_CONFIRMED_TOPIC = "shipment-registration-confirmed-events";
5354

5455
@Autowired
5556
private DaprWorkflowClient daprWorkflowClient;
@@ -84,7 +85,7 @@ public String basic(@RequestBody Order order) throws TimeoutException {
8485
* @param status ShipmentRegistrationStatus
8586
*/
8687
@PostMapping("shipmentRegistered")
87-
@Topic(pubsubName = DAPR_PUBSUB_COMPONENT, name = "shipment-registration-confirmed-events")
88+
@Topic(pubsubName = DAPR_PUBSUB_COMPONENT, name = DAPR_PUBSUB_REGISTRATION_CONFIRMED_TOPIC)
8889
public void shipmentRegistered(@RequestBody CloudEvent<ShipmentRegistrationStatus> status){
8990
logger.info("Shipment registered for order {}", status.getData());
9091
daprWorkflowClient.raiseEvent(status.getData().orderId(), SHIPMENT_REGISTERED_EVENT, status.getData());
@@ -126,10 +127,5 @@ public OrderStatus getOutput(@RequestParam("instanceId") String instanceId){
126127
return instanceState.readOutputAs(OrderStatus.class);
127128
}
128129

129-
130-
131-
132-
133-
134130
}
135131

tutorials/workflow/java/fan-out-fan-in/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ graph LR
7474
curl --request GET --url http://localhost:8080/output
7575
```
7676

77-
5. The expected serialized output of the workflow is an array with two strings:
77+
5. The expected serialized output of the workflow is one string (the shortest) from the array.
7878

7979
```txt
8080
"["is"]"

0 commit comments

Comments
 (0)