@daedalus/wso2

This is a set of tools to help connect and manage interactions with various WSO2 products. Please see README.MD for more details.

Stats

StarsIssuesVersionUpdatedCreatedSize
@daedalus/wso2
0.0.203 years ago4 years agoMinified + gzip package size for @daedalus/wso2 in KB

Readme

WSO2 Services Wrapper

This package provides access to the WSO2 platform via the various exposed apis.

What is this repository for?

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.