From 0de97b0e4962a83225ef71a6466437a8ad5d287e Mon Sep 17 00:00:00 2001 From: Shruti Mantri Date: Mon, 15 Jul 2024 09:26:30 +0530 Subject: [PATCH] fix(docs): correct the kv task examples --- core/src/main/java/io/kestra/plugin/core/kv/Delete.java | 1 + core/src/main/java/io/kestra/plugin/core/kv/Get.java | 1 + core/src/main/java/io/kestra/plugin/core/kv/GetKeys.java | 1 + core/src/main/java/io/kestra/plugin/core/kv/Set.java | 1 + 4 files changed, 4 insertions(+) diff --git a/core/src/main/java/io/kestra/plugin/core/kv/Delete.java b/core/src/main/java/io/kestra/plugin/core/kv/Delete.java index 4f1b13fb7b..612e87e1da 100644 --- a/core/src/main/java/io/kestra/plugin/core/kv/Delete.java +++ b/core/src/main/java/io/kestra/plugin/core/kv/Delete.java @@ -40,6 +40,7 @@ examples = { @Example( title = "Delete a KV pair.", + full = true, code = """ id: delete_kv type: io.kestra.plugin.core.kv.Delete diff --git a/core/src/main/java/io/kestra/plugin/core/kv/Get.java b/core/src/main/java/io/kestra/plugin/core/kv/Get.java index 474e240612..ff4fdfbd3b 100644 --- a/core/src/main/java/io/kestra/plugin/core/kv/Get.java +++ b/core/src/main/java/io/kestra/plugin/core/kv/Get.java @@ -40,6 +40,7 @@ examples = { @Example( title = "Get value for `myvariable` key in `dev` namespace and fail if it's not present.", + full = true, code = """ id: get_kv type: io.kestra.plugin.core.kv.Get diff --git a/core/src/main/java/io/kestra/plugin/core/kv/GetKeys.java b/core/src/main/java/io/kestra/plugin/core/kv/GetKeys.java index 85d97072da..4c61bee79d 100644 --- a/core/src/main/java/io/kestra/plugin/core/kv/GetKeys.java +++ b/core/src/main/java/io/kestra/plugin/core/kv/GetKeys.java @@ -30,6 +30,7 @@ examples = { @Example( title = "Get keys that are prefixed by `myvar`.", + full = true, code = """ id: keys_kv type: io.kestra.plugin.core.kv.GetKeys diff --git a/core/src/main/java/io/kestra/plugin/core/kv/Set.java b/core/src/main/java/io/kestra/plugin/core/kv/Set.java index 421b3aee08..54b77a044f 100644 --- a/core/src/main/java/io/kestra/plugin/core/kv/Set.java +++ b/core/src/main/java/io/kestra/plugin/core/kv/Set.java @@ -43,6 +43,7 @@ examples = { @Example( title = "Set `query` task `uri` output as value for `myvariable` key in `dev` namespace.", + full = true, code = """ id: set_kv type: io.kestra.plugin.core.kv.Set