-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Companion] Update feeds.md #4808
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4808 +/- ##
==========================================
- Coverage 85.21% 78.61% -6.61%
==========================================
Files 197 197
Lines 8843 8843
Branches 606 606
==========================================
- Hits 7536 6952 -584
- Misses 1307 1891 +584
Continue to review full report at Codecov.
|
@@ -67,7 +67,7 @@ When the user creates a trigger from the CLI with the **--feed** parameter, the | |||
|
|||
For example,assume the user has created a `mycloudant` binding for the `cloudant` package with their username and password as bound parameters. When the user issues the following command from the CLI: | |||
|
|||
`wsk trigger create T --feed mycloudant/changes -p dbName myTable` | |||
`wsk trigger create T --feed mycloudant/changes --feed-param dbName myTable` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there doc showing that --feed-param
and --trigger-param
can be used in conjunction with each other?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be good to note that -p
and -P
only works for feed parameters.
Aa apache/openwhisk-cli#479 got merged, I think we can merge this too? |
Codecov Report
@@ Coverage Diff @@
## master #4808 +/- ##
==========================================
- Coverage 85.33% 77.38% -7.95%
==========================================
Files 197 241 +44
Lines 8843 17856 +9013
Branches 606 996 +390
==========================================
+ Hits 7546 13818 +6272
- Misses 1297 4038 +2741
Help us with your feedback. Take ten seconds to tell us how you rate us. |
@steven0711dong Thank you for your contribution. |
Description
when creating and updating a trigger with a feed, feed related parameters will require --feed-param flag.
This is a companion change for PR: apache/openwhisk-cli#479
DO NOT MERGE until apache/openwhisk-cli#479 gets merged. This PR should be merged quickly once apache/openwhisk-cli#479 gets merged :)
Related issue and scope
apache/openwhisk-cli#479
My changes affect the following components
Types of changes
Checklist: