This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 84f24187 docs for slice and remove transform
84f24187 is described below
commit 84f24187471b0d62200d7d77cd556b5be82a0bb1
Author: Alex Heneveld <[email protected]>
AuthorDate: Thu May 25 11:23:20 2023 +0100
docs for slice and remove transform
---
guide/blueprints/workflow/steps/steps.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/guide/blueprints/workflow/steps/steps.yaml
b/guide/blueprints/workflow/steps/steps.yaml
index a543ce1b..a0f78756 100644
--- a/guide/blueprints/workflow/steps/steps.yaml
+++ b/guide/blueprints/workflow/steps/steps.yaml
@@ -65,6 +65,8 @@
if `deep`, any maps containing mergeable values (lists or maps)
are themselves merged deeply;
if `wait`, unavailable sensor values are blocked on before merging;
if `lax` then nulls, and if not waiting unavailable sensors, are
silently removed
+ * `slice <start-index> <optional-end-index>` to take a list and
return the sublist; a negative index is taken from the end
+ * `remove <item-or-index>` to remove an entry given a key (for a
map, ignoring if not found) or an index (for a list, negative index taken from
the end, failing if out of bounds)
* `wait` to wait on values (such as
`${entity.attributeWhenReady...}`); must precede any expression that has to
resolve values, such as `trim`)
* `type TYPE` to coerce to registered type `TYPE`
* `json [string|parse|encode]`: indicates the input should be
converted as needed using JSON;