Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

steven0711dong
Copy link
Contributor

@steven0711dong steven0711dong commented Jan 29, 2020

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

  • API
  • Controller
  • Message Bus (e.g., Kafka)
  • Loadbalancer
  • Invoker
  • Intrinsic actions (e.g., sequences, conductors)
  • Data stores (e.g., CouchDB)
  • Tests
  • Deployment
  • CLI
  • General tooling
  • Documentation

Types of changes

  • Bug fix (generally a non-breaking change which closes an issue).
  • Enhancement or new feature (adds new functionality).
  • Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

  • I signed an Apache CLA.
  • I reviewed the style guides and followed the recommendations (Travis CI will check :).
  • I added tests to cover my changes.
  • My changes require further changes to the documentation.
  • I updated the documentation where necessary.

@codecov-io
Copy link

codecov-io commented Jan 29, 2020

Codecov Report

Merging #4808 into master will decrease coverage by 6.6%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
...core/database/cosmosdb/RxObservableImplicits.scala 0% <0%> (-100%) ⬇️
...e/database/cosmosdb/cache/ChangeFeedConsumer.scala 0% <0%> (-100%) ⬇️
...ore/database/cosmosdb/cache/CacheInvalidator.scala 0% <0%> (-100%) ⬇️
...core/database/cosmosdb/CosmosDBArtifactStore.scala 0% <0%> (-96.23%) ⬇️
...sk/core/database/cosmosdb/CosmosDBViewMapper.scala 0% <0%> (-93.85%) ⬇️
...tabase/cosmosdb/cache/CacheInvalidatorConfig.scala 0% <0%> (-92.31%) ⬇️
...enwhisk/connector/kafka/KamonMetricsReporter.scala 0% <0%> (-85.72%) ⬇️
...e/database/cosmosdb/cache/KafkaEventProducer.scala 0% <0%> (-77.78%) ⬇️
...whisk/core/database/cosmosdb/CosmosDBSupport.scala 0% <0%> (-74.08%) ⬇️
...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala 7.69% <0%> (-50%) ⬇️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5868c6e...9975e97. Read the comment docs.

@rabbah rabbah added awaits-contributor The contributor needs to respond to comments from reviewer. blocked labels Feb 1, 2020
@@ -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`
Copy link
Member

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?

Copy link
Member

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.

@style95 style95 closed this Jul 26, 2022
@style95 style95 reopened this Jul 26, 2022
@style95
Copy link
Member

style95 commented Jul 26, 2022

Aa apache/openwhisk-cli#479 got merged, I think we can merge this too?

@codecov-commenter
Copy link

codecov-commenter commented Jul 26, 2022

Codecov Report

Merging #4808 (9975e97) into master (5868c6e) will decrease coverage by 7.94%.
The diff coverage is n/a.

@@            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     
Impacted Files Coverage Δ
...enwhisk/connector/kafka/KamonMetricsReporter.scala 0.00% <0.00%> (-100.00%) ⬇️
...core/database/cosmosdb/RxObservableImplicits.scala 0.00% <0.00%> (-100.00%) ⬇️
...ore/database/cosmosdb/cache/CacheInvalidator.scala 0.00% <0.00%> (-100.00%) ⬇️
...e/database/cosmosdb/cache/ChangeFeedConsumer.scala 0.00% <0.00%> (-100.00%) ⬇️
...core/database/cosmosdb/CosmosDBArtifactStore.scala 0.00% <0.00%> (-96.61%) ⬇️
...sk/core/database/cosmosdb/CosmosDBViewMapper.scala 0.00% <0.00%> (-93.85%) ⬇️
...tabase/cosmosdb/cache/CacheInvalidatorConfig.scala 0.00% <0.00%> (-92.31%) ⬇️
...e/database/cosmosdb/cache/KafkaEventProducer.scala 0.00% <0.00%> (-77.78%) ⬇️
...whisk/core/database/cosmosdb/CosmosDBSupport.scala 0.00% <0.00%> (-74.08%) ⬇️
...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala 8.33% <0.00%> (-49.36%) ⬇️
... and 149 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

@style95
Copy link
Member

style95 commented May 31, 2023

@steven0711dong Thank you for your contribution.
I want to let this in. Could you rebase this PR or do you mind if I take over this?

@style95 style95 added the stale old issue which needs to validate label May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaits-contributor The contributor needs to respond to comments from reviewer. blocked stale old issue which needs to validate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants