Coder Social home page Coder Social logo

refarch-kc-reefer-ms's Introduction

Reefer management microservice

A simple reefer manager for the reference implemenation of IBM Event-driven architecture. This implementation is based on quarkus, reactive messaging and support the SAGA choerography demonstration, but potentially demonstrate RESTful apis to support SAGA with stateful process server.

Read more about the detail implementation on this site

Running the application in dev mode

Start the docker compose (docker-compose-dev.yaml) from the project: eda-saga-choreography

You can run your application in dev mode that enables live coding using:

./mvnw compile quarkus:dev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/. As Kafka is used for reactive messaging middleware, Quarkus dev starts RedPanda as Kafka Broker.

Packaging

./scripts/buildAll.sh

Event driven choerography

Exposing REST operations for external orchestration

To avoid duplicating the same code in different solution, this application includes 2 methods to support a SAGA managed by an external orchestrator like Red Hat PAM or IBM BPM.

The operations are processOrder and compensateOrder in the ReeferResource class. The class it.TestReeferResource presents the saga using the REST end points

refarch-kc-reefer-ms's People

Contributors

jbcodeforce avatar

Stargazers

 avatar Sila Kissuu avatar

Watchers

 avatar  avatar

Forkers

jbcodeforce

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.