imicros-feel
v0.0.3
Published
DMN FEEL service for imicros-backend
Downloads
1
Readme
imicros-feel
Moleculer service for feel and DMN evaluation
Installation
$ npm install imicros-feel
Dependencies / Requirements
Requires broker middleware AclMiddleware (or similar) and a running acl service:
Requires a runnning minio service
Usage
const { ServiceBroker } = require("moleculer");
const { Feel } = require("imicros-feel");
broker = new ServiceBroker({
logger: console
// middlewares: [AclMiddleware({service: "acl"})]
});
broker.createService(Feel, Object.assign({
settings: {
services: {
store: "v1.minio"
}
}
}));
broker.start();
Actions
- evalute { expression, context } => any
- convert { xml } => { result(true|false), error?, expression }
- check { expression } => { result(true|false), error? }
- clearFromCache { objectName } => { done }