Skip to content

Commit 7ea19fe

Browse files
authored
Merge pull request #35 from reactivegroup/chore/pom_optional
chore: try to set pom dependency in optional
2 parents ce9ad7f + 6066dbe commit 7ea19fe

File tree

8 files changed

+13
-11
lines changed

8 files changed

+13
-11
lines changed

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>capa-parent</artifactId>
2525
<groupId>group.rxcloud</groupId>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
</parent>
2828

2929
<artifactId>capa-examples</artifactId>

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<groupId>group.rxcloud</groupId>
2424
<artifactId>capa-parent</artifactId>
2525
<packaging>pom</packaging>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
<name>capa-sdk-parent</name>
2828
<description>SDK for Capa.</description>
2929
<url>https://github.com/reactivegroup</url>
@@ -72,7 +72,7 @@
7272
<java.version>8</java.version>
7373
<file.encoding>UTF-8</file.encoding>
7474
<maven.version>3.8.1</maven.version>
75-
<cloud-runtimes.version>1.0.4.RELEASE</cloud-runtimes.version>
75+
<cloud-runtimes.version>1.0.7.RELEASE</cloud-runtimes.version>
7676
<reactor-core.version>3.3.11.RELEASE</reactor-core.version>
7777
<junit.version>5.3.1</junit.version>
7878
<mockito-core.version>3.6.0</mockito-core.version>
@@ -128,6 +128,7 @@
128128
<groupId>io.projectreactor</groupId>
129129
<artifactId>reactor-core</artifactId>
130130
<version>${reactor-core.version}</version>
131+
<optional>true</optional>
131132
</dependency>
132133

133134
<!-- unit test -->

sdk-component/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>group.rxcloud</groupId>
2525
<artifactId>capa-parent</artifactId>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
</parent>
2828

2929
<artifactId>capa-sdk-component</artifactId>
@@ -70,6 +70,7 @@
7070
<artifactId>kotlin-stdlib-common</artifactId>
7171
<version>${kotlin-stdlib.version}</version>
7272
</dependency>
73+
7374
<dependency>
7475
<groupId>org.junit.jupiter</groupId>
7576
<artifactId>junit-jupiter-engine</artifactId>

sdk-infrastructure/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>capa-parent</artifactId>
2525
<groupId>group.rxcloud</groupId>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
</parent>
2828

2929
<artifactId>capa-sdk-infrastructure</artifactId>

sdk-spi-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>capa-parent</artifactId>
2525
<groupId>group.rxcloud</groupId>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
</parent>
2828

2929
<artifactId>capa-sdk-spi-demo</artifactId>

sdk-spi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<artifactId>capa-parent</artifactId>
2525
<groupId>group.rxcloud</groupId>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
</parent>
2828

2929
<artifactId>capa-sdk-spi</artifactId>

sdk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<parent>
2424
<groupId>group.rxcloud</groupId>
2525
<artifactId>capa-parent</artifactId>
26-
<version>1.0.4.RELEASE</version>
26+
<version>1.0.6.RELEASE</version>
2727
</parent>
2828

2929
<artifactId>capa-sdk</artifactId>

sdk/src/main/java/group/rxcloud/capa/pubsub/CapaPubSubClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
public interface CapaPubSubClient extends DefaultCloudRuntimesClient {
2626

2727
@Override
28-
Mono<Void> publishEvent(String pubsubName, String topicName, Object data);
28+
Mono<String> publishEvent(String pubsubName, String topicName, Object data);
2929

3030
@Override
31-
Mono<Void> publishEvent(String pubsubName, String topicName, Object data, Map<String, String> metadata);
31+
Mono<String> publishEvent(String pubsubName, String topicName, Object data, Map<String, String> metadata);
3232

3333
@Override
34-
Mono<Void> publishEvent(PublishEventRequest request);
34+
Mono<String> publishEvent(PublishEventRequest request);
3535

3636
@Override
3737
default Mono<Void> shutdown() {

0 commit comments

Comments
 (0)