You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/04 17:36:55 UTC
[GitHub] houshengbo opened a new issue #304: List support for openwhisk entities
houshengbo opened a new issue #304: List support for openwhisk entities
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/304
We currently support multiple entities like triggers, actions and rules, described under one element, but in different sub-elements. For exmaple,
```
triggers:
# Trigger named ?data-inserted-trigger?
# Creating trigger to fire events when data is inserted into database
data-inserted-trigger:
source: openwhisk-cloudant/changes
inputs:
dbname: $CLOUDANT_DATABASE
data-inserted-trigger_1:
source: openwhisk-cloudant/changes
inputs:
dbname: $CLOUDANT_DATABASE
```
We should extend to support entities defined in list, since list is a commonly supported in yaml file, like
```
triggers:
- name: data-inserted-trigger:
source: openwhisk-cloudant/changes
inputs:
dbname: $CLOUDANT_DATABASE
- name: data-inserted-trigger1:
source: openwhisk-cloudant/changes
inputs:
dbname: $CLOUDANT_DATABASE
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services