Modeling Guide for SAP Data Hub

Use Cases for the Node.js Subengine

There are two main use cases for the Node.js subengine:
  • SAP Data Hub

    Modeler

    Using the SAP Data Hub Modeler is the easiest way to quickly change or add functionality of pipelines. You can simply add a Node.js Script operator to existing pipelines or modify the JavaScript code of already used Node.js script operators.

  • Use a dedicated local Node.js project to develop your Node.js operator

    This is the most flexible method. It allows to use your own tools and frameworks and code Node.js operators like any other Node.js program.

    Among other advantages, you can:
    • Re-use own JavaScript libraries you already created

    • Use your own required set of third-party node-modules
    • Leverage test driven development
    • Use other languages that compiles to JavaScript, e.g. TypeScript

The Node.js subengine consists of two major building blocks: the Node.js subengine core and the Node.js Subengine SDK. While you probably never work directly with the core engine, you will work with the Node.js Subengine SDK to develop your operators.