Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 1.0.1
Page properties
hiddentrue
Name of the Modulee2e-bridge-lib
Short DescriptionNode.js library allowing interaction with the E2E Bridge
Description
Multiexcerpt
MultiExcerptNamedescription

This Node.js modul allows to interact with the

E2E

Bridge. The

E2E

Bridge lib can be used to

  • deploy, remove, start and stop xUML, Node.js and Java Services,
  • set the preferences of xUML, Node.js and Java Services,
  • kill xUML Services
  • pack Node.js Services
NPM Linke2e-bridge-lib@NPM
GitHub Linke2e-bridge-lib@GitHub
Div
Classe2e-refDiv
Rp

...

Multiexcerpt include
MultiExcerptNamedescription
nopaneltrue
PageWithExcerptNode.js Interface to the E2E Bridge

Simply add a dependency to e2e-bridge-lib in your package.json file or install it using:

...

You can find more a more detailed documentation of the package on the GitHub or NPM pages.

Usage Example

Code Block
languagejs
var E2EBridge = require('e2e-bridge-lib');
var bridgeInstance = new E2EBridge('localhost', 8080, 'admin', 'admin');

bridgeInstance.startXUMLService('PurchaseOrderExample', function(error){
    if(error) {
        console.error('Error occured: ' + error.errorType);
    } else {
        console.log('Startup done.');
    }
});