Skip to content

up1/demo-spring-boot-2-with-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Spring Boot 2.0.2.RELEASE
  • Working with MongoDB
  • Testing with Embedded MongoDB
  • Services and Controller testing
  • Switching profie
  • Code coverage with Jacoco (Separate result between Unit tests and Integration tests)

How to run with profile ?

// Test with embedded mongodb
$mvn clean install -Dspring.profiles.active=use-mongodb-embedded

// Test with Test mongodb
$mvn clean install -Dspring.profiles.active=test

// Test with Production mongodb
$mvn clean install -Dspring.profiles.active=production

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages