odm-decision-forms

0.3.3 • Public • Published

ODM Decision Forms

Build Apache 2.0 Node.js version

A React-based UI to init and run Hosted Transparent Decision Services

Prerequisites

This package works on top of IBM Operational Decision Manager. It has been tested with ODM 8.9.0.
It is also aimed at working with IBM ODM on Cloud as well as IBM Business Rules for Bluemix.

Decision Server must be up and running when running the package.

Features

This package offers a simple web-based UI serving a form representing the input data of a given Decision Service stored in ODM Decision Server Rules. This allows anyone to easily test a Decision Service, without having to write a JSON payload manually. From this UI, you can trigger the rule service and get a human-readable representation of the output data returned by the service.

Screenshots

Install

npm install -g odm-decision-forms

Quick Start

Assuming ODM Decision Server is running at http://localhost:9080, you can run the decision form (express) server as follows:

odm-decision-forms

Keeping the server running, open your browser at:

[http://localhost:3000](http://localhost:3000)

This displays the list of generated forms for each ruleset stored in ODM Decision Server:

Click on one of the versions listed will open the generated form for the corresponding decision service version.

Usage

Usage: odm-decision-forms {OPTIONS} {CONFIG}

OPTIONS:

    --env           One of development, production.

    --port          Express server port. Default is 3000.

CONFIG:

    --decisionservice   Url of the Decision Service Runtime. Default is http://localhost:9080/DecisionService

    --console           Url of the RES console. Default is http://localhost:9080/res

    --username          Username to execute the Decision Service. Default is 'resAdmin'.

    --password          User password. Default is 'resAdmin'.

Issues and contributions

For issues relating to the HTDS playground, please use the GitHub issue tracker. We welcome contributions following our guidelines.

License

The source files found in this project are licensed under the Apache License 2.0.

Notice

© Copyright IBM Corporation 2017.

Package Sidebar

Install

npm i odm-decision-forms

Weekly Downloads

2

Version

0.3.3

License

Apache-2.0

Unpacked Size

3.62 MB

Total Files

31

Last publish

Collaborators

  • amelki
  • sdehors-ibm