Skip to content

Commit 62584c6

Browse files
authored
Prepare for 1.0.9 release (#168)
1 parent 86dfb47 commit 62584c6

File tree

32 files changed

+72
-51
lines changed

32 files changed

+72
-51
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616

1717
# KAR: A Runtime for the Hybrid Cloud
1818

19+
# KAR 1.0.9 - 2021-09-10
20+
+ Implement a Reactive Java SDK using Quarkus
21+
+ Add a retry loop around failed redis connection attempts (#163)
22+
+ Also allow controlling sidecar ports via envvar (#153)
23+
+ Move from alpine 3.11 to 3.14 for sidecar/webhook images (#151)
24+
+ Fixup kafka-bench and re-enable building it. (#150)
25+
1926
# KAR 1.0.8 - 2021-08-13
2027
+ Upgrade to zookeeper 3.6 and kafka 2.7 (#146)
2128
+ Upgrade to use Redis 6 (#145)

docs/dev/release-procedures.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ npm notice total files: 5
8383

8484
3. Commit changes to release-prep.
8585

86-
4. PR the release-prep branch. Travis should pass. Merge PR.
86+
### PR & Merge the release-prep branch
87+
88+
1. PR the release-prep branch. Travis should pass. Merge PR.
8789

8890
### Tag repository
8991

examples/actors-dp-java-reactive/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<packaging>jar</packaging>
99

1010
<properties>
11-
<version.kar-java-sdk>1.0.9-SNAPSHOT</version.kar-java-sdk>
11+
<version.kar-java-sdk>1.0.9</version.kar-java-sdk>
1212
<version.java-compiler>11</version.java-compiler>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

examples/actors-dp-java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<packaging>war</packaging>
99

1010
<properties>
11-
<version.kar-java-sdk>1.0.8</version.kar-java-sdk>
11+
<version.kar-java-sdk>1.0.9</version.kar-java-sdk>
1212
<version.java-compiler>11</version.java-compiler>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

examples/actors-dp-js/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/actors-dp-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"express": "^4.17.1",
9-
"kar-sdk": "^1.0.8",
9+
"kar-sdk": "^1.0.9",
1010
"uuid": "^8.3.0"
1111
},
1212
"devDependencies": {

examples/actors-events/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/actors-events/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"cloudevents": "^4.0.0",
99
"express": "^4.17.1",
10-
"kar-sdk": "^1.0.8"
10+
"kar-sdk": "^1.0.9"
1111
},
1212
"devDependencies": {
1313
"mocha": "^7.1.1",

examples/actors-ykt/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/actors-ykt/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"cloudevents": "^4.0.0",
99
"express": "^4.17.1",
10-
"kar-sdk": "^1.0.8"
10+
"kar-sdk": "^1.0.9"
1111
},
1212
"devDependencies": {
1313
"mocha": "^7.1.1",

examples/camel-k/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/camel-k/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"cloudevents": "^4.0.0",
99
"express": "^4.17.1",
10-
"kar-sdk": "^1.0.8"
10+
"kar-sdk": "^1.0.9"
1111
},
1212
"devDependencies": {
1313
"mocha": "^7.1.1",

examples/misc/actor-timeout-java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<packaging>war</packaging>
99

1010
<properties>
11-
<version.kar-java-sdk>1.0.8</version.kar-java-sdk>
11+
<version.kar-java-sdk>1.0.9</version.kar-java-sdk>
1212
<version.java-compiler>11</version.java-compiler>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

examples/misc/actor-timeout-js/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/misc/actor-timeout-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"express": "^4.17.1",
9-
"kar-sdk": "^1.0.8"
9+
"kar-sdk": "^1.0.9"
1010
},
1111
"devDependencies": {
1212
"mocha": "^7.1.1",

examples/misc/fault-tolerance/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/misc/fault-tolerance/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"express": "^4.17.1",
9-
"kar-sdk": "^1.0.8",
9+
"kar-sdk": "^1.0.9",
1010
"node-fetch": "^2.6.0"
1111
},
1212
"devDependencies": {

examples/misc/service-timeout-java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</modules>
1919

2020
<properties>
21-
<version.kar-java-sdk>1.0.8</version.kar-java-sdk>
21+
<version.kar-java-sdk>1.0.9</version.kar-java-sdk>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2424
<failOnMissingWebXml>false</failOnMissingWebXml>

examples/service-hello-js/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/service-hello-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"express": "^4.17.1",
99
"fetch-retry": "^3.1.0",
10-
"kar-sdk": "^1.0.8",
10+
"kar-sdk": "^1.0.9",
1111
"node-fetch": "^2.6.0"
1212
},
1313
"devDependencies": {

examples/unit-tests/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/unit-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"axios": "^0.21.1",
99
"cloudevents": "^4.0.0",
1010
"express": "^4.17.1",
11-
"kar-sdk": "^1.0.8"
11+
"kar-sdk": "^1.0.9"
1212
},
1313
"devDependencies": {
1414
"mocha": "^7.1.1",

scripts/helm/kar/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ apiVersion: v2
1818
name: kar
1919
description: Kubernetes Application Runtime (KAR)
2020
type: application
21-
version: 1.0.8
22-
appVersion: 1.0.8
21+
version: 1.0.9
22+
appVersion: 1.0.9
2323
dependencies:
2424
- name: kar-kafka
2525
condition: kafka.internal

scripts/helm/kar/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ redis:
3333
user: 'mustOverrideIfInternalIsFalse'
3434

3535
kar:
36-
version: 1.0.8
36+
version: 1.0.9
3737
injector:
3838
replicaCount: 1
3939
imageName: 'quay.io/ibm/kar-injector'

sdk-java/kar-runtime-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.ibm.research.kar</groupId>
88
<artifactId>kar-java</artifactId>
9-
<version>1.0.9-SNAPSHOT</version>
9+
<version>1.0.9</version>
1010
</parent>
1111

1212
<artifactId>kar-runtime-core</artifactId>

sdk-java/kar-runtime-liberty/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.ibm.research.kar</groupId>
88
<artifactId>kar-java</artifactId>
9-
<version>1.0.9-SNAPSHOT</version>
9+
<version>1.0.9</version>
1010
</parent>
1111

1212
<artifactId>kar-runtime-liberty</artifactId>

sdk-java/kar-runtime-quarkus/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.ibm.research.kar</groupId>
88
<artifactId>kar-java</artifactId>
9-
<version>1.0.9-SNAPSHOT</version>
9+
<version>1.0.9</version>
1010
</parent>
1111

1212
<artifactId>kar-runtime-quarkus</artifactId>

sdk-java/kar-runtime-quarkus/src/main/java/com/ibm/research/kar/Kar.java

+14-2
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ public static Uni<HttpResponse<Buffer>> put(String service, String path, JsonVal
289289
* @param service The name of the service to invoke.
290290
* @param path The service endpoint to invoke.
291291
* @param body The request body with which to invoke the service endpoint.
292+
* @return A Uni representing the continuation.
292293
*/
293294
public static Uni<Void> tell(String service, String path, JsonValue body) {
294295
return sidecar.tellPost(service, path, body).chain(resp -> {
@@ -333,6 +334,7 @@ public static ActorRef ref(String type, String id) {
333334
* Asynchronously remove all user-level and runtime state of an Actor.
334335
*
335336
* @param actor The Actor instance.
337+
* @return A Uni representing the continuation.
336338
*/
337339
public static Uni<Void> remove(ActorRef actor) {
338340
return sidecar.actorDelete(actor.getType(), actor.getId()).chain(resp -> {
@@ -348,6 +350,7 @@ public static Uni<Void> remove(ActorRef actor) {
348350
* @param actor The target actor.
349351
* @param path The actor method to invoke.
350352
* @param args The arguments with which to invoke the actor method.
353+
* @return A Uni representing the continuation.
351354
*/
352355
public static Uni<Void> tell(ActorRef actor, String path, JsonValue... args) {
353356
return sidecar.actorTell(actor.getType(), actor.getId(), path, packArgs(args))
@@ -512,6 +515,7 @@ public static Uni<Reminder[]> get(ActorRef actor, String reminderId) {
512515
* @param period For periodic reminders, a String that is compatible with
513516
* GoLang's Duration
514517
* @param args The arguments with which to invoke the actor method.
518+
* @return A Uni representing the continuation.
515519
*/
516520
public static Uni<Void> schedule(ActorRef actor, String path, String reminderId, Instant targetTime,
517521
Duration period, JsonValue... args) {
@@ -630,6 +634,7 @@ public static Uni<Integer> set(ActorRef actor, String key, JsonValue value) {
630634
* @param actor The Actor instance.
631635
* @param key The key to use to access the instance's state
632636
* @param value The value to store
637+
* @return A Uni representing the continuation
633638
*/
634639
public static Uni<Void> setV(ActorRef actor, String key, JsonValue value) {
635640
return sidecar.actorSetState(actor.getType(), actor.getId(), key, value).chain(resp -> {
@@ -658,6 +663,7 @@ public static Uni<Integer> set(ActorRef actor, Map<String, JsonValue> updates) {
658663
*
659664
* @param actor The Actor instance.
660665
* @param updates A map containing the state updates to perform
666+
* @return A Uni representing the continuation.
661667
*/
662668
public static Uni<Void> setV(ActorRef actor, Map<String, JsonValue> updates) {
663669
if (updates.isEmpty()) {
@@ -865,6 +871,7 @@ public static Uni<Integer> set(ActorRef actor, String submap, String key, JsonVa
865871
* @param submap The name of the submap to update
866872
* @param key The key in the submap to update
867873
* @param value The value to store at `key/subkey`
874+
* @return A Uni representing the continuation.
868875
*/
869876
public static Uni<Void> setV(ActorRef actor, String submap, String key, JsonValue value) {
870877
return sidecar.actorSetWithSubkeyState(actor.getType(), actor.getId(), submap, key, value).chain(resp -> {
@@ -1076,9 +1083,10 @@ public static Uni<Subscription[]> getSubscription(ActorRef actor, String subscri
10761083
* @param actor The Actor instance to subscribe
10771084
* @param path The actor method to invoke on each event received on the topic
10781085
* @param topic The topic to which to subscribe
1086+
* @return A Uni representing the continuation.
10791087
*/
1080-
public static void subscribe(ActorRef actor, String path, String topic) {
1081-
subscribe(actor, path, topic, topic);
1088+
public static Uni<Void> subscribe(ActorRef actor, String path, String topic) {
1089+
return subscribe(actor, path, topic, topic);
10821090
}
10831091

10841092
/**
@@ -1089,6 +1097,7 @@ public static void subscribe(ActorRef actor, String path, String topic) {
10891097
* the topic
10901098
* @param topic The topic to which to subscribe
10911099
* @param subscriptionId The subscriptionId to use for this subscription
1100+
* @return A Uni representing the continuation.
10921101
*/
10931102
public static Uni<Void> subscribe(ActorRef actor, String path, String topic, String subscriptionId) {
10941103
JsonObjectBuilder builder = factory.createObjectBuilder();
@@ -1105,6 +1114,7 @@ public static Uni<Void> subscribe(ActorRef actor, String path, String topic, Str
11051114
* Create a topic using the default Kafka configuration options.
11061115
*
11071116
* @param topic The name of the topic to create
1117+
* @return A Uni representing the continuation.
11081118
*/
11091119
public static Uni<Void> createTopic(String topic) {
11101120
return sidecar.eventCreateTopic(topic, JsonValue.EMPTY_JSON_OBJECT).chain(resp -> {
@@ -1117,6 +1127,7 @@ public static Uni<Void> createTopic(String topic) {
11171127
* Delete a topic.
11181128
*
11191129
* @param topic the name of the topic to delete
1130+
* @return A Uni representing the continuation.
11201131
*/
11211132
public static Uni<Void> deleteTopic(String topic) {
11221133
return sidecar.eventDeleteTopic(topic).chain(resp -> {
@@ -1130,6 +1141,7 @@ public static Uni<Void> deleteTopic(String topic) {
11301141
*
11311142
* @param topic the name of the topic on which to publish
11321143
* @param event the event to publish
1144+
* @return A Uni representing the continuation.
11331145
*/
11341146
public static Uni<Void> publish(String topic, JsonValue event) {
11351147
return sidecar.eventPublish(topic, event).chain(resp -> {

0 commit comments

Comments
 (0)