From adc7bd0f0fa930fbb123ecad158bce8a3248590f Mon Sep 17 00:00:00 2001 From: Florian Hussonnois Date: Fri, 13 Sep 2024 15:04:31 +0200 Subject: [PATCH] fix(json): fix Output for the docs --- .../java/io/kestra/plugin/transform/jsonata/Transform.java | 2 +- .../io/kestra/plugin/transform/jsonata/TransformItems.java | 4 +--- .../io/kestra/plugin/transform/jsonata/TransformValue.java | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/Transform.java b/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/Transform.java index 0ff6827..e88c583 100644 --- a/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/Transform.java +++ b/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/Transform.java @@ -28,7 +28,7 @@ @EqualsAndHashCode @Getter @NoArgsConstructor -public abstract class Transform extends Task implements JSONataInterface, RunnableTask { +public abstract class Transform extends Task implements JSONataInterface, RunnableTask { private static final ObjectMapper ION_OBJECT_MAPPER = JacksonMapper.ofIon(); diff --git a/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformItems.java b/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformItems.java index a269c54..5a25bf0 100644 --- a/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformItems.java +++ b/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformItems.java @@ -9,7 +9,6 @@ import java.net.URI; import java.nio.file.Files; import java.nio.file.Path; -import java.util.Iterator; import java.util.stream.StreamSupport; import com.fasterxml.jackson.core.type.TypeReference; @@ -19,7 +18,6 @@ import io.kestra.core.models.annotations.Example; import io.kestra.core.models.annotations.Plugin; import io.kestra.core.models.annotations.PluginProperty; -import io.kestra.core.models.tasks.Output; import io.kestra.core.models.tasks.RunnableTask; import io.kestra.core.runners.RunContext; import io.kestra.core.serializers.FileSerde; @@ -89,7 +87,7 @@ ) } ) -public class TransformItems extends Transform implements RunnableTask { +public class TransformItems extends Transform implements RunnableTask { private static final ObjectMapper ION_OBJECT_MAPPER = JacksonMapper.ofIon(); diff --git a/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformValue.java b/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformValue.java index b63bbf6..aedc3db 100644 --- a/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformValue.java +++ b/plugin-transform-json/src/main/java/io/kestra/plugin/transform/jsonata/TransformValue.java @@ -6,7 +6,6 @@ import io.kestra.core.models.annotations.Example; import io.kestra.core.models.annotations.Plugin; import io.kestra.core.models.annotations.PluginProperty; -import io.kestra.core.models.tasks.Output; import io.kestra.core.models.tasks.RunnableTask; import io.kestra.core.runners.RunContext; import io.kestra.core.serializers.JacksonMapper; @@ -81,7 +80,7 @@ ) } ) -public class TransformValue extends Transform implements RunnableTask { +public class TransformValue extends Transform implements RunnableTask { public static final ObjectMapper JSON_OBJECT_MAPPER = JacksonMapper.ofJson();