Page tree
Skip to end of metadata
Go to start of metadata

Spring boot based reference architecture - Reference Architecture

Spring boot war deployed to tomcat - Spring Boot Microservice

Spring boot jar running the spring embedded tomcat container - Spring Boot Microservice

QuickStart

Start using spring boot via spring.io also https://start.spring.io/

https://docs.spring.io/spring-framework/docs/5.0.0.M1/spring-framework-reference/html/web-reactive.html

difference.cloud

Difference

https://github.com/obrienlabs/difference-cloud


URLs

http://127.0.0.1:8080/nbi/api


Architecture

Spring Controller Architecture

Spring Controller Architecture

MVC Controller

MVC Service

MVC Repository

Spring Boot Deployment Architecture

We are defining a standard spring boot reference architecture here consisting of the following frameworks.

versionspec/frameworkdetails
5Spring Framework
2.2.4Spring Boot

Target Java 8 (Java 11 LTS pending)

Compiler Java 11 

java version "11.0.5" 2019-10-15 LTS


JIRAs

ARCDEVOPS-6 - Getting issue details... STATUS

https://github.com/obrienlabs/refarch/issues/1

Source

CommitDetailsRef
20200215 initial spring boot infrastructure
https://github.com/obrienlabs/refarch/commit/e74f51f123a0bb0315da1483798dd12b25ca730c





DevOps


Running spring boot SpringApplication from CLI

The spring boot app can be run from Eclipse using javaw.exe or from the CLI.

 


Global properties override

Usually we pass in an ecosystem and dev/env flag and do an S3 lookup to override properties.  We can pass in a single global file as well

 


Adding SSL to Spring boot

https://www.baeldung.com/spring-boot-https-self-signed-certificate


Notes

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Release-Notes


  • No labels