From 429607ab8efa2a52b8a048b2f41658f3d9caf801 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Mon, 22 Apr 2024 01:49:32 +0400 Subject: [PATCH] feat(redis bindings): use common Redis bindings https://github.com/asyncapi/jasyncapi/issues/184 https://github.com/asyncapi/jasyncapi/issues/178 --- .../v0/_1_0/channel}/RedisChannelBinding.java | 2 +- .../v0/_1_0/message}/RedisMessageBinding.java | 2 +- .../operation}/RedisOperationBinding.java | 2 +- .../v0/_1_0/server}/RedisServerBinding.java | 2 +- .../message/redis/RedisMessageBinding.java | 21 ------------------- .../redis/RedisOperationBinding.java | 21 ------------------- .../server/redis/RedisServerBinding.java | 21 ------------------- .../channel/ChannelBindingsDeserializer.java | 2 +- .../message/MessageBindingsDeserializer.java | 2 +- .../OperationBindingsDeserializer.java | 2 +- .../server/ServerBindingsDeserializer.java | 2 +- .../channel/redis/RedisChannelBinding.java | 21 ------------------- .../channel/ChannelBindingsDeserializer.java | 2 +- .../message/MessageBindingsDeserializer.java | 2 +- .../OperationBindingsDeserializer.java | 2 +- .../server/ServerBindingsDeserializer.java | 2 +- .../v2/_0_0/model/channel/ChannelItemTest.kt | 2 +- .../_0_0/model/channel/message/MessageTest.kt | 2 +- .../model/channel/message/MessageTraitTest.kt | 2 +- .../model/channel/operation/OperationTest.kt | 2 +- .../channel/operation/OperationTraitTest.kt | 2 +- .../v2/_0_0/model/server/ServerTest.kt | 2 +- .../v2/_6_0/model/server/ServerTest.kt | 2 +- .../v3/_0_0/model/server/ServerTest.kt | 2 +- 24 files changed, 20 insertions(+), 104 deletions(-) rename asyncapi-core/src/main/java/com/asyncapi/{v2/binding/channel/redis => bindings/redis/v0/_1_0/channel}/RedisChannelBinding.java (91%) rename asyncapi-core/src/main/java/com/asyncapi/{v3/binding/message/redis => bindings/redis/v0/_1_0/message}/RedisMessageBinding.java (91%) rename asyncapi-core/src/main/java/com/asyncapi/{v3/binding/operation/redis => bindings/redis/v0/_1_0/operation}/RedisOperationBinding.java (91%) rename asyncapi-core/src/main/java/com/asyncapi/{v3/binding/server/redis => bindings/redis/v0/_1_0/server}/RedisServerBinding.java (91%) delete mode 100644 asyncapi-core/src/main/java/com/asyncapi/v2/binding/message/redis/RedisMessageBinding.java delete mode 100644 asyncapi-core/src/main/java/com/asyncapi/v2/binding/operation/redis/RedisOperationBinding.java delete mode 100644 asyncapi-core/src/main/java/com/asyncapi/v2/binding/server/redis/RedisServerBinding.java delete mode 100644 asyncapi-core/src/main/java/com/asyncapi/v3/binding/channel/redis/RedisChannelBinding.java diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/channel/redis/RedisChannelBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/channel/RedisChannelBinding.java similarity index 91% rename from asyncapi-core/src/main/java/com/asyncapi/v2/binding/channel/redis/RedisChannelBinding.java rename to asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/channel/RedisChannelBinding.java index d926c3a4..c48d1ba4 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/channel/redis/RedisChannelBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/channel/RedisChannelBinding.java @@ -1,4 +1,4 @@ -package com.asyncapi.v2.binding.channel.redis; +package com.asyncapi.bindings.redis.v0._1_0.channel; import com.asyncapi.bindings.ChannelBinding; import lombok.Data; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/message/redis/RedisMessageBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/message/RedisMessageBinding.java similarity index 91% rename from asyncapi-core/src/main/java/com/asyncapi/v3/binding/message/redis/RedisMessageBinding.java rename to asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/message/RedisMessageBinding.java index 9001766c..207fc019 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/message/redis/RedisMessageBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/message/RedisMessageBinding.java @@ -1,4 +1,4 @@ -package com.asyncapi.v3.binding.message.redis; +package com.asyncapi.bindings.redis.v0._1_0.message; import com.asyncapi.bindings.MessageBinding; import lombok.Data; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/operation/redis/RedisOperationBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/operation/RedisOperationBinding.java similarity index 91% rename from asyncapi-core/src/main/java/com/asyncapi/v3/binding/operation/redis/RedisOperationBinding.java rename to asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/operation/RedisOperationBinding.java index fde48293..0391cefa 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/operation/redis/RedisOperationBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/operation/RedisOperationBinding.java @@ -1,4 +1,4 @@ -package com.asyncapi.v3.binding.operation.redis; +package com.asyncapi.bindings.redis.v0._1_0.operation; import com.asyncapi.bindings.OperationBinding; import lombok.Data; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/server/redis/RedisServerBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/server/RedisServerBinding.java similarity index 91% rename from asyncapi-core/src/main/java/com/asyncapi/v3/binding/server/redis/RedisServerBinding.java rename to asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/server/RedisServerBinding.java index 983cab1e..0b7c7a1f 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/server/redis/RedisServerBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/redis/v0/_1_0/server/RedisServerBinding.java @@ -1,4 +1,4 @@ -package com.asyncapi.v3.binding.server.redis; +package com.asyncapi.bindings.redis.v0._1_0.server; import com.asyncapi.bindings.ServerBinding; import lombok.Data; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/message/redis/RedisMessageBinding.java b/asyncapi-core/src/main/java/com/asyncapi/v2/binding/message/redis/RedisMessageBinding.java deleted file mode 100644 index 36daa1f7..00000000 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/message/redis/RedisMessageBinding.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.asyncapi.v2.binding.message.redis; - -import com.asyncapi.bindings.MessageBinding; -import lombok.Data; -import lombok.EqualsAndHashCode; -import lombok.NoArgsConstructor; - -/** - * This class MUST NOT contain any properties. Its name is reserved for future use. - *

