Files
corteza/compose/automation/namespaces_handler.yaml
T
Denis Arh 8e6d863f24 Add support for labels on automation functions
Idea for these labels is to give instructions which labels to copy
on step and on workflow when function step is added to the graph.

Labels are defined with "step,workflow", "workflow" or "step" for value.
UI should follow these instructions when copying labels to workflow
and/or step.
2021-02-15 10:56:56 +01:00

29 lines
594 B
YAML

prefix: compose
imports:
- github.com/cortezaproject/corteza-server/compose/types
params:
namespaceLookup: &namespaceLookup
required: true
types:
- { wf: ID, }
- { wf: Handle, }
- { wf: ComposeNamespace, suffix: res }
rvNamespace: &rvNamespace
wf: ComposeNamespace
functions:
lookup:
meta:
short: Lookup for compose namespace by ID
labels:
lookup: "step"
namespace: "step,workflow"
compose: "step,workflow"
params:
namespace: *namespaceLookup
results:
namespace: *rvNamespace