Skip to content

Commit 0815bcf

Browse files
bibryammsfussell
andauthored
Fix for workflow mgmt api call rendering (#4652)
Signed-off-by: Bilgin Ibryam <[email protected]> Co-authored-by: Mark Fussell <[email protected]>
1 parent 61e23e0 commit 0815bcf

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ dapr invoke --app-id checkout --method checkout/100
413413
You can also append a query string or a fragment to the end of the URL and Dapr will pass it through unchanged. This means that if you need to pass some additional arguments in your service invocation that aren't part of a payload or the path, you can do so by appending a `?` to the end of the URL, followed by the key/value pairs separated by `=` signs and delimited by `&`. For example:
414414

415415
```bash
416-
curl 'http://dapr-app-id:checkout@localhost:3602/checkout/100?basket=1234&key=abc` -X POST
416+
curl 'http://dapr-app-id:checkout@localhost:3602/checkout/100?basket=1234&key=abc' -X POST
417417
```
418418

419419
### Namespaces

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ Manage your workflow using HTTP calls. The example below plugs in the properties
318318

319319
To start your workflow with an ID `12345678`, run:
320320

321-
```http
322-
POST http://localhost:3500/v1.0/workflows/dapr/OrderProcessingWorkflow/start?instanceID=12345678
321+
```shell
322+
curl -X POST "http://localhost:3500/v1.0/workflows/dapr/OrderProcessingWorkflow/start?instanceID=12345678"
323323
```
324324

325325
Note that workflow instance IDs can only contain alphanumeric characters, underscores, and dashes.
@@ -328,16 +328,16 @@ Note that workflow instance IDs can only contain alphanumeric characters, unders
328328

329329
To terminate your workflow with an ID `12345678`, run:
330330

331-
```http
332-
POST http://localhost:3500/v1.0/workflows/dapr/12345678/terminate
331+
```shell
332+
curl -X POST "http://localhost:3500/v1.0/workflows/dapr/12345678/terminate"
333333
```
334334

335335
### Raise an event
336336

337337
For workflow components that support subscribing to external events, such as the Dapr Workflow engine, you can use the following "raise event" API to deliver a named event to a specific workflow instance.
338338

339-
```http
340-
POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceID>/raiseEvent/<eventName>
339+
```shell
340+
curl -X POST "http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceID>/raiseEvent/<eventName>"
341341
```
342342

343343
> An `eventName` can be any function.
@@ -346,14 +346,14 @@ POST http://localhost:3500/v1.0/workflows/<workflowComponentName>/<instanceID>/r
346346

347347
To plan for down-time, wait for inputs, and more, you can pause and then resume a workflow. To pause a workflow with an ID `12345678` until triggered to resume, run:
348348

349-
```http
350-
POST http://localhost:3500/v1.0/workflows/dapr/12345678/pause
349+
```shell
350+
curl -X POST "http://localhost:3500/v1.0/workflows/dapr/12345678/pause"
351351
```
352352

353353
To resume a workflow with an ID `12345678`, run:
354354

355-
```http
356-
POST http://localhost:3500/v1.0/workflows/dapr/12345678/resume
355+
```shell
356+
curl -X POST "http://localhost:3500/v1.0/workflows/dapr/12345678/resume"
357357
```
358358

359359
### Purge a workflow
@@ -362,16 +362,16 @@ The purge API can be used to permanently delete workflow metadata from the under
362362

363363
Only workflow instances in the COMPLETED, FAILED, or TERMINATED state can be purged. If the workflow is in any other state, calling purge returns an error.
364364

365-
```http
366-
POST http://localhost:3500/v1.0/workflows/dapr/12345678/purge
365+
```shell
366+
curl -X POST "http://localhost:3500/v1.0/workflows/dapr/12345678/purge"
367367
```
368368

369369
### Get information about a workflow
370370

371371
To fetch workflow information (outputs and inputs) with an ID `12345678`, run:
372372

373-
```http
374-
GET http://localhost:3500/v1.0/workflows/dapr/12345678
373+
```shell
374+
curl -X GET "http://localhost:3500/v1.0/workflows/dapr/12345678"
375375
```
376376

377377
Learn more about these HTTP calls in the [workflow API reference guide]({{< ref workflow_api.md >}}).

daprdocs/content/en/developing-applications/local-development/multi-app-dapr-run/multi-app-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ The properties for the Multi-App Run template align with the `dapr run -k` CLI f
305305
| `appMaxConcurrency` | N | The concurrency level of the application; default is unlimited | |
306306
| `placementHostAddress` | N | Comma separated list of addresses for Dapr placement servers | `127.0.0.1:50057,127.0.0.1:50058` |
307307
| `schedulerHostAddress` | N | Dapr Scheduler Service host address | `127.0.0.1:50006` |
308-
| `appSSL` | N | Enable https when Dapr invokes the application | |
308+
| `appSSL` | N | Enable HTTPS when Dapr invokes the application | |
309309
| `maxBodySize` | N | Max size of the request body in MB. Set the value using size units (e.g., `16Mi` for 16MB). The default is `4Mi` | `16Mi` |
310310
| `readBufferSize` | N | Max size of the HTTP read buffer in KB. This also limits the maximum size of HTTP headers. Set the value using size units, for example `32Ki` will support headers up to 32KB . Default is `4Ki` for 4KB | `32Ki` |
311311
| `enableAppHealthCheck` | N | Enable the app health check on the application | `true`, `false` |

daprdocs/content/en/operations/hosting/kubernetes/kubernetes-dapr-shared.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ No matter which deployment approach you choose, it is important to understand th
3636
{{% /alert %}}
3737

3838

39-
### `DeamonSet`(Per-node)
39+
### `DaemonSet`(Per-node)
4040

4141
With Kubernetes `DaemonSet`, you can define applications that need to be deployed once per node in the cluster. This enables applications that are running on the same node to communicate with local Dapr APIs, no matter where the Kubernetes `Scheduler` schedules your workload.
4242

0 commit comments

Comments
 (0)