This is a test case for wskdeploy
. This package demonstrates how to create alarm trigger. You have to specify /whisk.system/alarms/alarm
as a source
for alarm trigger in manifest yaml file. It takes one mandatory parameter cron
in deployment file.
It can be deployed and tested with:
$ wskdeploy -p tests/src/integration/alarmtrigger $ wsk activation poll $ wsk trigger fire Every12Hours $ wsk activation get <HelloWorldActivationID>