| # 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: |
| default: |
| actions: |
| helloInDefaultPackage: |
| function: actions/hello.js |
| runtime: nodejs:6 |
| web-export: true |
| inputs: |
| name: |
| type: string |
| description: name of a person |
| place: |
| type: string |
| description: location of a person |
| outputs: |
| payload: |
| type: string |
| description: a simple greeting message, Hello World! |
| greetingInDefaultPackage: |
| function: actions/hello.js |
| runtime: nodejs:6 |
| inputs: |
| name: |
| type: string |
| description: name of a person |
| place: |
| type: string |
| description: location of a person |
| outputs: |
| payload: |
| type: string |
| description: a simple greeting message, Hello World! |
| sequences: |
| hello-world-series: |
| actions: helloInDefaultPackage, greetingInDefaultPackage |
| triggers: |
| triggerInDefaultPackage: |
| rules: |
| ruleInDefaultPackage: |
| trigger: triggerInDefaultPackage |
| action: hello-world-series |
| # apis: |
| # hello-world: |
| # hello: |
| # world: |
| # helloInDefaultPackage: GET |
| package-with-default: |
| actions: |
| helloInsidePackage: |
| function: actions/hello.js |
| runtime: nodejs:6 |
| inputs: |
| name: |
| type: string |
| description: name of a person |
| place: |
| type: string |
| description: location of a person |
| outputs: |
| payload: |
| type: string |
| description: a simple greeting message, Hello World! |
| greetingInsidePackage: |
| function: actions/hello.js |
| runtime: nodejs:6 |
| web-export: true |
| inputs: |
| name: |
| type: string |
| description: name of a person |
| place: |
| type: string |
| description: location of a person |
| outputs: |
| payload: |
| type: string |
| description: a simple greeting message, Hello World! |
| sequences: |
| hello-world-series: |
| actions: helloInsidePackage, greetingInsidePackage |
| triggers: |
| triggerInsidePackage: |
| rules: |
| ruleInsidePackage: |
| trigger: triggerInsidePackage |
| action: hello-world-series |
| # apis: |
| # greeting-world: |
| # greeting: |
| # world: |
| # greetingInsidePackage: GET |
| |