apache / apache/openwhisk-package-cloudant

cloudant action annotations for dbname erroneously omit bindTime: true

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
17
Forks
31
PR merge metrics
No merged PRs in 30d

Description

@starpit commented on [Wed Jun 08 2016](https://github.com/openwhisk/openwhisk/issues/593)

we would like a way to distinguish `dbname` as a special parameter, one that we suggest the user provide at package binding time, rather than invocation time.

for example, the `read-document` action throws an exception if `dbname` is not provided, and it is unlikely that in normal scenarios `dbname` will be provided as input from a prior action in a sequence, or by a trigger as part of a rule.

whereas the `docID` field is much more likely to be in-flow data. therefore, `dbname` should be prompted for at package binding time

**Solution**: every cloudant action that specifies `dbname` as required should also specify it as **bindTime: true**

---

@starpit commented on [Wed Jun 08 2016](https://github.com/openwhisk/openwhisk/issues/593#issuecomment-224471755)

All of the cloudant actions that specify dbName as required must also specify bindTime: true

---

@markusthoemmes commented on [Fri Mar 10 2017](https://github.com/openwhisk/openwhisk/issues/593#issuecomment-285671069)

@csantanapr move to catalog?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.