Giter VIP home page Giter VIP logo

event-mesh-client-nodejs-samples's Introduction

Messaging Client Node.js - Samples for SAP Event Mesh

REUSE status

Note

The SAP Cloud Platform Enterprise Messaging service has been renamed to SAP Event Mesh - find more information in this blog article

Description

SAP Event Mesh provides a cloud-based messaging framework for the development of decoupled and resilient services and integration flows (using SAP Cloud Integration) to support asynchronous communication principles. Direct integration with SAP S/4HANA Business Event Handling allows efficient development of innovative and scaling extensions.

This repository provides documentation and samples of how to use the Messaging Client (Node.js) for messaging via SAP Event Mesh in the Cloud Foundry environment. Details on each sample application and the covered scenario are described in the table List of content and sample projects below.

For more details of SAP Event Mesh take a look at the Event Mesh - Messaging Clients landing page and SAP Event Mesh on SAP Help portal.

This repository provides samples of how to use the Messaging Client (Node.js) for messaging via SAP Event Mesh in the Cloud Foundry environment.

List of content and sample projects

Sample/Content Scenario Scenario Description
xb-msg-amqp-v100-doc Node.js Messaging Client documentation (includes basic sample) Documentation and related samples which shows hot this library provides a messaging client as well as classes to realize a server for AMQP 1.0
xb-msg-amqp-v100-samples Basic Messaging Sample which runs locally This sample demonstrates how each application (plain Node.js, non SAP BTP) can use the Event Mesh Client to send and receive messages via SAP Event Mesh. Therefore the messaging sample consists of a consumer.js and a producer.js which provides the corresponding functionality for send/receive (and the config/cf-sample-config.js to configure the sample)
event-simulator Event Simulator for SAP BTP deployment The Event Simulator application demonstrates a scenario where events are emitted and send as messages via SAP Event Mesh which were consumed and further processed (i.e. logged via console). Therefore the messaging sample consists of a main.js which provides the corresponding functionality and start the simulation (and a config.js to configure the sample)

Requirements

To run the samples a running Event Mesh Service @SAP BTP is required.
Further necessary configuration and settings are dependent on the specific sample and are documented there.

Download and Installation

To download and install the samples just clone this repository via git clone

For details on how to configure and run the samples please take a look into the README in the corresponding samples directory.

Support

This project is 'as-is' with no support, no changes being made.
You are welcome to make changes to improve it but we are not available for questions or support of any kind.

License

Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved.
This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

event-mesh-client-nodejs-samples's People

Contributors

ajinkyapatil8190 avatar btbernard avatar linastehle avatar mibo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

event-mesh-client-nodejs-samples's Issues

NPM Error: @sap/xb-msg-amqp-v100 not found (^0.3.5)

Hello,
I've tried to compile the provided Node.js examples but I've run into a problem when I tried to install the package dependencies using npm install:

npm ERR! 404 Not Found: @sap/xb-msg-amqp-v100@^0.3.5

I am not sure if I made something wrong, but it seems that the available version from @sap/xb-msg-amqp-v100 in https://npm.sap.com doesn't satisfy the required dependencies:

PS C:\Users\XXXXX\Documents\SAP\SAP Enterprise Messaging\client-nodejs-samples\xb-msg-amqp-v100-samples> npm search --registry https://npm.sap.com amqp
npm ERR! registry error parsing json
npm WARN search fast search endpoint errored. Using old search.
NAME | DESCRIPTION | AUTHOR | DATE | VERSION | KEYWORDS
@sap/xb-msg-amqp-v091 | XB Messaging AMQP… | =https-support… | 2018-05-02 | 0.2.0 |
@sap/xb-msg-amqp-v100 | XB Messaging AMQP… | =https-support… | 2018-05-02 | 0.1.0 |

Best regards,
Éder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.