diff --git a/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md b/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md index 1fa9540be..6e99d4a04 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md +++ b/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md @@ -137,7 +137,7 @@ dapr run --app-id orderprocessing --app-port 6001 --dapr-http-port 3601 --dapr-g {{% codetab %}} -### Setup an ID using Kubernetes +### Set an app-id when deploying to Kubernetes In Kubernetes, set the `dapr.io/app-id` annotation on your pod: @@ -172,17 +172,17 @@ spec: ## Step 2: Invoke the service -Dapr uses a sidecar, decentralized architecture. To invoke an application using Dapr, you can use the `invoke` API on any Dapr instance. +To invoke an application using Dapr, you can use the `invoke` API on any Dapr instance. -The sidecar programming model encourages each applications to talk to its own instance of Dapr. The Dapr instances discover and communicate with one another. +The sidecar programming model encourages each application to interact with its own instance of Dapr. The Dapr sidecars discover and communicate with one another. -Below are the example code snippets leveraging Dapr SDKs. +Below are code examples that leverage Dapr SDKs for service invocation. -{{< tabs Dotnet Java Python Go Javascript curl CLI >}} +{{< tabs Dotnet Java Python Go Javascript>}} {{% codetab %}} -```bash +```csharp //headers @@ -202,7 +202,7 @@ await client.InvokeMethodAsync(result); {{% codetab %}} -```bash +```java //headers @@ -225,7 +225,7 @@ var result = daprClient.invokeMethod( {{% /codetab %}} {{% codetab %}} -```bash +```python //headers @@ -245,11 +245,11 @@ with DaprClient() as daprClient: {{% /codetab %}} {{% codetab %}} -```bash +```go //headers import ( - dapr "github.com/dapr/go-sdk/client" + dapr "github.com/dapr/go-sdk/client" ) //code @@ -267,7 +267,7 @@ result, err := client.InvokeMethod(ctx, "checkout", "checkout/" + strconv.Itoa(o {{% /codetab %}} {{% codetab %}} -```bash +```javascript //headers @@ -282,15 +282,15 @@ const result = await client.invoker.invoke('checkout' , "checkout/" + orderId , ``` {{% /codetab %}} -{{% codetab %}} -To invoke a 'GET' endpoint: +{{< /tabs >}} +### Additional URL formats + +To invoke a 'GET' endpoint: ```bash curl http://localhost:3602/v1.0/invoke/checkout/method/checkout/100 ``` -### Additional URL formats - In order to avoid changing URL paths as much as possible, Dapr provides the following ways to call the service invocation API: @@ -314,15 +314,11 @@ or: curl 'http://dapr-app-id:checkout@localhost:3602/checkout/100' -X POST ``` -{{% /codetab %}} +Using CLI: -{{% codetab %}} ```bash dapr invoke --app-id checkout --method checkout/100 ``` -{{% /codetab %}} - -{{< /tabs >}} ### Namespaces @@ -345,4 +341,4 @@ For more information on tracing and logs see the [observability]({{< ref observa ## Related Links * [Service invocation overview]({{< ref service-invocation-overview.md >}}) -* [Service invocation API specification]({{< ref service_invocation_api.md >}}) +* [Service invocation API specification]({{< ref service_invocation_api.md >}}) \ No newline at end of file diff --git a/daprdocs/content/en/operations/support/support-release-policy.md b/daprdocs/content/en/operations/support/support-release-policy.md index 318036117..58a213ac7 100644 --- a/daprdocs/content/en/operations/support/support-release-policy.md +++ b/daprdocs/content/en/operations/support/support-release-policy.md @@ -39,14 +39,13 @@ The table below shows the versions of Dapr releases that have been tested togeth | May 26th 2021 | 1.2.0
| 1.2.0 | Java 1.1.0
Go 1.1.0
PHP 1.1.0
Python 1.1.0
.NET 1.2.0 | 0.6.0 | Unsupported | | Jun 16th 2021 | 1.2.1
| 1.2.0 | Java 1.1.0
Go 1.1.0
PHP 1.1.0
Python 1.1.0
.NET 1.2.0 | 0.6.0 | Unsupported | | Jun 16th 2021 | 1.2.2
| 1.2.0 | Java 1.1.0
Go 1.1.0
PHP 1.1.0
Python 1.1.0
.NET 1.2.0 | 0.6.0 | Unsupported | -| Jul 26th 2021 | 1.3
| 1.3.0 | Java 1.2.0
Go 1.2.0
PHP 1.1.0
Python 1.2.0
.NET 1.3.0 | 0.7.0 | Unsupported | -| Sep 14th 2021 | 1.3.1
| 1.3.0 | Java 1.2.0
Go 1.2.0
PHP 1.1.0
Python 1.2.0
.NET 1.3.0 | 0.7.0 | Unsupported | -| Sep 15th 2021 | 1.4
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.1.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported | -| Sep 22nd 2021 | 1.4.1
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.1.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported -| Sep 24th 2021 | 1.4.2
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.1.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported | -| Oct 7th 2021 | 1.4.3
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.1.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported | -| Nov 11th 2021 | 1.5.0
| 1.5.0 | Java 1.3.0
Go 1.3.0
PHP 1.1.0
Python 1.4.0
.NET 1.5.0
JS 1.0.2 | 0.9.0 | Supported (current) | - +| Jul 26th 2021 | 1.3
| 1.3.0 | Java 1.2.0
Go 1.2.0
PHP 1.1.0
Python 1.2.0
.NET 1.3.0 | 0.7.0 | Supported | +| Sep 14th 2021 | 1.3.1
| 1.3.0 | Java 1.2.0
Go 1.2.0
PHP 1.1.0
Python 1.2.0
.NET 1.3.0 | 0.7.0 | Supported | +| Sep 15th 2021 | 1.4
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.2.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported | +| Sep 22nd 2021 | 1.4.1
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.2.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported | +| Sep 24th 2021 | 1.4.2
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.2.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported | +| Oct 7th 2021 | 1.4.3
| 1.4.0 | Java 1.3.0
Go 1.2.0
PHP 1.2.0
Python 1.3.0
.NET 1.4.0 | 0.8.0 | Supported (current) | + ## Upgrade paths After the 1.0 release of the runtime there may be situations where it is necessary to explicitly upgrade through an additional release to reach the desired target. For example an upgrade from v1.0 to v1.2 may need go pass through v1.1 @@ -60,22 +59,16 @@ General guidance on upgrading can be found for [self hosted mode]({{