Skip to content

Commit 4039056

Browse files
msfussellhhunter-msJoshVanLmarcduikerjake-engelberg
authored
Upmerge 07 09 - From v1.15 to v1.16 (#4714)
* Update conversation-overview.md fix todo Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> * update python examples for workflow; update conversation quickstart to python sdk Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * Updates latest version to 1.15.1 (#4562) Also marks all `v1.12.x` releases to not-supported. We only support N-2 versions, where N is the latest version. Signed-off-by: joshvanl <me@joshvanl.dev> * Revert back to built-in template that includes GA Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * spelling-fix: kubernetes-persisting-scheduler.md (#4566) instalation -> installation Signed-off-by: Jake Engelberg <152900222+jake-engelberg@users.noreply.github.com> * remove 3500, only use as an example in API docs Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * Update kubernetes-persisting-scheduler.md (#4568) dapr / PVC uninstall specifics, about how a manual deletion of PVCs is required to define a new volume. Signed-off-by: Jake Engelberg <152900222+jake-engelberg@users.noreply.github.com> * Update sidecar.md (#4570) Add missing sample argument for Dapr sidecar app port config sample Signed-off-by: Jonel Dominic Tapang <joneldominictapang.dev@gmail.com> Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> * Update v1.15.1 --> v1.15.2 (#4571) * update patch version to latest Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * update shortcode Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> --------- Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * update keys to items for consistency (#4565) Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * update the docs Signed-off-by: msfussell <markfussell@gmail.com> * Update multi-app template and arguments annotations for new configuration options (#4573) Signed-off-by: Anton Troshin <anton@diagrid.io> Co-authored-by: Mark Fussell <markfussell@gmail.com> * update author and manage workflow how-tos Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> * Added .NET streaming subscription example to pubsub page Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Added double quotes around .NET in the tabs markup Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Fixed spelling mistake in secret-scope.md (#4593) "Scop" fixed to "Scope" Signed-off-by: James Pegg <jamescpegg@gmail.com> * Update self-hosted-with-docker.md - make `scheduler` running (#4599) * Update self-hosted-with-docker.md - make scheduler running Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr> * Update self-hosted-with-docker.md - --scheduler-host-address Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr> * Update self-hosted-with-docker.md - Use smaller container images for placement and scheduler Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr> --------- Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr> * Update actors-quickstart.md (#4601) Update to .NET 8 runtime Signed-off-by: Alice Gibbons <alice@diagrid.io> * Upped stalebot period from 5 to 30 days (#4610) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Added troubleshooting step to resolve port conflicts during `dapr init` on Windows (#4602) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * change application insights example from insights key to connection string (#4598) Signed-off-by: fabistb <fabian0401@online.de> Co-authored-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * docs: bindings.cron every 15m (#4605) Signed-off-by: Joey Freeland <30938344+jfreeland@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Cassie Coyle <cassie@diagrid.io> * fix: broken link due to typo (#4604) Signed-off-by: thrubovc <34124990+thrubovc@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Updated .NET workflow method names (#4586) * Updated .NET workflow method names Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Fixed incorrect .NET method name for purging workflow instances Signed-off-by: Whit Waldo <whit.waldo@innovian.net> --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update documentation for GCP Secret Manager and Object Store support of implicit authentication (#4592) Signed-off-by: Anton Troshin <anton@diagrid.io> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Adds Warning that Actor Reminder Partition is not relevant by default (#4561) * Adds Warning that Actor Reminder Partition is not relevant by default Updates the Actor Reminder Partition config page with a Warning that the feature is only relevant when using state store Actor Reminders which are no longer used by default. De-references this page from the actor rutime config page to softly hide it. Updates some verbiage around using Scheduler reminders & the feature gate as it's on by default. This should be merged in dapr/docs@v1.16. Signed-off-by: joshvanl <me@joshvanl.dev> * Update daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update kubernetes-persisting-scheduler.md Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> Signed-off-by: Josh van Leeuwen <me@joshvanl.dev> * Update daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md Signed-off-by: Mark Fussell <markfussell@gmail.com> --------- Signed-off-by: joshvanl <me@joshvanl.dev> Signed-off-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Josh van Leeuwen <me@joshvanl.dev> Co-authored-by: Yaron Schneider <schneider.yaron@live.com> Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> * add conversation API to allow list (#4581) Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Added local echo conversation component (#4587) * Added local echo conversation component Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/reference/components-reference/supported-conversation/local-echo.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update local-echo.md Fixed repeated text Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update generic.yaml Marking Echo stable, since it is only used for local testing Signed-off-by: Mark Fussell <markfussell@gmail.com> --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Signed-off-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update conversation_api.md (#4589) Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> Co-authored-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Corrected typo namepsace to namespace (#4613) Signed-off-by: Martin Cambal <martin@cspconsole.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Fixed typo => "loggings" to "logging" (#4619) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Fixed typo -> "Fleuntd" to "Fluentd" (#4618) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * On the page covering binding inputs (triggers), the text erroneously suggested that the following examples demonstrated output bindings. (#4620) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update kubernetes-production.md (#4616) Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Added .NET SDK examples to serialization document (#4596) * Added .NET SDK examples to serialization document + modernized it some Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update sdk-serialization.md Updated formatting and grammar Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Updated serialization package links + added reference to actor serialization documentation Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Added input binding examples for .NET Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/local-development/sdk-serialization.md Signed-off-by: Mark Fussell <markfussell@gmail.com> * Updated to use the correct method for service invocation Signed-off-by: Whit Waldo <whit.waldo@innovian.net> --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Signed-off-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> * apache ignite description on cassandra (#4630) Signed-off-by: Fernando Rocha <fernando@diagrid.io> * Updating AKS Cluster creation command (#4632) * updating aks cluster creation command Signed-off-by: Fernando Rocha <fernando@diagrid.io> * adding missing space Signed-off-by: Fernando Rocha <fernando@diagrid.io> --------- Signed-off-by: Fernando Rocha <fernando@diagrid.io> * Argo CD Integration docs (#4629) * Argo CD Integration docs Signed-off-by: Fernando Rocha <fernando@diagrid.io> * page weight Signed-off-by: Fernando Rocha <fernando@diagrid.io> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <markfussell@gmail.com> * Update daprdocs/content/en/developing-applications/integrations/argo-cd.md Signed-off-by: Mark Fussell <markfussell@gmail.com> --------- Signed-off-by: Fernando Rocha <fernando@diagrid.io> Signed-off-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Added tags example (#4635) Signed-off-by: adam6878 <adamshamis.dev@gmail.com> * v1.15- update supported release versions (#4639) Signed-off-by: joshvanl <me@joshvanl.dev> * chore: update stale bot duration to 90D (#4628) Signed-off-by: Mike Nguyen <hey@mike.ee> Co-authored-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Nelson Parente <nelson_parente@live.com.pt> * Adds a new component config option for Redis PubSub (#4591) * Adds a new component config option for Redis PubSub Signed-off-by: Elena Kolevska <elena@kolevska.com> * Updates for dynamic ttl Signed-off-by: Elena Kolevska <elena@kolevska.com> --------- Signed-off-by: Elena Kolevska <elena@kolevska.com> Co-authored-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Nelson Parente <nelson_parente@live.com.pt> * Update Dapr Slide deck (#4641) Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Modified all the C# examples through the configuration document (#4638) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Fix broken .yml link in conversation-quickstart.md (#4642) Corrected the file extension in the documentation link from .yml to .yaml to fix a broken link. Replaced: https://github.com/dapr/quickstarts/tree/master/conversation/components/conversation.yml with: https://github.com/dapr/quickstarts/tree/master/conversation/components/conversation.yaml Signed-off-by: tommygood <tommy50508@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Updated to reflect a modern .NET example for retrieving secrets from Dapr Secret Management (#4636) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Modernized .NET examples for binding inputs and outputs (#4621) * Modernized .NET example to include modern syntax for controller example and add a minimal API version for completeness Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Removed //dependencies text as no one does this Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Modernized example for binding outputs in .NET Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/building-blocks/bindings/howto-bindings.md Co-authored-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Updated to modernize .NET examples (#4631) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Fix for workflow mgmt api call rendering (#4652) Signed-off-by: Bilgin Ibryam <bibryam@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Fix links to durabletask-go: point to dapr org (#4654) Signed-off-by: Bilgin Ibryam <bibryam@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Correcting .NET examples in the workflow docs (#4627) Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Modernized the .NET examples for interacting with state in Dapr (#4622) * Modernized the .NET examples for interacting with state in Dapr Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md Co-authored-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> * Update daprdocs/content/en/developing-applications/building-blocks/state-management/howto-get-save-state.md Co-authored-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> --------- Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update to v1.15.5 (#4656) * dapr-latest-version.html: update to v1.15.4 Signed-off-by: joshvanl <me@joshvanl.dev> * Update release to 1.15.5 Signed-off-by: joshvanl <me@joshvanl.dev> * Update daprdocs/content/en/operations/support/support-release-policy.md Signed-off-by: Mark Fussell <markfussell@gmail.com> --------- Signed-off-by: joshvanl <me@joshvanl.dev> Signed-off-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update subscription-schema.md (#4658) Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update PubSub Raw doc (#4659) * Update pubsub-raw.md Updating Raw PubSub doc to be more specific about content type and delivery details. Signed-off-by: Alice Gibbons <alice@diagrid.io> * Update daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md Signed-off-by: Mark Fussell <markfussell@gmail.com> --------- Signed-off-by: Alice Gibbons <alice@diagrid.io> Signed-off-by: Mark Fussell <markfussell@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Azure Application Insights fixes (#4660) Signed-off-by: Alice Gibbons <alice@diagrid.io> * style: fix typo in word for conversation api (#4672) Signed-off-by: Samantha Coyle <sam@diagrid.io> * Add workflow slide deck, fix hugo version (#4677) Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * Add additional behavior of failing App Health Checks - as explained by @JoshVanL (#4667) Signed-off-by: Oliver Tomlinson <oliverjamestomlinson@gmail.com> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> * Update workflow diagrams (#4682) * Update workflow pattern diagrams Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * Update workflow diagrams to new style Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * Update diagrams Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> * Update workflow k8s diagram Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> --------- Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * update developing-applications folder links (#4705) Signed-off-by: Arhell <arhell333@gmail.com> Co-authored-by: Mark Fussell <markfussell@gmail.com> * Update LICENSE (#4712) Updates license to Apache 2.0 Signed-off-by: Yaron Schneider <schneider.yaron@live.com> --------- Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> Signed-off-by: joshvanl <me@joshvanl.dev> Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com> Signed-off-by: Jake Engelberg <152900222+jake-engelberg@users.noreply.github.com> Signed-off-by: Jonel Dominic Tapang <joneldominictapang.dev@gmail.com> Signed-off-by: msfussell <markfussell@gmail.com> Signed-off-by: Anton Troshin <anton@diagrid.io> Signed-off-by: Whit Waldo <whit.waldo@innovian.net> Signed-off-by: James Pegg <jamescpegg@gmail.com> Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr> Signed-off-by: Alice Gibbons <alice@diagrid.io> Signed-off-by: fabistb <fabian0401@online.de> Signed-off-by: Joey Freeland <30938344+jfreeland@users.noreply.github.com> Signed-off-by: thrubovc <34124990+thrubovc@users.noreply.github.com> Signed-off-by: Mark Fussell <markfussell@gmail.com> Signed-off-by: Josh van Leeuwen <me@joshvanl.dev> Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com> Signed-off-by: Siri Varma Vegiraju <siri.varma@outlook.com> Signed-off-by: Martin Cambal <martin@cspconsole.com> Signed-off-by: Joe Bowbeer <joe.bowbeer@gmail.com> Signed-off-by: Fernando Rocha <fernando@diagrid.io> Signed-off-by: adam6878 <adamshamis.dev@gmail.com> Signed-off-by: Mike Nguyen <hey@mike.ee> Signed-off-by: Elena Kolevska <elena@kolevska.com> Signed-off-by: tommygood <tommy50508@gmail.com> Signed-off-by: Bilgin Ibryam <bibryam@gmail.com> Signed-off-by: Samantha Coyle <sam@diagrid.io> Signed-off-by: Oliver Tomlinson <oliverjamestomlinson@gmail.com> Signed-off-by: Arhell <arhell333@gmail.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Co-authored-by: Hannah Hunter <hannahhunter@microsoft.com> Co-authored-by: Josh van Leeuwen <me@joshvanl.dev> Co-authored-by: Marc Duiker <marcduiker@users.noreply.github.com> Co-authored-by: Jake Engelberg <152900222+jake-engelberg@users.noreply.github.com> Co-authored-by: Jonel Dominic Tapang <dneljo@yahoo.com> Co-authored-by: Anton Troshin <anton@diagrid.io> Co-authored-by: Whit Waldo <whit.waldo@innovian.net> Co-authored-by: James Pegg <jamescpegg@gmail.com> Co-authored-by: Mathieu Benoit <mathieu-benoit@hotmail.fr> Co-authored-by: Alice Gibbons <alice@diagrid.io> Co-authored-by: Fabian Steinbach <63794579+fabistb@users.noreply.github.com> Co-authored-by: Joey Freeland <30938344+jfreeland@users.noreply.github.com> Co-authored-by: Cassie Coyle <cassie@diagrid.io> Co-authored-by: thrubovc <34124990+thrubovc@users.noreply.github.com> Co-authored-by: Yaron Schneider <schneider.yaron@live.com> Co-authored-by: Cassie Coyle <cassie.i.coyle@gmail.com> Co-authored-by: Fabian Martinez <46371672+famarting@users.noreply.github.com> Co-authored-by: Alice Gibbons <alicejgibbons@gmail.com> Co-authored-by: Siri Varma Vegiraju <siri.varma@outlook.com> Co-authored-by: Martin Cambal <martin@cspconsole.com> Co-authored-by: Joe Bowbeer <joe.bowbeer@gmail.com> Co-authored-by: Fernando Rocha <fernando@diagrid.io> Co-authored-by: Adam shamis <adamshamis.dev@gmail.com> Co-authored-by: Mike Nguyen <hey@mike.ee> Co-authored-by: Nelson Parente <nelson_parente@live.com.pt> Co-authored-by: Elena Kolevska <elena-kolevska@users.noreply.github.com> Co-authored-by: tommygood <tommy50508@gmail.com> Co-authored-by: Bilgin Ibryam <bibryam@gmail.com> Co-authored-by: Sam <sam@diagrid.io> Co-authored-by: Oliver Tomlinson <oliverjamestomlinson@gmail.com> Co-authored-by: Ihor Sychevskyi <arhell333@gmail.com>
1 parent f2ec302 commit 4039056

File tree

81 files changed

+1176
-1060
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1176
-1060
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"ghcr.io/devcontainers/features/hugo:1": {
1212
"extended": true,
13-
"version": "latest"
13+
"version": "0.100.2"
1414
},
1515
"ghcr.io/devcontainers/features/node:1": {
1616
"nodeGypDependencies": true,

.github/workflows/stale-pr-monitor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
stale-pr-message: 'Stale PR, paging all reviewers'
1919
stale-pr-label: 'stale'
2020
exempt-pr-labels: 'question,"help wanted",do-not-merge,waiting-on-code-pr'
21-
days-before-stale: 5
21+
days-before-stale: 90

LICENSE

Lines changed: 203 additions & 394 deletions
Large diffs are not rendered by default.

daprdocs/content/en/concepts/dapr-services/sidecar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For a detailed list of all available arguments run `daprd --help` or see this [t
5252
1. Specify the port your application is listening to
5353

5454
```bash
55-
daprd --app-id --app-port 5000
55+
daprd --app-id myapp --app-port 5000
5656
```
5757

5858
1. If you are using several custom resources and want to specify the location of the resource definition files, use the `--resources-path` argument:

daprdocs/content/en/contributing/presentations.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ weight: 20
66
description: How to give a presentation on Dapr and examples
77
---
88

9-
We welcome community members giving presentations on Dapr and spreading the word about all the awesome Dapr features! We offer a template PowerPoint file to get started.
9+
We encourage community members to give presentations on Dapr. To get you started quickly, we offer two PowerPoint files:
1010

11-
{{< button text="Download the Dapr Presentation Deck" link="/presentations/dapr-slidedeck.pptx.zip" >}}
11+
- *dapr-slidedeck.pptx*, this is a 150+ page slide deck and contains; an overview of Dapr, all of its building block APIs, cross-cutting concerns, hosting options, and assets to create your own architecture diagrams.
12+
- *dapr-workflow.pptx*, this is a dedicated slide deck about Dapr workflow and contains; durable execution concept, workflow authoring, workflow patterns, workflow management, and challenges & tips.
13+
14+
There is a downloadable zip file contains both slide decks.
15+
16+
{{< button text="Download the Dapr Presentation Decks" link="/presentations/dapr-slidedecks.zip" >}}
1217

1318
{{% alert color="primary" %}}
1419
If you're using the PowerPoint template with MacOS, please install the Space Grotesk font to ensure the text is rendered properly:
@@ -19,19 +24,16 @@ brew install --cask font-space-grotesk
1924

2025
## Giving a Dapr presentation
2126

22-
- Begin by downloading the [Dapr Presentation Deck](/presentations/dapr-slidedeck.pptx.zip). This contains slides and diagrams needed to give a Dapr presentation.
27+
- Begin by downloading the [Dapr Presentation Decks](/presentations/dapr-slidedecks.zip). These contain slides, diagrams, and graphical assets needed to give a Dapr presentation.
2328
- Next, review the docs to make sure you understand the [concepts]({{< ref concepts >}}).
24-
- Use the Dapr [quickstarts](https://github.com/dapr/quickstarts) repo and [samples](https://github.com/dapr/samples) repo to show demos of how to use Dapr.
29+
- Use the Dapr [quickstarts](https://github.com/dapr/quickstarts) repo to show demos of how to use Dapr.
30+
- Once you've done a Dapr presentation, claim the *Dapr Presenter* badge by adding your presentation to [this table](https://github.com/dapr/community/tree/master/presentations) in the Dapr Community repository.
31+
32+
## Dapr presentations from the community
2533

26-
## Previous Dapr presentations
34+
If you need some inspiration, watch these Dapr presentations by the community via this [Dapr YouTube playlist](https://youtube.com/playlist?list=PLcip_LgkYwztNWGLdO6yROA3zKl-uUu7h&si=dLMS2CPPyMsfl-QQ):
2735

28-
| Presentation | Recording | Deck |
29-
|--------------|-----------|------|
30-
| Running Event-Driven Pub/Sub Microservices In Kubernetes With Dapr | [Link](https://youtu.be/-4sHUvfk2Eg) | N/A
31-
| Ignite 2019: Mark Russinovich Presents the Future of Cloud Native Applications | [Link](https://www.youtube.com/watch?v=LAUDVk8PaCY) | [Link](/presentations/2019IgniteCloudNativeApps.pdf)
32-
| Azure Community Live: Build microservice applications using DAPR with Mark Fussell | [Link](https://www.youtube.com/watch?v=CgqI7nen-Ng) | N/A
33-
| Ready 2020: Mark Russinovich Presents Cloud Native Applications | [Link](https://youtu.be/eJCu6a-x9uo?t=1614) | [Link](/presentations/2020ReadyCloudNativeApps.pdf)
34-
| Ignite 2021: Mark Russinovich Presents Dapr v1.0 Release | [Link](https://youtu.be/69PrhWQorEM?t=3789) | N/A
36+
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?si=0atWXnp3ikvuqao7&amp;list=PLcip_LgkYwztNWGLdO6yROA3zKl-uUu7h" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
3537

3638
## Additional resources
3739

daprdocs/content/en/developing-applications/building-blocks/actors/actors-runtime-config.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,8 @@ func configHandler(w http.ResponseWriter, r *http.Request) {
195195

196196
{{< /tabs >}}
197197

198-
## Next steps
199-
200-
{{< button text="Enable actor reminder partitioning >>" page="howto-actors-partitioning.md" >}}
201-
202198
## Related links
203199

204200
- Refer to the [Dapr SDK documentation and examples]({{< ref "developing-applications/sdks/#sdk-languages" >}}).
205201
- [Actors API reference]({{< ref actors_api.md >}})
206-
- [Actors overview]({{< ref actors-overview.md >}})
202+
- [Actors overview]({{< ref actors-overview.md >}})

daprdocs/content/en/developing-applications/building-blocks/actors/howto-actors-partitioning.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ aliases:
88
- "/developing-applications/building-blocks/actors/actors-background"
99
---
1010

11+
{{% alert title="Warning" color="warning" %}}
12+
This feature is only relevant when using state store actor reminders, no longer enabled by default.
13+
As of v1.15, Dapr uses the far more performant [Scheduler Actor Reminders]({{< ref "scheduler.md#actor-reminders" >}}) by default.
14+
This page is only relevant if you are using the legacy state store actor reminders, enabled via setting the [`SchedulerReminders` feature flag]({{< ref "support-preview-features.md#current-preview-features" >}}) to false.
15+
It is highly recommended you use using the Scheduler Actor Reminders feature.
16+
{{% /alert %}}
17+
1118
[Actor reminders]({{< ref "actors-timers-reminders.md#actor-reminders" >}}) are persisted and continue to be triggered after sidecar restarts. Applications with multiple reminders registered can experience the following issues:
1219

1320
- Low throughput on reminders registration and de-registration
@@ -193,4 +200,4 @@ Watch [this video for a demo of actor reminder partitioning](https://youtu.be/Zw
193200
## Related links
194201

195202
- [Actors API reference]({{< ref actors_api.md >}})
196-
- [Actors overview]({{< ref actors-overview.md >}})
203+
- [Actors overview]({{< ref actors-overview.md >}})

daprdocs/content/en/developing-applications/building-blocks/bindings/howto-bindings.md

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -110,40 +110,30 @@ The code examples below leverage Dapr SDKs to invoke the output bindings endpoin
110110

111111
{{% codetab %}}
112112

113+
Here's an example of using a console app with top-level statements in .NET 6+:
114+
113115
```csharp
114-
//dependencies
115-
using System;
116-
using System.Collections.Generic;
117-
using System.Net.Http;
118-
using System.Net.Http.Headers;
116+
using System.Text;
119117
using System.Threading.Tasks;
120118
using Dapr.Client;
121-
using Microsoft.AspNetCore.Mvc;
122-
using System.Threading;
123119
124-
//code
125-
namespace EventService
120+
var builder = WebApplication.CreateBuilder(args);
121+
builder.Services.AddDaprClient();
122+
var app = builder.Build();
123+
124+
const string BINDING_NAME = "checkout";
125+
const string BINDING_OPERATION = "create";
126+
127+
var random = new Random();
128+
using var daprClient = app.Services.GetRequiredService<DaprClient>();
129+
130+
while (true)
126131
{
127-
class Program
128-
{
129-
static async Task Main(string[] args)
130-
{
131-
string BINDING_NAME = "checkout";
132-
string BINDING_OPERATION = "create";
133-
while(true)
134-
{
135-
System.Threading.Thread.Sleep(5000);
136-
Random random = new Random();
137-
int orderId = random.Next(1,1000);
138-
using var client = new DaprClientBuilder().Build();
139-
//Using Dapr SDK to invoke output binding
140-
await client.InvokeBindingAsync(BINDING_NAME, BINDING_OPERATION, orderId);
141-
Console.WriteLine("Sending message: " + orderId);
142-
}
143-
}
144-
}
132+
await Task.Delay(TimeSpan.FromSeconds(5));
133+
var orderId = random.Next(1, 1000);
134+
await client.InvokeBindingAsync(BINDING_NAME, BINDING_OPERATION, orderId);
135+
Console.WriteLine($"Sending message: {orderId}");
145136
}
146-
147137
```
148138

149139
{{% /codetab %}}

daprdocs/content/en/developing-applications/building-blocks/bindings/howto-triggers.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -113,34 +113,41 @@ Configure your application to receive incoming events. If you're using HTTP, you
113113
- Listen on a `POST` endpoint with the name of the binding, as specified in `metadata.name` in the `binding.yaml` file.
114114
- Verify your application allows Dapr to make an `OPTIONS` request for this endpoint.
115115

116-
Below are code examples that leverage Dapr SDKs to demonstrate an output binding.
116+
Below are code examples that leverage Dapr SDKs to demonstrate an input binding.
117117

118118
{{< tabs ".NET" Java Python Go JavaScript>}}
119119

120120
{{% codetab %}}
121121

122+
The following example demonstrates how to configure an input binding using ASP.NET Core controllers.
123+
122124
```csharp
123-
//dependencies
124125
using System.Collections.Generic;
125126
using System.Threading.Tasks;
126127
using System;
127128
using Microsoft.AspNetCore.Mvc;
128129
129-
//code
130-
namespace CheckoutService.controller
130+
namespace CheckoutService.controller;
131+
132+
[ApiController]
133+
public sealed class CheckoutServiceController : ControllerBase
131134
{
132-
[ApiController]
133-
public class CheckoutServiceController : Controller
135+
[HttpPost("/checkout")]
136+
public ActionResult<string> getCheckout([FromBody] int orderId)
134137
{
135-
[HttpPost("/checkout")]
136-
public ActionResult<string> getCheckout([FromBody] int orderId)
137-
{
138-
Console.WriteLine("Received Message: " + orderId);
139-
return "CID" + orderId;
140-
}
138+
Console.WriteLine($"Received Message: {orderId}");
139+
return $"CID{orderId}";
141140
}
142141
}
142+
```
143143

144+
The following example demonstrates how to configure the same input binding using a minimal API approach:
145+
```csharp
146+
app.MapPost("checkout", ([FromBody] int orderId) =>
147+
{
148+
Console.WriteLine($"Received Message: {orderId}");
149+
return $"CID{orderId}"
150+
});
144151
```
145152

146153
{{% /codetab %}}

daprdocs/content/en/developing-applications/building-blocks/configuration/howto-manage-configuration.md

Lines changed: 46 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -76,27 +76,21 @@ The following example shows how to get a saved configuration item using the Dapr
7676
{{% codetab %}}
7777
7878
```csharp
79-
//dependencies
8079
using System;
8180
using System.Collections.Generic;
8281
using System.Threading.Tasks;
8382
using Dapr.Client;
8483

85-
//code
86-
namespace ConfigurationApi
87-
{
88-
public class Program
89-
{
90-
private static readonly string CONFIG_STORE_NAME = "configstore";
91-
92-
public static async Task Main(string[] args)
93-
{
94-
using var client = new DaprClientBuilder().Build();
95-
var configuration = await client.GetConfiguration(CONFIG_STORE_NAME, new List<string>() { "orderId1", "orderId2" });
96-
Console.WriteLine($"Got key=\n{configuration[0].Key} -> {configuration[0].Value}\n{configuration[1].Key} -> {configuration[1].Value}");
97-
}
98-
}
99-
}
84+
const string CONFIG_STORE_NAME = "configstore";
85+
86+
var builder = WebApplication.CreateBuilder(args);
87+
builder.Services.AddDaprClient();
88+
var app = builder.Build();
89+
90+
using var client = app.Services.GetRequiredServices<DaprClient>();
91+
92+
var configuration = await client.GetConfiguration(CONFIG_STORE_NAME, [ "orderId1", "orderId2" ]);
93+
Console.WriteLine($"Got key=\n{configuration[0].Key} -> {configuration[0].Value}\n{configuration[1].Key} -> {configuration[1].Value}");
10094
```
10195

10296
{{% /codetab %}}
@@ -261,13 +255,19 @@ using System;
261255
using System.Collections.Generic;
262256
using System.Threading.Tasks;
263257
using Dapr.Client;
258+
using System.Text.Json;
264259

265260
const string DAPR_CONFIGURATION_STORE = "configstore";
266-
var CONFIGURATION_KEYS = new List<string> { "orderId1", "orderId2" };
267-
var client = new DaprClientBuilder().Build();
261+
var CONFIGURATION_ITEMS = new List<string> { "orderId1", "orderId2" };
262+
263+
var builder = WebApplication.CreateBuilder(args);
264+
builder.Services.AddDaprClient();
265+
var app = builder.Build();
266+
267+
var client = app.Services.GetRequiredService<DaprClient>();
268268

269269
// Subscribe for configuration changes
270-
SubscribeConfigurationResponse subscribe = await client.SubscribeConfiguration(DAPR_CONFIGURATION_STORE, CONFIGURATION_ITEMS);
270+
var subscribe = await client.SubscribeConfiguration(DAPR_CONFIGURATION_STORE, CONFIGURATION_ITEMS);
271271

272272
// Print configuration changes
273273
await foreach (var items in subscribe.Source)
@@ -279,7 +279,7 @@ await foreach (var items in subscribe.Source)
279279
subscriptionId = subscribe.Id;
280280
continue;
281281
}
282-
var cfg = System.Text.Json.JsonSerializer.Serialize(items);
282+
var cfg = JsonSerializer.Serialize(items);
283283
Console.WriteLine("Configuration update " + cfg);
284284
}
285285
```
@@ -303,40 +303,23 @@ using Dapr.Extensions.Configuration;
303303
using System.Collections.Generic;
304304
using System.Threading;
305305

306-
namespace ConfigurationApi
307-
{
308-
public class Program
309-
{
310-
public static void Main(string[] args)
311-
{
312-
Console.WriteLine("Starting application.");
313-
CreateHostBuilder(args).Build().Run();
314-
Console.WriteLine("Closing application.");
315-
}
316-
317-
/// <summary>
318-
/// Creates WebHost Builder.
319-
/// </summary>
320-
/// <param name="args">Arguments.</param>
321-
/// <returns>Returns IHostbuilder.</returns>
322-
public static IHostBuilder CreateHostBuilder(string[] args)
323-
{
324-
var client = new DaprClientBuilder().Build();
325-
return Host.CreateDefaultBuilder(args)
326-
.ConfigureAppConfiguration(config =>
327-
{
328-
// Get the initial value and continue to watch it for changes.
329-
config.AddDaprConfigurationStore("configstore", new List<string>() { "orderId1","orderId2" }, client, TimeSpan.FromSeconds(20));
330-
config.AddStreamingDaprConfigurationStore("configstore", new List<string>() { "orderId1","orderId2" }, client, TimeSpan.FromSeconds(20));
331-
332-
})
333-
.ConfigureWebHostDefaults(webBuilder =>
334-
{
335-
webBuilder.UseStartup<Startup>();
336-
});
337-
}
338-
}
339-
}
306+
Console.WriteLine("Starting application.");
307+
var builder = WebApplication.CreateBuilder(args);
308+
309+
// Unlike most other situations, we build a `DaprClient` here using its factory because we cannot rely on `IConfiguration`
310+
// or other injected services to configure it because we haven't yet built the DI container.
311+
var client = new DaprClientBuilder().Build();
312+
313+
// In a real-world application, you'd also add the following line to register the `DaprClient` with the DI container so
314+
// it can be injected into other services. In this demonstration, it's not necessary as we're not injecting it anywhere.
315+
// builder.Services.AddDaprClient();
316+
317+
// Get the initial value and continue to watch it for changes
318+
builder.Configuration.AddDaprConfigurationStore("configstore", new List<string>() { "orderId1","orderId2" }, client, TimeSpan.FromSeconds(20));
319+
builder.Configuration.AddStreamingDaprConfigurationStore("configstore", new List<string>() { "orderId1","orderId2" }, client, TimeSpan.FromSeconds(20));
320+
321+
await builder.Build().RunAsync();
322+
Console.WriteLine("Closing application.");
340323
```
341324
342325
Navigate to the directory containing the above code, then run the following command to launch both a Dapr sidecar and the subscriber application:
@@ -524,29 +507,23 @@ Following are the code examples showing how you can unsubscribe to configuration
524507
{{< tabs ".NET" Java Python Go JavaScript "HTTP API (BASH)" "HTTP API (Powershell)">}}
525508
526509
{{% codetab %}}
510+
527511
```csharp
528512
using System;
529513
using System.Collections.Generic;
530514
using System.Threading.Tasks;
531515
using Dapr.Client;
532516
517+
var builder = WebApplication.CreateBuilder();
518+
builder.Services.AddDaprClient();
519+
var app = builder.Build();
520+
533521
const string DAPR_CONFIGURATION_STORE = "configstore";
534-
var client = new DaprClientBuilder().Build();
522+
const string SubscriptionId = "abc123"; //Replace with the subscription identifier to unsubscribe from
523+
var client = app.Services.GetRequiredService<DaprClient>();
535524
536-
// Unsubscribe to config updates and exit the app
537-
async Task unsubscribe(string subscriptionId)
538-
{
539-
try
540-
{
541-
await client.UnsubscribeConfiguration(DAPR_CONFIGURATION_STORE, subscriptionId);
542-
Console.WriteLine("App unsubscribed from config changes");
543-
Environment.Exit(0);
544-
}
545-
catch (Exception ex)
546-
{
547-
Console.WriteLine("Error unsubscribing from config updates: " + ex.Message);
548-
}
549-
}
525+
await client.UnsubscribeConfiguration(DAPR_CONFIGURATION_STORE, SubscriptionId);
526+
Console.WriteLine("App unsubscribed from config changes");
550527
```
551528
{{% /codetab %}}
552529

0 commit comments

Comments
 (0)