3
0
Files
corteza/compose/automation/modules_handler.yaml
Denis Arh cfe02be081 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-03-12 13:12:07 +01:00

37 lines
738 B
YAML

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