GithubHelp home page GithubHelp logo

hartl3y94 / springcloud-msa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bharathmit/springcloud-msa

0.0 0.0 0.0 200 KB

Micro Service Architecture with Spring Boot with Spring Cloud

Home Page: https://jsoftgroup.wordpress.com

Java 100.00%

springcloud-msa's Introduction

SpringCloud-MSA

FOSSA Status

Micro Service Architecture with Spring Boot and Spring Cloud

This is a proof-of-concept application, which demonstrates Microservice Architecture Pattern using Spring Boot, Spring Cloud and Docker. With a pretty neat user interface, by the way.

Build a Docker Image with Maven Plugin: (It will push automatically into the local docker image)

mvn install dockerfile:build

Run The Docker Image :

Create the Network C2C call : docker network create spring-microservice-network

1 running docker image for Eureka Registry

docker run -d --network spring-microservice-network --name registry -p 8761:8761 bharathsimbu/registry

2 running docker image for Config Server

docker run -d --network spring-microservice-network --name config -p 8099:8099 bharathsimbu/config

3 running docker image for API Gateway

docker run -d --network spring-microservice-network --name gateway -p 8040:8040 bharathsimbu/gateway

4 running docker image for Product Service

docker run -d --network spring-microservice-network --name product --link gateway -p 8010:8010 bharathsimbu/product

5 running docker image for inventory Service

docker run -d --network spring-microservice-network --name inventory -p 8020:8020 bharathsimbu/inventory

6 running docker image for review Service

docker run -d --network spring-microservice-network --name review -p 8030:8030 bharathsimbu/review

docker ps -a

docker rmi bharathsimbu/product

docker-compose up -d

docker-compose down

SCALE

docker-compose up --scale product=2 product

Remove all unused volume

docker volume prune

Changing the Logging Level at the Runtime for a Spring Boot Application

access our log API: http://localhost:8010/actuator/loggers

To change the logging level, we can issue a POST request to the /loggers endpoint.

POST request http://localhost:8080/actuator/loggers/com.jsoftgroup {"configuredLevel":"TRACE","effectiveLevel":"TRACE"}

ELF

https://cassiomolin.com/2019/06/30/log-aggregation-with-spring-boot-elastic-stack-and-docker/

Monitor

https://datamify.com/spring/spring-boot-monitoring-actuator-prometheus-grafana/

License

FOSSA Status

springcloud-msa's People

Contributors

bharathmit avatar fossabot avatar

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.