Giter Site home page Giter Site logo

parkito / learnmicro Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 7.7 MB

License: MIT License

Java 80.80% Kotlin 18.70% Batchfile 0.28% Shell 0.22%
microservices java kotlin docker spring-data netflix-eureka liquibase swagger memory-database service-discovery spring spring-boot t-systems

learnmicro's Introduction

Repository for microservices lecture in T-Systems java school

Lecture and practice exercises give overview of current state of enterprise distributed computing a.k.a microservices

System architecture



CONFIG_SERVER

Stack Java 8, Spring Boot 2.0, Spring cloud config server

Description Dockerized config server for accessing configs for microservices Configs are stored in https://github.com/parkito/LearnMicro repository.

Address http://localhost:9090/

Communications - Rest

SERVICE_DISCOVERY

Stack Java 8, Spring Boot 2.0, Spring cloud Netflix eureka

Description Dockerized discovery service based on Netflix eureka. It registers microservices and gets their status Configs are stored in https://github.com/parkito/LearnMicro repository.

Address http://localhost:9091/

Communications - Rest

USER_SERVICE

Stack Kotlin 1.2, Spring Boot 2.0, Spring data, H2 in memory data base, Netflix eureka client, Spring cloud config client Lombok, Liquibase, Swagger, Spring retry

Description Dockerized client application.

  1. Fetches configs form config server
  2. Contains in memory database with predefine data (migrated by Liquibase)
  3. Rest API documented by Swagger (http://localhost:2144/swagger-ui.html)
  4. Contains internal RDBS http://localhost:2144/h2, username: root, password: toor (see configs)
  5. Internal data base created working files in home directory
  6. Repository based on Spring data
  7. Domain model - represent service for user management

Address http://localhost:2144/

Communications - Rest

DOCUMENT_SERVICE

Stack Java 8, Spring Boot 2.0, Spring data, H2 in memory data base, Netflix eureka client, Spring cloud config client Lombok, Liquibase, Swagger, Spring retry

Description Dockerized client application.

  1. Fetches configs form config server
  2. Contains in memory database with predefine data (migrated by Liquibase)
  3. Rest API documented by Swagger (http://localhost:2143/swagger-ui.html)
  4. Contains internal RDBS http://localhost:2143/h2, username: root, password: toor (see configs)
  5. Internal data base created working files in home directory
  6. Repository based on Spring data
  7. Domain model - represent service for user's document maintaining

Address http://localhost:2143/

Communications - Rest

POST_SERVICE

Stack Java 8, Spring Boot 2.0, Spring data, H2 in memory data base, Netflix eureka client, Spring cloud config client Lombok, Liquibase, Swagger, Spring retry

Description Dockerized client application.

  1. Fetches configs form config server
  2. Contains in memory database with predefine data (migrated by Liquibase)
  3. Rest API documented by Swagger (http://localhost:2142/swagger-ui.html)
  4. Contains internal RDBS http://localhost:2142/h2, username: root, password: toor (see configs)
  5. Internal data base created working files in home directory
  6. Repository based on Spring data
  7. Domain model - represent post service for parcels managment

Address http://localhost:2142/

Communications - Rest

Docker compose

All application pushed on Docker hub. Docker-compose script pulls images and runs them. After script executing system is ready to be used.

Contributing

Your questions and suggestions will be welcomed by author via [email protected]

License

MIT

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.