Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sapling template multi-module application using spring boot in gradle. Has advanced configuration pre-built for development and testing.

NotificationsYou must be signed in to change notification settings

harishkannarao/gradle-spring-boot

Repository files navigation

This repository is to show sample of multi-module spring boot application with Gradle

Github Actions Build status

Build Status

Required Software, Tools and Version

  • Java JDK Version: 11 Adopt OpenJDK (java -version)
  • Git Client: Any latest version (git --version)
  • Integrated Development Environment: Any version of IntelliJ Idea or Eclipse (withAnnotations Processing enabled forImmutables library)

Highlights

  • Swagger UI andOpenAPI docs
  • UsingImmutables java library for request and response dto in REST apis
  • Thymeleaf templates in server side web or html
  • Logback for application logs
  • Logback Access for tomcat access logs
  • Rest Assured library for testing api withrequest,response andcurl commands captured in console and gradle test reports
  • Feature toggle integration test for spring application
  • Multi-module structure whichreuses test classes betweenunit,integration andacceptance tests

Run unit and developer integration tests

./gradlew clean build

Run the application

./gradlew clean bootRun

Open the urls in the browser

http://localhost:8081http://localhost:8081/swagger-ui.htmlhttp://localhost:8081/api-docs

Run the jar file

java -jar application/build/libs/application.jar

Run the qa acceptance test against target environment

./gradlew clean qaAcceptanceTest -DtestEnvironment=development

or

TEST_ENVIRONMENT='development' ./gradlew clean qaAcceptanceTest

Run the qa acceptance test against local

Run the application in a terminal

  ./gradlew clean bootRun

Run the tests in another terminal window

./gradlew clean qaAcceptanceTest

About

Sapling template multi-module application using spring boot in gradle. Has advanced configuration pre-built for development and testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp