blob: 7959a7e07dd6ba869b4fa05ede12e2758354b649 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
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 } }