Skip to content

A framework to startup an application using netflex eureka server.

License

Notifications You must be signed in to change notification settings

shnaveen25/spring-boot-eureka-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Eureka Server

Read more about Eureka

Local Setup.

core-service : Project has common classes used in other micro services. (Note : Do not edit existing files.)

./gradlew clean jar publishToMavenLocal

This will build the core-service project and make it available in a local maven repository which will be used by other micro-service project.

core-service:core-service:1.0.0 will be added in build.gradel file of other micro-service projects.

Import Following Gradel Projects in IDE.

  • mv-discover-server (Eureka Server)
  • mv-model-v1 (Eureka Client-1)
  • mv-model-v2 (Eureka Client-2)

The Gradle Tasks view shows the available Gradle tasks for your projects. Via the context menu you can run a selected Gradle task. Then open http://localhost:8761/

Swagger URL

  1. mv-model-v1 http://localhost:8082/swagger-ui.html
  2. mv-model-v2 http://localhost:8083/swagger-ui.html

Build

 ./gradlew bootjar -Penv=${ENV}
 
 java -jar mv-model-v1.jar

Releases

No releases published

Packages

No packages published

Languages