KieServerAdapter 1.0.5

dotnet add package KieServerAdapter --version 1.0.5
NuGet\Install-Package KieServerAdapter -Version 1.0.5
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="KieServerAdapter" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KieServerAdapter --version 1.0.5
#r "nuget: KieServerAdapter, 1.0.5"
#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 KieServerAdapter as a Cake Addin
#addin nuget:?package=KieServerAdapter&version=1.0.5

// Install KieServerAdapter as a Cake Tool
#tool nuget:?package=KieServerAdapter&version=1.0.5

KieServerAdapter is a restful client for Drools KieServer. You can easily call rules with your .Net project. These are the covered functions.

Drools also open source but it is in Java Stack and Kie Server is talented execution server and has restful feautures please see the full documantation in https://docs.jboss.org/drools/release/latest/drools-docs/html_single/#_kie.ksrestapi

Installation

Install just call this line from your package manager console or see the instractions from https://www.nuget.org/packages/KieServerAdapter/

PM> Install-Package KieServerAdapter

Docker

You can find the Docker images and how to use them for last final version at

For more info about the Drools Docker images see this blog post.

Quick Start

//Your insert object with .Net class
var insertObject = new Human { Sex = "E", Age = 63, FullName = "Recep Tayyip Erdoğan", Country = "TR"};

//Initialize your excecuter
var executer = new KieExecuter { HostUrl = "http://localhost:8082", AuthUserName = "kieserver", AuthPassword = "kieserver1!" };

//Insert object to KieServer session
executer.Insert(insertObject, "com.project.Human");

//executer.StartProcess("project.Flow_Human");

//Fire
executer.FireAllRules();

//This your response
var response = await executer.ExecuteAsync("container");

// If your response has an single result, see the magic in SmartSingleResponse property.
//var response = await executer.ExecuteAsync<Human>("container");

Please see the KieServerAdapter.Test project for more detailed examples.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.5 6,750 12/5/2017
1.0.4 991 12/5/2017
1.0.3 1,038 7/5/2017
1.0.2 939 6/2/2017
1.0.1 910 5/26/2017
1.0.0 1,006 5/25/2017

Added fire-all-rules command