Flowable.Sdk
6.7.2
This package has a SemVer 2.0.0 package version: 6.7.2+build.3.
dotnet add package Flowable.Sdk --version 6.7.2
NuGet\Install-Package Flowable.Sdk -Version 6.7.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Flowable.Sdk" Version="6.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Flowable.Sdk --version 6.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Flowable.Sdk, 6.7.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Flowable.Sdk as a Cake Addin #addin nuget:?package=Flowable.Sdk&version=6.7.2 // Install Flowable.Sdk as a Cake Tool #tool nuget:?package=Flowable.Sdk&version=6.7.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
flowable-sdk-dotnet
Flowable HTTP SDK Client for .NET
Registration in Dependency Injection (DI)
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddFlowableHttpClients(
this IServiceCollection services, IConfiguration configuration)
{
var httpClientOptions = configuration
.GetSection(FlowableHttpClientOptions.FlowableClientSection)
.Get<FlowableHttpClientOptions>();
services.AddOptions<FlowableHttpClientOptions>().Bind(configuration);
services.AddHttpClient<IFlowableProcessHttpClient, FlowableProcessHttpClient>(options =>
{
options.BaseAddress = new Uri(httpClientOptions.BaseUrlProcessApi);
});
services.AddHttpClient<IFlowableCaseHttpClient, FlowableCaseHttpClient>(options =>
{
options.BaseAddress = new Uri(httpClientOptions.BaseUrlCmmnApi);
});
return services;
}
public static IServiceCollection AddFlowableExternalWorkerHttpClient(
this IServiceCollection services, IConfiguration configuration)
{
var httpClientOptions = configuration
.GetSection(FlowableHttpClientOptions.FlowableClientSection)
.Get<FlowableHttpClientOptions>();
services.AddOptions<FlowableHttpClientOptions>().Bind(configuration);
services.AddHttpClient<IFlowableExternalWorkerHttpClient, FlowableExternalWorkerHttpClient>(
options =>
{
options.BaseAddress = new Uri(httpClientOptions.BaseUrlExternalWorker);
}).AddPolicyHandler(GetCircuitBreakerPolicy());
static IAsyncPolicy<HttpResponseMessage> GetCircuitBreakerPolicy() =>
HttpPolicyExtensions
.HandleTransientHttpError()
.Or<HttpRequestException>()
.CircuitBreakerAsync(5, TimeSpan.FromSeconds(60));
return services;
}
}
public class FlowableHttpClientOptions
{
public const string FlowableClientSection = "FlowableHttpClientOptions";
public string BaseUrlExternalWorker { get; set; }
public string BaseUrlCmmnApi { get; set; }
public string BaseUrlProcessApi { get; set; }
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Newtonsoft.Json (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.7.2 | 1,760 | 3/24/2022 |