Sign inSign up

inrule/decision-services

By inrule

Updated about 1 month ago

InRule Decision Services — industry-leading platform for scalable, secure decision automation.

Image
0

109

inrule/decision-services repository overview

InRule Decision Services

InRule Decision Services provide a secure, discoverable set of APIs for executing your decisions and rules. This container exposes both the modern Decision API and the legacy backward-compatible Rule Execution API.

Note: This image can be deployed as a self-hosted Docker container locally or in Azure/AWS cloud platforms. The following instructions detail the steps for installing locally via Docker Desktop. For cloud-based deployment, please contact InRule Customer Support for assistance.

What You Need

  • An InRuleLicense.txt file (provided by InRule Support)
  • Primary and secondary API Keys (can be any generated secret or GUID that you wish to use for runtime API authentication)
  • Catalog Service URI and credentials

Note: The Catalog Service and Catalog Manager containers should be deployed before Decision Services. This will allow you to obtain the Catalog Service URI and set up a system user in the Catalog Manager to use for Decision Services configuration.

Before starting, make sure you have:

  • Docker installed and running
  • A reachable InRule Catalog Service endpoint

Required Configuration

The container requires these environment variables:

  • inrule__license
  • inrule__runtime__service__catalog__catalogserviceuri
  • inrule__runtime__service__catalog__userName
  • inrule__runtime__service__catalog__password
  • inrule__runtime__service__apiKey__primaryKey
  • inrule__runtime__service__apiKey__secondaryKey

Note: Since custom parameters are required, the initial running of the container must be done via Bash or PowerShell.

Optional Configuration

This service supports the following additional settings:

Note: These settings will need to be provided in the cross-platform __ formatted equivalent of the documented settings.

License Requirement

Set the inrule__license environment variable to the contents of your InRuleLicense.txt file (provided by InRule Support).

Run the Container

Bash Example
docker run -d \
  --name inrule-decision-service \
  -p 8080:8080 \
  -e inrule__license="your-inrulelicense.txt-contents" \
  -e inrule__runtime__service__catalog__catalogserviceuri="https://your-catalog-server/Service.svc/core" \
  -e inrule__runtime__service__catalog__userName="your-username" \
  -e inrule__runtime__service__catalog__password="your-password" \
  -e inrule__runtime__service__apiKey__primaryKey="your-primary-api-key" \
  -e inrule__runtime__service__apiKey__secondaryKey="your-secondary-api-key" \
  inrule/decision-services:latest

Note: The above multi-line command can also be run using Windows PowerShell ISE by substituting the \ end-of-line delimiter with a backtick.

Verify the Container Started

Expected result: HTTP 200 OK

Liveness Check

This endpoint provides a basic process and InRule license check:

http://localhost:8080/api/status/liveness

Example:

curl http://localhost:8080/api/status/liveness

Expected result: HTTP 200 OK

Swagger UI

Use Swagger to confirm the Decision API is reachable:

http://localhost:8080/api/swagger/index.html?inrule-apikey=your-primary-api-key

The legacy RES-compatible Swagger UI is also available at:

http://localhost:8080/res_api/swagger/index.html?inrule-apikey=your-primary-api-key

Documentation

Tag summary

Content type

Image

Digest

sha256:6d7b4208c

Size

71 MB

Last updated

about 1 month ago

docker pull inrule/decision-services:v20260813.3