mirror of https://github.com/dapr/quickstarts.git
update java to latest rc
Signed-off-by: Cassandra Coyle <cassie@diagrid.io> Signed-off-by: salaboy <Salaboy@gmail.com>
This commit is contained in:
parent
c5e94a6f03
commit
b7186c2dbb
|
|
@ -28,12 +28,12 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk-springboot</artifactId>
|
<artifactId>dapr-sdk-springboot</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk</artifactId>
|
<artifactId>dapr-sdk</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
|
@ -63,4 +63,4 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk</artifactId>
|
<artifactId>dapr-sdk</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.projectreactor</groupId>
|
<groupId>io.projectreactor</groupId>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk</artifactId>
|
<artifactId>dapr-sdk</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.squareup.okhttp3</groupId>
|
<groupId>com.squareup.okhttp3</groupId>
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk</artifactId>
|
<artifactId>dapr-sdk</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk</artifactId>
|
<artifactId>dapr-sdk</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.dapr</groupId>
|
<groupId>io.dapr</groupId>
|
||||||
<artifactId>dapr-sdk</artifactId>
|
<artifactId>dapr-sdk</artifactId>
|
||||||
<version>1.14.1</version>
|
<version>1.15.0-rc-1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
|
|
|
||||||
|
|
@ -20,14 +20,11 @@ import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* SendNotificationActivity simulates sending a notification
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
public class SendNotificationActivity implements WorkflowActivity {
|
public class SendNotificationActivity implements WorkflowActivity {
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object run(WorkflowActivityContext ctx) {
|
public Object run(WorkflowActivityContext ctx) {
|
||||||
Logger logger = LoggerFactory.getLogger(SendNotificationActivity.class);
|
Logger logger = LoggerFactory.getLogger(SendNotificationActivity.class);
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ import java.util.concurrent.TimeUnit;
|
||||||
import static io.dapr.springboot.examples.StringMatchesUUIDPattern.matchesThePatternOfAUUID;
|
import static io.dapr.springboot.examples.StringMatchesUUIDPattern.matchesThePatternOfAUUID;
|
||||||
import static io.restassured.RestAssured.given;
|
import static io.restassured.RestAssured.given;
|
||||||
import static org.awaitility.Awaitility.await;
|
import static org.awaitility.Awaitility.await;
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
|
|
||||||
@SpringBootTest(classes = {TestExternalEventsApplication.class, DaprTestContainersConfig.class,
|
@SpringBootTest(classes = {TestExternalEventsApplication.class, DaprTestContainersConfig.class,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue