From e530c2ab24ce55e7c30006ee1315fad78fd0cd10 Mon Sep 17 00:00:00 2001 From: Daniel Stefani Date: Sat, 13 Apr 2024 20:54:01 +0300 Subject: [PATCH] test: remove some @RegisterForReflection annotations to see if native will still work --- .../kotlin/online/danielstefani/paddy/mqtt/DaemonAction.kt | 3 --- .../kotlin/online/danielstefani/paddy/mqtt/MqttTopicRouter.kt | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/main/kotlin/online/danielstefani/paddy/mqtt/DaemonAction.kt b/src/main/kotlin/online/danielstefani/paddy/mqtt/DaemonAction.kt index e2f0a3e..6d881f5 100644 --- a/src/main/kotlin/online/danielstefani/paddy/mqtt/DaemonAction.kt +++ b/src/main/kotlin/online/danielstefani/paddy/mqtt/DaemonAction.kt @@ -1,8 +1,5 @@ package online.danielstefani.paddy.mqtt -import io.quarkus.runtime.annotations.RegisterForReflection - -@RegisterForReflection @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.FUNCTION) annotation class DaemonAction( diff --git a/src/main/kotlin/online/danielstefani/paddy/mqtt/MqttTopicRouter.kt b/src/main/kotlin/online/danielstefani/paddy/mqtt/MqttTopicRouter.kt index 95f5638..667038b 100644 --- a/src/main/kotlin/online/danielstefani/paddy/mqtt/MqttTopicRouter.kt +++ b/src/main/kotlin/online/danielstefani/paddy/mqtt/MqttTopicRouter.kt @@ -3,7 +3,6 @@ package online.danielstefani.paddy.mqtt import com.hivemq.client.mqtt.mqtt5.message.publish.Mqtt5Publish import io.quarkus.logging.Log import io.quarkus.runtime.StartupEvent -import io.quarkus.runtime.annotations.RegisterForReflection import jakarta.enterprise.context.ApplicationScoped import jakarta.enterprise.context.control.ActivateRequestContext import jakarta.enterprise.event.Observes @@ -17,7 +16,6 @@ daemon/{id}/v1/reads/ACTION The point of this class is to extract ACTION and route it to the proper handler. */ @ApplicationScoped -@RegisterForReflection class MqttTopicRouter( private val mqttController: MqttController ) {