- * Describes Redis message binding. - * - * @version 0.1.0 - * @see Redis message binding - * @author Pavel Bodiachevskii - */ -@Data -@NoArgsConstructor -@EqualsAndHashCode(callSuper = true) -public class RedisMessageBinding extends MessageBinding { -} diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/operation/redis/RedisOperationBinding.java b/asyncapi-core/src/main/java/com/asyncapi/v2/binding/operation/redis/RedisOperationBinding.java deleted file mode 100644 index 8f1a2622..00000000 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/operation/redis/RedisOperationBinding.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.asyncapi.v2.binding.operation.redis; - -import com.asyncapi.bindings.OperationBinding; -import lombok.Data; -import lombok.EqualsAndHashCode; -import lombok.NoArgsConstructor; - -/** - * This class MUST NOT contain any properties. Its name is reserved for future use. - *

- * Describes Redis operation binding. - * - * @version 0.1.0 - * @see Redis operation binding - * @author Pavel Bodiachevskii - */ -@Data -@NoArgsConstructor -@EqualsAndHashCode(callSuper = true) -public class RedisOperationBinding extends OperationBinding { -} diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/server/redis/RedisServerBinding.java b/asyncapi-core/src/main/java/com/asyncapi/v2/binding/server/redis/RedisServerBinding.java deleted file mode 100644 index 6ee75959..00000000 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/binding/server/redis/RedisServerBinding.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.asyncapi.v2.binding.server.redis; - -import com.asyncapi.bindings.ServerBinding; -import lombok.Data; -import lombok.EqualsAndHashCode; -import lombok.NoArgsConstructor; - -/** - * This class MUST NOT contain any properties. Its name is reserved for future use. - *

- * Describes Redis server binding. - * - * @version 0.1.0 - * @see Redis server binding - * @author Pavel Bodiachevskii - */ -@Data -@NoArgsConstructor -@EqualsAndHashCode(callSuper = true) -public class RedisServerBinding extends ServerBinding { -} diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/channel/ChannelBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/channel/ChannelBindingsDeserializer.java index 57ef0f19..3bb8a300 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/channel/ChannelBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/channel/ChannelBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v2.binding.channel.mqtt5.MQTT5ChannelBinding; import com.asyncapi.v2.binding.channel.nats.NATSChannelBinding; import com.asyncapi.v2.binding.channel.pulsar.PulsarChannelBinding; -import com.asyncapi.v2.binding.channel.redis.RedisChannelBinding; +import com.asyncapi.bindings.redis.v0._1_0.channel.RedisChannelBinding; import com.asyncapi.bindings.sns.v0._1_0.channel.SNSChannelBinding; import com.asyncapi.bindings.solace.v0._3_0.channel.SolaceChannelBinding; import com.asyncapi.bindings.sqs.v0._1_0.channel.SQSChannelBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/message/MessageBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/message/MessageBindingsDeserializer.java index e5ca2fd9..bb36fcec 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/message/MessageBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/message/MessageBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v2.binding.message.mqtt5.MQTT5MessageBinding; import com.asyncapi.v2.binding.message.nats.NATSMessageBinding; import com.asyncapi.v2.binding.message.pulsar.PulsarMessageBinding; -import com.asyncapi.v2.binding.message.redis.RedisMessageBinding; +import com.asyncapi.bindings.redis.v0._1_0.message.RedisMessageBinding; import com.asyncapi.bindings.sns.v0._1_0.message.SNSMessageBinding; import com.asyncapi.bindings.solace.v0._3_0.message.SolaceMessageBinding; import com.asyncapi.bindings.sqs.v0._1_0.message.SQSMessageBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/operation/OperationBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/operation/OperationBindingsDeserializer.java index f19a9e98..adc565eb 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/operation/OperationBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/operation/OperationBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v2.binding.operation.mqtt5.MQTT5OperationBinding; import com.asyncapi.v2.binding.operation.nats.NATSOperationBinding; import com.asyncapi.v2.binding.operation.pulsar.PulsarOperationBinding; -import com.asyncapi.v2.binding.operation.redis.RedisOperationBinding; +import com.asyncapi.bindings.redis.v0._1_0.operation.RedisOperationBinding; import com.asyncapi.bindings.sns.v0._1_0.operation.SNSOperationBinding; import com.asyncapi.bindings.solace.v0._3_0.operation.SolaceOperationBinding; import com.asyncapi.bindings.sqs.v0._1_0.operation.SQSOperationBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/server/ServerBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/server/ServerBindingsDeserializer.java index 899e279e..53bf5900 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/server/ServerBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v2/jackson/binding/server/ServerBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v2.binding.server.mqtt5.MQTT5ServerBinding; import com.asyncapi.v2.binding.server.nats.NATSServerBinding; import com.asyncapi.v2.binding.server.pulsar.PulsarServerBinding; -import com.asyncapi.v2.binding.server.redis.RedisServerBinding; +import com.asyncapi.bindings.redis.v0._1_0.server.RedisServerBinding; import com.asyncapi.bindings.sns.v0._1_0.server.SNSServerBinding; import com.asyncapi.bindings.solace.v0._3_0.server.SolaceServerBinding; import com.asyncapi.bindings.sqs.v0._1_0.server.SQSServerBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/channel/redis/RedisChannelBinding.java b/asyncapi-core/src/main/java/com/asyncapi/v3/binding/channel/redis/RedisChannelBinding.java deleted file mode 100644 index e709a190..00000000 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/binding/channel/redis/RedisChannelBinding.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.asyncapi.v3.binding.channel.redis; - -import com.asyncapi.bindings.ChannelBinding; -import lombok.Data; -import lombok.EqualsAndHashCode; -import lombok.NoArgsConstructor; - -/** - * This class MUST NOT contain any properties. Its name is reserved for future use. - *

- * Describes Redis channel binding. - * - * @version 0.1.0 - * @see Redis channel binding - * @author Pavel Bodiachevskii - */ -@Data -@NoArgsConstructor -@EqualsAndHashCode(callSuper = true) -public class RedisChannelBinding extends ChannelBinding { -} diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/channel/ChannelBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/channel/ChannelBindingsDeserializer.java index e44d4b85..0f09aa7a 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/channel/ChannelBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/channel/ChannelBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v3.binding.channel.mqtt5.MQTT5ChannelBinding; import com.asyncapi.v3.binding.channel.nats.NATSChannelBinding; import com.asyncapi.v3.binding.channel.pulsar.PulsarChannelBinding; -import com.asyncapi.v3.binding.channel.redis.RedisChannelBinding; +import com.asyncapi.bindings.redis.v0._1_0.channel.RedisChannelBinding; import com.asyncapi.bindings.sns.v0._1_0.channel.SNSChannelBinding; import com.asyncapi.bindings.solace.v0._3_0.channel.SolaceChannelBinding; import com.asyncapi.bindings.sqs.v0._1_0.channel.SQSChannelBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/message/MessageBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/message/MessageBindingsDeserializer.java index 1bba8c45..63e306c3 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/message/MessageBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/message/MessageBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v3.binding.message.mqtt5.MQTT5MessageBinding; import com.asyncapi.v3.binding.message.nats.NATSMessageBinding; import com.asyncapi.v3.binding.message.pulsar.PulsarMessageBinding; -import com.asyncapi.v3.binding.message.redis.RedisMessageBinding; +import com.asyncapi.bindings.redis.v0._1_0.message.RedisMessageBinding; import com.asyncapi.bindings.sns.v0._1_0.message.SNSMessageBinding; import com.asyncapi.bindings.solace.v0._3_0.message.SolaceMessageBinding; import com.asyncapi.bindings.sqs.v0._1_0.message.SQSMessageBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/operation/OperationBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/operation/OperationBindingsDeserializer.java index 6df3d79a..b0df8bb8 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/operation/OperationBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/operation/OperationBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v3.binding.operation.mqtt5.MQTT5OperationBinding; import com.asyncapi.v3.binding.operation.nats.NATSOperationBinding; import com.asyncapi.v3.binding.operation.pulsar.PulsarOperationBinding; -import com.asyncapi.v3.binding.operation.redis.RedisOperationBinding; +import com.asyncapi.bindings.redis.v0._1_0.operation.RedisOperationBinding; import com.asyncapi.bindings.sns.v0._1_0.operation.SNSOperationBinding; import com.asyncapi.bindings.solace.v0._3_0.operation.SolaceOperationBinding; import com.asyncapi.bindings.sqs.v0._1_0.operation.SQSOperationBinding; diff --git a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/server/ServerBindingsDeserializer.java b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/server/ServerBindingsDeserializer.java index 52af0b9d..79bde02a 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/server/ServerBindingsDeserializer.java +++ b/asyncapi-core/src/main/java/com/asyncapi/v3/jackson/binding/server/ServerBindingsDeserializer.java @@ -14,7 +14,7 @@ import com.asyncapi.v3.binding.server.mqtt5.MQTT5ServerBinding; import com.asyncapi.v3.binding.server.nats.NATSServerBinding; import com.asyncapi.v3.binding.server.pulsar.PulsarServerBinding; -import com.asyncapi.v3.binding.server.redis.RedisServerBinding; +import com.asyncapi.bindings.redis.v0._1_0.server.RedisServerBinding; import com.asyncapi.bindings.sns.v0._1_0.server.SNSServerBinding; import com.asyncapi.bindings.solace.v0._3_0.server.SolaceServerBinding; import com.asyncapi.bindings.sqs.v0._1_0.server.SQSServerBinding; diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/ChannelItemTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/ChannelItemTest.kt index 812f9981..47c25cb8 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/ChannelItemTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/ChannelItemTest.kt @@ -18,7 +18,7 @@ import com.asyncapi.v2.binding.channel.mqtt.MQTTChannelBinding import com.asyncapi.v2.binding.channel.mqtt5.MQTT5ChannelBinding import com.asyncapi.v2.binding.channel.nats.NATSChannelBinding import com.asyncapi.v2.binding.channel.pulsar.PulsarChannelBindingTest -import com.asyncapi.v2.binding.channel.redis.RedisChannelBinding +import com.asyncapi.bindings.redis.v0._1_0.channel.RedisChannelBinding import com.asyncapi.bindings.sns.v0._1_0.channel.SNSChannelBinding import com.asyncapi.bindings.solace.v0._3_0.channel.SolaceChannelBinding import com.asyncapi.bindings.sqs.v0._1_0.channel.SQSChannelBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTest.kt index a1f5427b..7eb2121d 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTest.kt @@ -19,7 +19,7 @@ import com.asyncapi.v2.binding.message.mqtt.MQTTMessageBindingTest import com.asyncapi.v2.binding.message.mqtt5.MQTT5MessageBinding import com.asyncapi.v2.binding.message.nats.NATSMessageBinding import com.asyncapi.v2.binding.message.pulsar.PulsarMessageBinding -import com.asyncapi.v2.binding.message.redis.RedisMessageBinding +import com.asyncapi.bindings.redis.v0._1_0.message.RedisMessageBinding import com.asyncapi.bindings.sns.v0._1_0.message.SNSMessageBinding import com.asyncapi.bindings.solace.v0._3_0.message.SolaceMessageBinding import com.asyncapi.bindings.sqs.v0._1_0.message.SQSMessageBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTraitTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTraitTest.kt index 5016fb7f..10a33506 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTraitTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/message/MessageTraitTest.kt @@ -17,7 +17,7 @@ import com.asyncapi.v2.binding.message.mqtt.MQTTMessageBindingTest import com.asyncapi.v2.binding.message.mqtt5.MQTT5MessageBinding import com.asyncapi.v2.binding.message.nats.NATSMessageBinding import com.asyncapi.v2.binding.message.pulsar.PulsarMessageBinding -import com.asyncapi.v2.binding.message.redis.RedisMessageBinding +import com.asyncapi.bindings.redis.v0._1_0.message.RedisMessageBinding import com.asyncapi.bindings.sns.v0._1_0.message.SNSMessageBinding import com.asyncapi.bindings.solace.v0._3_0.message.SolaceMessageBinding import com.asyncapi.bindings.sqs.v0._1_0.message.SQSMessageBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTest.kt index f82fd14a..43b2ac62 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTest.kt @@ -19,7 +19,7 @@ import com.asyncapi.v2.binding.operation.mqtt.MQTTOperationBindingTest import com.asyncapi.v2.binding.operation.mqtt5.MQTT5OperationBinding import com.asyncapi.v2.binding.operation.nats.NATSOperationBindingTest import com.asyncapi.v2.binding.operation.pulsar.PulsarOperationBinding -import com.asyncapi.v2.binding.operation.redis.RedisOperationBinding +import com.asyncapi.bindings.redis.v0._1_0.operation.RedisOperationBinding import com.asyncapi.bindings.sns.v0._1_0.operation.SNSOperationBinding import com.asyncapi.v2.binding.operation.solace.SolaceOperationBindingTest import com.asyncapi.bindings.sqs.v0._1_0.operation.SQSOperationBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTraitTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTraitTest.kt index f02b2dae..b25a0eb1 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTraitTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/channel/operation/OperationTraitTest.kt @@ -16,7 +16,7 @@ import com.asyncapi.v2.binding.operation.mqtt.MQTTOperationBindingTest import com.asyncapi.v2.binding.operation.mqtt5.MQTT5OperationBinding import com.asyncapi.v2.binding.operation.nats.NATSOperationBindingTest import com.asyncapi.v2.binding.operation.pulsar.PulsarOperationBinding -import com.asyncapi.v2.binding.operation.redis.RedisOperationBinding +import com.asyncapi.bindings.redis.v0._1_0.operation.RedisOperationBinding import com.asyncapi.bindings.sns.v0._1_0.operation.SNSOperationBinding import com.asyncapi.v2.binding.operation.solace.SolaceOperationBindingTest import com.asyncapi.bindings.sqs.v0._1_0.operation.SQSOperationBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/server/ServerTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/server/ServerTest.kt index db64bf02..63732f8c 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/server/ServerTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_0_0/model/server/ServerTest.kt @@ -15,7 +15,7 @@ import com.asyncapi.v2.binding.server.mqtt.MQTTServerLastWillConfiguration import com.asyncapi.v2.binding.server.mqtt5.MQTT5ServerBinding import com.asyncapi.v2.binding.server.nats.NATSServerBinding import com.asyncapi.v2.binding.server.pulsar.PulsarServerBinding -import com.asyncapi.v2.binding.server.redis.RedisServerBinding +import com.asyncapi.bindings.redis.v0._1_0.server.RedisServerBinding import com.asyncapi.bindings.sns.v0._1_0.server.SNSServerBinding import com.asyncapi.bindings.solace.v0._3_0.server.SolaceServerBinding import com.asyncapi.bindings.sqs.v0._1_0.server.SQSServerBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_6_0/model/server/ServerTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_6_0/model/server/ServerTest.kt index 383ba156..83cc54bf 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_6_0/model/server/ServerTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v2/_6_0/model/server/ServerTest.kt @@ -16,7 +16,7 @@ import com.asyncapi.v2.binding.server.mqtt.MQTTServerLastWillConfiguration import com.asyncapi.v2.binding.server.mqtt5.MQTT5ServerBinding import com.asyncapi.v2.binding.server.nats.NATSServerBinding import com.asyncapi.v2.binding.server.pulsar.PulsarServerBinding -import com.asyncapi.v2.binding.server.redis.RedisServerBinding +import com.asyncapi.bindings.redis.v0._1_0.server.RedisServerBinding import com.asyncapi.bindings.sns.v0._1_0.server.SNSServerBinding import com.asyncapi.bindings.solace.v0._3_0.server.SolaceServerBinding import com.asyncapi.bindings.sqs.v0._1_0.server.SQSServerBinding diff --git a/asyncapi-core/src/test/kotlin/com/asyncapi/v3/_0_0/model/server/ServerTest.kt b/asyncapi-core/src/test/kotlin/com/asyncapi/v3/_0_0/model/server/ServerTest.kt index 643687ef..0d04dda7 100644 --- a/asyncapi-core/src/test/kotlin/com/asyncapi/v3/_0_0/model/server/ServerTest.kt +++ b/asyncapi-core/src/test/kotlin/com/asyncapi/v3/_0_0/model/server/ServerTest.kt @@ -17,7 +17,7 @@ import com.asyncapi.v3.binding.server.mqtt.MQTTServerLastWillConfiguration import com.asyncapi.v3.binding.server.mqtt5.MQTT5ServerBinding import com.asyncapi.v3.binding.server.nats.NATSServerBinding import com.asyncapi.v3.binding.server.pulsar.PulsarServerBinding -import com.asyncapi.v3.binding.server.redis.RedisServerBinding +import com.asyncapi.bindings.redis.v0._1_0.server.RedisServerBinding import com.asyncapi.bindings.sns.v0._1_0.server.SNSServerBinding import com.asyncapi.bindings.solace.v0._3_0.server.SolaceServerBinding import com.asyncapi.bindings.sqs.v0._1_0.server.SQSServerBinding