blob: 2d66557dc4bc9fb247dcb8b26a53aad8cb56dbe0 [file] [log] [blame]
# 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:
helloworld:
actions:
hello:
function: ../src/integration/helloworld/actions/hello.js
annotations:
annotation_string: this is a string annotations
annotation_int: 100
annotation_float: 99.99
annotation_bool: true
annotation_list_1: [1, 2, 3, 4]
annotation_list_2: [{ "payload": "one,two,three" }, { "payload": "one,two,three", "separator": "," }]
annotation_json_1: { "payload": "one,two,three" }
annotation_json_2: { "payload": "one,two,three", "separator": "," }
annotation_json_3: { "payload": "one,two,three", "lines": ["one", "two", "three"] }
annotation_json_4: { "p": { "a": 1 } }
annotation_json_5: { "p": { "a": 1, "b": 2 } }
annotation_json_6: { "p": { "a": 1, "b": { "c": 2 } } }
annotation_json_7: { "p": { "a": 1, "b": { "c": 2, "d": 3 } } }
annotation_json_8: { "p": { "a": 1, "b": { "c": 2, "d": [3, 4] } } }
annotation_json_9: { "p": { "a": 99.99 } }
annotation_json_10: { "p": { "a": true } }