# Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
# license agreements; and to You under the Apache License, Version 2.0. | |
packages: | |
triggerrule: | |
version: 1.0 | |
license: Apache-2.0 | |
actions: | |
greeting: | |
version: 1.0 | |
function: src/greeting.js | |
runtime: nodejs:6 | |
inputs: | |
name: string | |
place: string | |
outputs: | |
payload: string | |
triggers: | |
locationUpdate: | |
rules: | |
myRule: | |
trigger: locationUpdate | |
action: greeting |