https://github.com/shnaveen25/spring-boot-eureka-seed
A framework to startup an application using netflex eureka server.
https://github.com/shnaveen25/spring-boot-eureka-seed
eureka eureka-client eureka-server gradle java microservice spring-boot swagger swagger-ui
Last synced: 7 months ago
JSON representation
A framework to startup an application using netflex eureka server.
- Host: GitHub
- URL: https://github.com/shnaveen25/spring-boot-eureka-seed
- Owner: shnaveen25
- License: mit
- Created: 2019-12-31T06:08:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T11:53:44.000Z (almost 6 years ago)
- Last Synced: 2023-09-03T15:45:06.323Z (about 2 years ago)
- Topics: eureka, eureka-client, eureka-server, gradle, java, microservice, spring-boot, swagger, swagger-ui
- Language: Java
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## **Spring Boot Eureka Server**
Read more about [Eureka](https://github.com/Netflix/eureka/wiki/Eureka-at-a-glance)
## Local Setup.
**[core-service](https://github.com/shnaveen25/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/](http://localhost:8761/)
Swagger URL
1. mv-model-v1 [http://localhost:8082/swagger-ui.html](http://localhost:8082/swagger-ui.html)
2. mv-model-v2 [http://localhost:8083/swagger-ui.html](http://localhost:8083/swagger-ui.html)**Build**
./gradlew bootjar -Penv=${ENV}
java -jar mv-model-v1.jar