2.1.2 • Published 4 years ago
workflow-es-mongodb v2.1.2
MongoDB Persistence provider for Workflow ES
Provides support to persist workflows running on Workflow ES to a MongoDB database.
Installing
Install the npm package "workflow-es-mongodb"
> npm install workflow-es-mongodb --save
Usage
Use the .usePersistence() method when setting up your workflow host.
const workflow_es = require("workflow-es");
const workflow_mongo = require("workflow-es-mongodb");
...
var config = workflow_es.configureWorkflow();
let mongoPersistence = new workflow_mongo.MongoDBPersistence("mongodb://127.0.0.1:27017/workflow-node");
await mongoPersistence.connect;
config.usePersistence(mongoPersistence);
var host = config.getHost();
...
await host.start();
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
6 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.0-beta.7
7 years ago
1.0.0-beta.6
7 years ago
1.0.0-beta.5
7 years ago
1.0.0-beta.4
7 years ago
1.0.0-beta.1
7 years ago