StackStorm/st2
Auf GitHub ansehenFeature Request: expose pack config to rules/triggers
Open
#3.576 geöffnet am 17. Juli 2017
enhancementhelp wanted
Repository-Metriken
- Stars
- (5.794 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Today, I wanted to add an IntervalTimer trigger, and I wanted to have the delta set in configuration.
I think it would be advantageous to allow end-users of my pack to set the interval delta (and unit) in configuration instead of having to edit the pack's yaml file.
trigger:
type: "core.st2.IntervalTimer"
parameters:
unit: "{{config_context.rule1_unit}}"
delta: {{config_context.rule1_delta}
related to #3183