Git Product home page Git Product logo

resilient-transport-service's Introduction

Codeship Status for MrBW/resilient-transport-service

resilient-transport-service

Resilient demo application - Transport Service

Architecture: alt text

Flow: alt text

Slides from my talk @ JavaLand 2017 can be found at speakerdeck.com (German): https://speakerdeck.com/mrbw/hysterie-in-verteilten-systemen-hystrix-im-einsatz

How to run

Requirements

You have to install and run Docker for Mac or Windows on your system. By running mvn package, spotify maven plugin will create all Docker containers.

Docker for Mac: https://docs.docker.com/docker-for-mac/install/

Docker for Windows: https://docs.docker.com/docker-for-windows/install/

Steps

  • mvn clean package
  • docker-compose up etcd
  • run etcd-init.sh script from bash
  • docker-compose stop
  • docker-compose up

Demo

If docker-compose has started all requiered containers, you can send a valid booking request to our transport-api-gateway.

Booking request

Try to send a booking request, you will find a sample nodes.js script under: https://github.com/MrBW/resilient-transport-service/blob/master/scripts/booking-create.js

alt text

Chaos Monkey activation

A running and working system is boring, no failures or exceptions...we should activate our Chaos Monkey and get in some trouble.

alt text

...more details are coming...

resilient-transport-service's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

resilient-transport-service's Issues

Compilation error

Hi @benjamin,

While trying to mvn clean package I get the dependency issue. Looks like maven central doesnt have the artifact de.mrbw.chaos.monkey:spring-aop-chaos-monkey.

[ERROR] 'dependencies.dependency.version' for de.mrbw.chaos.monkey:spring-aop-chaos-monkey:jar is missing. @ com.codecentric.de.resilient:

Is this the equivalent?

<!-- https://mvnrepository.com/artifact/de.codecentric/chaos-monkey-spring-boot -->
<dependency>
    <groupId>de.codecentric</groupId>
    <artifactId>chaos-monkey-spring-boot</artifactId>
    <version>1.0.1</version>
</dependency>

I have assumed the dependency was moved and tried replacing the references in

	modified:   address-service/pom.xml
	modified:   booking-service/pom.xml
	modified:   connote-service/pom.xml
	modified:   customer-service/pom.xml
	modified:   pom.xml

but the package references for @EnableChaosMonkey are not traceable.
Is the annotation removed?

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.