A React-based UI to init and run Hosted Transparent Decision Services
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.
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.
npm install -g odm-decision-forms
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: 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'.
For issues relating to the HTDS playground, please use the GitHub issue tracker. We welcome contributions following our guidelines.
The source files found in this project are licensed under the Apache License 2.0.
© Copyright IBM Corporation 2017.