From 1e4a58b3a959e53c6455e2e6d1374126b7de9f3d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 06:23:27 +0000 Subject: [PATCH 1/2] build(deps): bump software.amazon.awssdk.crt:aws-crt Bumps [software.amazon.awssdk.crt:aws-crt](https://github.com/awslabs/aws-crt-java) from 0.26.0 to 0.27.3. - [Release notes](https://github.com/awslabs/aws-crt-java/releases) - [Commits](https://github.com/awslabs/aws-crt-java/compare/v0.26.0...v0.27.3) --- updated-dependencies: - dependency-name: software.amazon.awssdk.crt:aws-crt dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c401042c6..b051ef0e6 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ UTF-8 3.3.0 2.20.143 - 0.26.0 + 0.27.3 From 28d71824f34787f7d9d221a542a57235ec8cb7a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crocquesel?= <88554524+scrocquesel@users.noreply.github.com> Date: Tue, 3 Oct 2023 19:42:51 +0200 Subject: [PATCH 2/2] fix: decalre new jni methods --- .../amazonservices/aws/crt/deployment/AwsCrtProcessor.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crt/deployment/src/main/java/io/quarkiverse/amazonservices/aws/crt/deployment/AwsCrtProcessor.java b/crt/deployment/src/main/java/io/quarkiverse/amazonservices/aws/crt/deployment/AwsCrtProcessor.java index a54841d5f..60ceed5fe 100644 --- a/crt/deployment/src/main/java/io/quarkiverse/amazonservices/aws/crt/deployment/AwsCrtProcessor.java +++ b/crt/deployment/src/main/java/io/quarkiverse/amazonservices/aws/crt/deployment/AwsCrtProcessor.java @@ -363,6 +363,12 @@ public void registerAwsCrtJniRuntimeAccessBuildItem( jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem( "software.amazon.awssdk.crt.mqtt.MqttClientConnection", "onWebsocketHandshake", "software.amazon.awssdk.crt.http.HttpRequest", "long")); + jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem( + "software.amazon.awssdk.crt.mqtt.MqttClientConnection", "onConnectionSuccess", + "boolean")); + jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem( + "software.amazon.awssdk.crt.mqtt.MqttClientConnection", "onConnectionFailure", + "int")); jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem( "software.amazon.awssdk.crt.mqtt.MqttClientConnection$MessageHandler", "deliver", "java.lang.String", "byte[]", "boolean", "int", "boolean"));