2.1.2 • Published 6 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
6 years ago
2.1.1
6 years ago
2.1.0
7 years ago
2.0.2
8 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.0-beta.7
8 years ago
1.0.0-beta.6
9 years ago
1.0.0-beta.5
9 years ago
1.0.0-beta.4
9 years ago
1.0.0-beta.1
9 years ago