Socket
Book a DemoInstallSign in
Socket

@daedalus/wso2

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@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.

0.0.20
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

Keywords

wso2

FAQs

Package last updated on 10 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.