Skip to content

maxbundscherer/prototype-sbt-microservices-multiproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prototype SBT microservices multi-project

shields.io

Prototypes a sbt mulit-project (microservices-way)

Author: Maximilian Bundscherer (https://bundscherer-online.de)

Features

  • Docker local publish included
  • Generate test coverage report(s)
  • Different example projects included
  • Example external dependencies (logging and more) included
  • Example internal dependencies (helperExample) included

Used technologies

  • Docker: Container
  • Scala: programming language
  • ScalaTest: testing project
  • sbt-scoverage: generate test coverage report(s)

Overview

Example projects are:

  • TestOne (project-name = appTestOne)
  • TestTwo (project-name = appTestTwo)

A global helper is located in helperExample. This helper is needed by appTestTwo.

Global settings, dependencies and plugins

Global Setting and dependencies are located in ./project/DefaultCommons.scala

Please see global build.sbt file located in ./build.sbt and global plugins file located in ./project/plugins.sbt

Description

Project is written in scala. Used log-library: Apache Log4j 2.

SBT is required.

  • Run a project with sbt "project <project-name>" run
  • Test a project with sbt "project <project-name>" clean coverage test
  • Generate coverage report(s) with sbt "project <project-name>" coverageReport
  • Docker local publish with sbt "project <project-name>" docker:publishLocal

Example: sbt "project appTestOne" run

Releases

No releases published

Packages

No packages published

Languages