HTDS Playground
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.
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.
Quick Start
Run the server
odm-htds-playground
Then open your browser at:
http://localhost:3000/<rulesetpath>
Where <rulesetpath> represents the Decisison Service to invoke. Eg: MyRuleApp/1.0/MyRuleset/2.0
Install
npm install -g odm-htds-playground
Usage
Usage: odm-htds-playground {OPTIONS} {CONFIG}
OPTIONS:
--env One of development, production.
--port Express server port. Default is 3000.
CONFIG:
--url Url of the Decision Service Runtime. Default is http://localhost:9080/DecisionService
--username Username to execute the Decision Service. Default is 'resAdmin'.
--password Username's 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.