-
Type:
Bug
-
Resolution: Gone away
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
[This bug report is for the App Services CLI, I report it here as I can't open a bug in Atlas Device SDK project]
Description
I upgraded from realm-cli to appservices and when I try to push my app I get an error validating trigger:
> "a trigger must have an event processor"
My trigger definition is this:
{ "type": "SCHEDULED", "name": "myfunc", "function_name": "myfunc", "config": { "schedule": "2 7 * * *" }, "disabled": false }
In order to workaround the issue I pulled the app (appservices pull) and got the following trigger definition that works:
{ "name": "myfunc", "type": "SCHEDULED", "disabled": false, "config": { "schedule": "2 7 * * *" }, "event_processors": { "FUNCTION": { "config": { "function_name": "myfunc" } } } }
Thing is `event_processors` is not documented anywhere I see hence I assume it is not something I should use...
Build environment versions
appservices version 1.0.0-SNAPSHOT-f582347de