Skip to content

springdo/WorklightAdapterTestHarness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Worklight Adapter Test Harness

This Node.JS module provides a method to invoke Worklight adapters from a node script

When used in conjunction with Mocha and Chai this module provides a promise based framework for invoking Worklight adapters. Requests can be chained together and Authenticated Adapters can be invoked using this chaining.

To configure the worklight server endpoint change the variables in invoke.js:

var protocol = "http";
var domain = "localhost";
var port = "9080";
var context = "/worklight";

^ These are the defaults

or use npm config to define the variables (note: this feature is not working at the moment - see issue #2):

npm config set worklight_adapter:protocol=http
npm config set worklight_adapter:port=10080
npm config set worklight_adapter:domain=localhost
npm config set worklight_adapter:contextRoot=/worklightserver


Example Usage - come back later.....

(For sample use see the tests directory)

About

Node.js module for invoking IBM Worklight Adapters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published