From 43389354742b22a03de5729b8a1c6ece032dc0a7 Mon Sep 17 00:00:00 2001 From: Praveen kumar A A Date: Tue, 18 Oct 2022 15:50:26 +0530 Subject: [PATCH] highlight id & snapshot are valid attributes for wait step --- .../compiler/modeller/transformers/SeqStepsTransformer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudslang-compiler/src/main/java/io/cloudslang/lang/compiler/modeller/transformers/SeqStepsTransformer.java b/cloudslang-compiler/src/main/java/io/cloudslang/lang/compiler/modeller/transformers/SeqStepsTransformer.java index 61dcacf68d..976803d0d6 100644 --- a/cloudslang-compiler/src/main/java/io/cloudslang/lang/compiler/modeller/transformers/SeqStepsTransformer.java +++ b/cloudslang-compiler/src/main/java/io/cloudslang/lang/compiler/modeller/transformers/SeqStepsTransformer.java @@ -51,7 +51,8 @@ public class SeqStepsTransformer extends AbstractInOutForTransformer SEQ_STEP_PATH_KEY, SEQ_STEP_ACTION_KEY); private static final Set WAIT_MANDATORY_KEYS = newHashSet(SEQ_STEP_ID_KEY, SEQ_STEP_ACTION_KEY, SEQ_STEP_DEFAULT_ARGS_KEY); - private static final Set WAIT_OPTIONAL_KEY_SET = newHashSet(SEQ_STEP_ARGS_KEY, SEQ_STEP_COMMENT_KEY); + private static final Set WAIT_OPTIONAL_KEY_SET = newHashSet(SEQ_STEP_ARGS_KEY, SEQ_STEP_COMMENT_KEY, + SEQ_STEP_HIGHLIGHT_ID_KEY, SEQ_STEP_SNAPSHOT_KEY); private static final Set OPTIONAL_KEY_SET = newHashSet(SEQ_STEP_ARGS_KEY, SEQ_STEP_DEFAULT_ARGS_KEY, SEQ_STEP_HIGHLIGHT_ID_KEY, SEQ_STEP_SNAPSHOT_KEY, SEQ_STEP_NAME_KEY, SEQ_STEP_COMMENT_KEY);