mirror of https://github.com/dapr/dotnet-sdk.git
Merge pull request #83 from dapr/release-0.6
Merge release-0.6 to master
This commit is contained in:
commit
93d2da8c6c
|
|
@ -389,7 +389,7 @@ In order to validate and debug actor service and client, we need to run actor se
|
|||
|
||||
MyActorClient will console out if it calls actor hosted in MyActorService successfully.
|
||||
|
||||
> If you specify the different dapr runtime http port (default port: 3500), you need to set DAPR_PORT environment variable before running the client.
|
||||
> If you specify the different dapr runtime http port (default port: 3500), you need to set DAPR_HTTP_PORT environment variable before running the client.
|
||||
|
||||
```bash
|
||||
Success
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<NupkgMajorVersion>0</NupkgMajorVersion>
|
||||
<NupkgMinorVersion>6</NupkgMinorVersion>
|
||||
<NupkgPatchVersion>0</NupkgPatchVersion>
|
||||
<NupkgPreviewTag>-preview01</NupkgPreviewTag>
|
||||
<NupkgPreviewTag>-preview02</NupkgPreviewTag>
|
||||
<NupkgVersion>$(NupkgMajorVersion).$(NupkgMinorVersion).$(NupkgPatchVersion)$(NupkgPreviewTag)</NupkgVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Microsoft.Dapr.Actors
|
|||
public const string RequestIdHeaderName = "X-DaprRequestId";
|
||||
public const string RequestHeaderName = "X-DaprRequestHeader";
|
||||
public const string ErrorResponseHeaderName = "X-DaprErrorResponseHeader";
|
||||
public const string DaprPortEnvironmentVariable = "DAPR_PORT";
|
||||
public const string DaprHttpPortEnvironmentVariable = "DAPR_HTTP_PORT";
|
||||
public const string Dapr = "dapr";
|
||||
public const string Config = "config";
|
||||
public const string State = "state";
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ namespace Microsoft.Dapr.Actors
|
|||
params DelegatingHandler[] delegateHandlers)
|
||||
{
|
||||
// Get Dapr port from Environment Variable if it has been overridden.
|
||||
var daprPort = Environment.GetEnvironmentVariable(Constants.DaprPortEnvironmentVariable);
|
||||
var daprPort = Environment.GetEnvironmentVariable(Constants.DaprHttpPortEnvironmentVariable);
|
||||
if (daprPort != null)
|
||||
{
|
||||
this.daprPort = daprPort;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@ namespace Microsoft.Dapr
|
|||
{
|
||||
public const string StatePath = "/v1.0/state";
|
||||
|
||||
public static string DefaultPort => Environment.GetEnvironmentVariable("DAPR_PORT") ?? "3500";
|
||||
public static string DefaultPort => Environment.GetEnvironmentVariable("DAPR_HTTP_PORT") ?? "3500";
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue