mirror of https://github.com/dapr/docs.git
Website merge (#920)
* Initial configuration of hugo and docsy * ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Testing file * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Updated overview structure * Upadted git ignore for package lock * Removed generated scss * Update package lock * Add README * Update install process * Move How-To Guides into Docs * Add front matter * Add Overview * Adjust Table of Contents sizing * Add back overview * Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml * Rename Guide to HowTo * Allow unsafe HTML for custom images * Move images into static repo * Darken TOC * Add setup docsy step * Add algolia information * Update docs with new heirarchy * Add algoloia information * Merge master * Updating directory structure * Integrating deploying folder intop operations * Moved building blocks * Conceptual docs updates (#845) * Update title * Update to conceptual docs * Operations section (#846) * added FAQ on perf benchmark (#839) * added FAQ on perf benchmark * typos * Update FAQ.md Co-authored-by: Yaron Schneider <yaronsc@microsoft.com> * Move images * Move static docs * Update toc template * Update operations section * Update Actions Workflow Co-authored-by: Mark Fussell <mfussell@microsoft.com> Co-authored-by: Yaron Schneider <yaronsc@microsoft.com> * Developing applications section [hugo-docs] (#847) * Developing applications section * Changing capital letters in getting started section * Remove redundant getting started title * Updating theme and configuration (#852) * Enable robots, Update versions, add links * Update left column minimum width * Add Dapr docs image * Update spacing for list pages * Add home image * moving components setup howtos to operations section * Removing moved files from OLD * Update Operations (#853) * Enable robots, Update versions, add links * Update left column minimum width * Add Dapr docs image * Update spacing for list pages * Add home image * Update hosting references * Remove extra width * Add favicons * Update configuration section (#854) * Enable robots, Update versions, add links * Update left column minimum width * Add Dapr docs image * Update spacing for list pages * Add home image * Update hosting references * Remove extra width * Add favicons * Update configuration section * Fix configuration reference * Adding headers for secrets and state components * Complete operations section (#856) * Enable robots, Update versions, add links * Update left column minimum width * Add Dapr docs image * Update spacing for list pages * Add home image * Update hosting references * Remove extra width * Add favicons * Update configuration section * Fix configuration reference * Complete operations section * Integrating final readme files from OLD * Final update (#858) * Enable robots, Update versions, add links * Update left column minimum width * Add Dapr docs image * Update spacing for list pages * Add home image * Update hosting references * Remove extra width * Add favicons * Update configuration section * Fix configuration reference * Complete operations section * Moved docs to top level folder * Disable taxonomies * Remove duplicate ToC * Added information on disabling categories and tags * Removed manual ToC * Add CLI title (#859) * Update build command (#860) * Add CLI title * Update build command * Add env variables * Update version * Remove extra v * Add Google Analytics and Algolia * Move Algolia search code * Fix algolia info * Update algolia search * Update theme * Enable debugging for Algolia * Enable debugging for algolia * Delete tabs * Temporarily disable algolia * Add shortcodes for tabs * Update Dapr CLI instructions to use shortcodes * Override max_width for code blocks * Add authoring guide * Update readme with authoring guide link * Fixed spacing * Update images * Update service invocation * Update building block descriptions * Update wording * Update state management building blocks * Move example * Updated state docs * Pub/Sub Updates * Pupsub updates * CLI reference * API reference * Contributing * Binding specs * Service invocatio nupdate * Update reference page * Small actors fixes * Enable search * Fix ref * Fix small typo * Correct letter * Fix caps * Fix caps * Rename logs * fixing links in concepts section * Renaming cli/overview.md to avoid conflict with general Dapr overview file name * Update Operations * componenet setups * fixing links is Getting started section * Update references * Fix references * Fix link * partial fixes to developing applications * Adding code of conduct link to main README * Update app insights tabs * Bold headers * Update getting started guide * Update titles * Update branch name * ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com * Update azure-static-web-apps-green-hill-0d7377310.yml * Delete hugo-docs info * Update publish cli command * Update pubsub HowTo * Updating contributing section * Update README.md * Removing on needed upper case (#882) * Fix blog link in docs (#885) * Update secret query example in namespace support (#881) * change authention to authorization (#902) * Update building-blocks-concept.md (#905) Typo * Add skip upload if missing token (#913) * fix website pubsub api docs to 0.11.0 tag content (#910) Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Update install-dapr.md (#909) After installing dapr on Kubernetes total of 5 pods got provisioned. One dashboard pod entry is missing in doc. In previous docs, this request was got accepted seems it got missed again. Co-authored-by: Ori Zohar <orzohar@microsoft.com> * fixed some typo (#896) Co-authored-by: Ori Zohar <orzohar@microsoft.com> Co-authored-by: Aaron Crawfis <aacrawfi@microsoft.com> Co-authored-by: Azure Static Web Apps <opensource@microsoft.com> Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> Co-authored-by: Mark Fussell <mfussell@microsoft.com> Co-authored-by: Yaron Schneider <yaronsc@microsoft.com> Co-authored-by: Ricardo Niepel <RicardoNiepel@users.noreply.github.com> Co-authored-by: Mark Chmarny <mchmarny@users.noreply.github.com> Co-authored-by: Jayesh Sharma <37150991+wjayesh@users.noreply.github.com> Co-authored-by: Issac <margol@beamartyr.net> Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Co-authored-by: Ajay Singh <stpl.ajays@gmail.com> Co-authored-by: Harry Kimpel <harrykimpel@hotmail.com>
This commit is contained in:
parent
60d4fd5afc
commit
b314e1bd33
|
@ -29,6 +29,7 @@ jobs:
|
|||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_HILL_0D7377310 }}
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
|
||||
skip_deploy_on_missing_secrets: true
|
||||
action: "upload"
|
||||
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
|
||||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
|
||||
|
@ -48,4 +49,5 @@ jobs:
|
|||
uses: Azure/static-web-apps-deploy@v0.0.1-preview
|
||||
with:
|
||||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GREEN_HILL_0D7377310 }}
|
||||
skip_deploy_on_missing_secrets: true
|
||||
action: "close"
|
||||
|
|
|
@ -40,7 +40,7 @@ id = "UA-149338238-3"
|
|||
[[menu.main]]
|
||||
name = "Blog"
|
||||
weight = 70
|
||||
url = "https://blog.dapr.io/blog"
|
||||
url = "https://blog.dapr.io/posts"
|
||||
[[menu.main]]
|
||||
name = "Community"
|
||||
weight = 80
|
||||
|
@ -116,4 +116,4 @@ sidebar_search_disable = true
|
|||
name = "Zoom"
|
||||
url = "https://aka.ms/dapr-community-call"
|
||||
icon = "fas fa-video"
|
||||
desc = "Meetings happen here!"
|
||||
desc = "Meetings happen here!"
|
||||
|
|
|
@ -6,7 +6,7 @@ weight: 200
|
|||
description: "Modular best practices accessible over standard HTTP or gRPC APIs"
|
||||
---
|
||||
|
||||
A [building block]({{< ref building-blocks >}}) is as an HTTP or gRPC API that can be called from your code and uses one or more Dapr components.
|
||||
A [building block]({{< ref building-blocks >}}) is an HTTP or gRPC API that can be called from your code and uses one or more Dapr components.
|
||||
|
||||
Building blocks address common challenges in building resilient, microservices applications and codify best practices and patterns. Dapr consists of a set of building blocks, with extensibility to add new building blocks.
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ func GetHandler(metadata Metadata) fasthttp.RequestHandler {
|
|||
```
|
||||
|
||||
## Adding new middleware components
|
||||
Your middleware component can be contributed to the [components-contrib repository](https://github.com/dapr/components-contrib/tree/master/middleware).
|
||||
Your middleware component can be contributed to the [components-contrib repository](https://github.com/dapr/components-contrib/tree/master/middleware).
|
||||
|
||||
Then submit another pull request against the [Dapr runtime repository](https://github.com/dapr/dapr) to register the new middleware type. You'll need to modify the **Load()** method in [registry.go]( https://github.com/dapr/dapr/blob/master/pkg/components/middleware/http/registry.go) to register your middleware using the **Register** method.
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ This HTML will display the `dapr-overview.png` image on the `overview.md` page:
|
|||
<img src="/images/overview-dapr-overview.png" width=1000 alt="Overview diagram of Dapr and its building blocks">
|
||||
```
|
||||
|
||||
### Tabbed Content
|
||||
### Tabbed content
|
||||
Tabs are made possible through [Hugo shortcodes](https://gohugo.io/content-management/shortcodes/).
|
||||
|
||||
The overall format is:
|
||||
|
@ -195,7 +195,7 @@ brew install dapr/tap/dapr-cli
|
|||
|
||||
{{< /tabs >}}
|
||||
|
||||
### YouTube Videos
|
||||
### YouTube videos
|
||||
Hugo can automatically embed YouTube videos using a shortcode:
|
||||
```
|
||||
{{</* youtube [VIDEO ID] */>}}
|
||||
|
|
|
@ -238,6 +238,7 @@ Once the chart installation is complete, verify the dapr-operator, dapr-placemen
|
|||
$ kubectl get pods -n dapr-system -w
|
||||
|
||||
NAME READY STATUS RESTARTS AGE
|
||||
dapr-dashboard-7bd6cbf5bf-xglsr 1/1 Running 0 40s
|
||||
dapr-operator-7bd6cbf5bf-xglsr 1/1 Running 0 40s
|
||||
dapr-placement-7f8f76778f-6vhl2 1/1 Running 0 40s
|
||||
dapr-sidecar-injector-8555576b6f-29cqm 1/1 Running 0 40s
|
||||
|
|
|
@ -15,7 +15,7 @@ description: "Enable Dapr metrics and logs with Azure Monitor for Azure Kubernet
|
|||
|
||||
## Enable Prometheus metric scrape using config map
|
||||
|
||||
1. Make sure that omsagnets are running
|
||||
1. Make sure that omsagents are running
|
||||
|
||||
```bash
|
||||
$ kubectl get pods -n kube-system
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
type: docs
|
||||
title: "Configure API authention with OAUTH"
|
||||
title: "Configure API authorization with OAuth"
|
||||
linkTitle: "OAuth"
|
||||
weight: 2000
|
||||
description: "Enable OAUTH authorization on Dapr endpoints for your web APIs"
|
||||
|
|
|
@ -34,7 +34,7 @@ Following table lists the error codes returned by Dapr runtime:
|
|||
| ERR_PUBSUB_CLOUD_EVENTS_SER | Error serializing Pub/Sub event envelope.
|
||||
| ERR_STATE_STORE_NOT_FOUND | Error referencing a state store not found.
|
||||
| ERR_STATE_STORES_NOT_CONFIGURED | Error no state stores configured.
|
||||
| ERR_NOT_SUPPORTED_STATE_OPERATION | Error trasaction requested on a state store with no trasaction support.
|
||||
| ERR_NOT_SUPPORTED_STATE_OPERATION | Error transaction requested on a state store with no transaction support.
|
||||
| ERR_STATE_GET | Error getting a state for state store.
|
||||
| ERR_STATE_DELETE | Error deleting a state from state store.
|
||||
| ERR_STATE_SAVE | Error saving a state in state store.
|
||||
|
|
|
@ -101,3 +101,9 @@ curl http://localhost:3500/v1.0/secrets/vault/db-secret \
|
|||
```shell
|
||||
curl http://localhost:3500/v1.0/secrets/vault/db-secret?metadata.version_id=15&metadata.version_stage=AAA \
|
||||
```
|
||||
|
||||
> Note, in case of deploying into namespace other than default`, the above query will also have to include the namespace metadata (e.g. `production` below)
|
||||
|
||||
```shell
|
||||
curl http://localhost:3500/v1.0/secrets/vault/db-secret?metadata.version_id=15&?metadata.namespace=production
|
||||
```
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
type: docs
|
||||
title: "invokeGet CLI command reference"
|
||||
linkTitle: "invokeGet"
|
||||
description: "Detailed information on the invokeGet CLI command"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Issue HTTP GET to Dapr app
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
dapr invokeGet [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
|
||||
| Name | Environment Variable | Default | Description
|
||||
| --- | --- | --- | --- |
|
||||
| `--app-id`, `-a` | | | The app ID to invoke |
|
||||
| `--help`, `-h` | | | Help for invokeGet |
|
||||
| `--method`, `-m` | | | The method to invoke |
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
type: docs
|
||||
title: "invokePost CLI command reference"
|
||||
linkTitle: "invokePost"
|
||||
description: "Detailed information on the invokePost CLI command"
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Issue HTTP POST to Dapr app with an optional payload
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
dapr invokePost [flags]
|
||||
```
|
||||
|
||||
## Flags
|
||||
|
||||
| Name | Environment Variable | Default | Description
|
||||
| --- | --- | --- | --- |
|
||||
| `--app-id`, `-a` | | | The app ID to invoke |
|
||||
| `--help`, `-h` | | | Help for invokePost |
|
||||
| `--method`, `-m` | | | The method to invoke |
|
||||
| `--payload`, `-p` | | | (optional) a json payload |
|
|
@ -22,4 +22,4 @@ dapr publish [flags]
|
|||
| `--data`, `-d` | | | The JSON serialized string (optional) |
|
||||
| `--help`, `-h` | | | Print this help message |
|
||||
| `--pubsub` | | | The name of the pub/sub component
|
||||
| `--topic`, `-t` | | | The topic to be published to |
|
||||
| `--topic`, `-t` | | | The topic to be published to |
|
||||
|
|
|
@ -22,4 +22,4 @@ dapr status -k
|
|||
| Name | Environment Variable | Default | Description
|
||||
| --- | --- | --- | --- |
|
||||
| `--help`, `-h` | | | Print this help message |
|
||||
| `--kubernetes`, `-k` | | `false` | Show the health status of Dapr services on Kubernetes cluster |
|
||||
| `--kubernetes`, `-k` | | `false` | Show the health status of Dapr services on Kubernetes cluster |
|
||||
|
|
Loading…
Reference in New Issue