This is description of
msa-springcloud-java-springboot-maven-properties
(MSA Skeleton using spring cloud project extends OSS Netflix) for SHARE CONTACT Project (based on MSA Skeleton) by humblem2(backend developer/deeplearning engineer). And Also Project is maded with whdms705(backend developer). Thanks to whdms705 and Jiyoung9310(frontend developer).
Springboot
ApplicationRunnable JAR
- Using
Embed WAS
and Build/Package/runnable jar
Servlet Engine: Apache Tomcat/8.5.4
, Apache Tomcat/8.5.31
- Springboot version:
Springboot :
1.4.0.RELEASE
Springboot :2.0.2.RELEASE
- Spring Core version:
Spring core
4.3.2.RELEASE
- JDK:
1.8
- Mybatis:
3.4.2
- Mysql:
Local(Windows) :
community-5.7.11.0
Server(Linux) : - Maven :
3.3.9
- External remote reposirtory as config-server(public repository)
- On cloud server(using AWS stack)
- Build/Deploy Automation using Github, Travis, AWS S3, AWS CodeDeploy for
- Travis(travis.com)
- AWS
EC2(t2.micro Ubuntu14 [2018. 08. 26],
m4.large
[2018 .08. 27]) Code Deploy S3
- Now, Every Server disk HAVING profile(s) related in Build/Deploy Automation.
- Now, Every project directory HAVING profile(s) related in Build/Deploy Automation.
- Local Develop:
dev
- AWS Server Develop:
beta
- AWS Server Product:
real
- API Gateway Proxy Server(
Edge server
;Zuul Server;Gateway) - Routing(Proxying) and L4 Loadbalancing(RR)(9999
) - Config Server(
Config server
)(8888
) - Dicovery and Register Server(
Eureka Server
)(8761
) - Normal Server(
Frontend Server
)(8000
)(8002
) - Data Access Server(
Backend Server
with Swagger) connected RDB(mysql) using mapper(Mybatis)(8787
)(Swagger - http://${HOST}:8787/swagger-ui.html) Config Remote Repository
this(private version. only authorized member) or this(public version)
- Logger is Logback
- Directory Policy:
- way1 : You must be setting VM arguments on your IDE when it comes to run
Right click on project > Run As > Run Configurations... > update
VM arguments
belows
e.g.
-Dspring.profiles.active=dev
-Dserver.port=8761
-Dignore-noverify
- way2 : Modify main class > define profile using
setDefaultProfiles()
method
- https://spring.io/projects/
- https://spring.io/projects/spring-cloud-config
- https://spring.io/projects/spring-cloud-netflix
- https://github.com/humblem2/test-private-config-for-msa-project
- https://github.com/humblem2
- https://github.com/humblem2/test-config
- https://github.com/whdms705/demo
- https://github.com/VanillaLab/test-private-config
- https://swagger.io/