Coder Social home page Coder Social logo

rafabc / microservices-maven-archetypes Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 7.0 1.07 MB

Collection of maven microservices archetype to simplify its creation

License: Apache License 2.0

Java 46.44% JavaScript 19.12% Shell 33.78% Dockerfile 0.62% Procfile 0.03%
microservices archetype architecture zipkin maven-archetype microservice microservices-architecture nodejs node-js

microservices-maven-archetypes's Introduction

Build Status Codacy Badge

microservices-maven-archetypes

Summary

Catalog of maven archetypes to develop microservices simplifying their creation and preconfigured to integrate directly with the tools Zuul, Eureka, Spring Boot Admin, Swagger, Zipkin and Spring Cloud Config.

Prerequisites

  • JDK 8
  • Maven 3

Ecosystem result

Alt text

General installation instructions

Two installation ways:

Local

  1. Clone repository
git clone https://github.com/rafabc/microservices-maven-archetypes.git

After clone this project contain a shell script "mvn-install-archetypes.sh" that run all the nexts steps, but its posible run it manually if you want one by one:

  1. In console go to each archetype path
cd microservices-maven-archetypes/[archetype-path]
  1. run next mvn install for each archetype
mvn install 	#for each archetype
  1. After install all archetypes update the catalog
mvn install archetype:update-local-catalog
mvn archetype:crawl

Hosted

  1. Clone repository
git clone https://github.com/rafabc/microservices-maven-archetypes.git
  1. Install the archetypes in your maven repository
  2. This repository provide a catalog file, with it you can update your hosted catalog and then use it where you want.

Instructions for creating projects

Automation

If all archetypes are installed, its posible use mvn-create-projects.sh to create fast all environmet projects whit default value parameters and test it.

After the projects are ready its posible execute the script "run-projects.sh" that launch each project.

microservices-maven-archetypes's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar rafabc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

microservices-maven-archetypes's Issues

CORS problem in Swagger Catalog

CORS
CORS is blocking access to swagger catalog services.

To Reproduce
Steps to reproduce the behavior:

  1. Install all archetypes
  2. Create projects
  3. Run projects
  4. Try access to Swagger Catalog

Expected behavior
The correct result must be the Swagger web showing all servcies.

Spring boot admin can't kill node microservice

Spring boot admin cant kill node microservices
When try kill a node microservice from Spring Boot Admin only unregistered from Eureka, but the service still continue alive, so itshelf autoregister again int Eureka.

To Reproduce
Steps to reproduce the behavior:

  1. Run config server, eureka, spring boot admin and node microservice
  2. From spring boot admin try kill node microservice
  3. After a few second apear registered again

Expected behavior
Its posible a spring boot admin personalization to kill the node microservice.

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.