0.0.20 • Published 7 years ago
@daedalus/wso2 v0.0.20
WSO2 Services Wrapper
This package provides access to the WSO2 platform via the various exposed apis.
What is this repository for?
- This repository provides quick access to WSO2 services
- Version 0.0.20
- https://docs.wso2.com/display/EI611/BPMN+REST+API
- https://www.activiti.org/userguide/index.html#_rest_api
How do I get set up?
- npm insall --save @daedalus/wso2
- create a reference to the resource you want (using BPS as an example)
const bps = require("@daedalus/wso2").bps;
- create a reference to the methods you want to use
const Task = bps.methods.Task;
- each method is expecting a data object with the following structure
let data = {
server: {
url: "https://<HOSTNAME>:<PORT>/"
},
auth: {
username: "admin",
password: "admin"
}
};
- make a call to the methods you wish to use
let taskId = "106";
let data = <As Example Above>;
Task.variables(taskId, data, (err, res) => {
if(err) console.log(err);
else console.log(res);
});
- Please see the wiki for all the specific structures for the different methods
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago