giux78 / daf-configurator

Microservice for dealing with configurations and standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

daf-configurator

An example of a skeleton for writing java and scala microservices using an Api contract first approach using play 2.6 and swagger code gen

Building

It uses maven swagger code gen plugin for starting from an openapi 2.0 (3.0 is still not supported) file specification for generated a skeleton of a Java Play with controllers apiModels ecc... but it is based on Scala 2.12 and sbt 13.3.

app/controllers

Steps for running locally

mvn clean compile
sbt
compile
run

Steps for publishing on daf test

mvn clean compile
sbt
eval System.setProperty("STAGING", "true")
reload
compile
docker:publish

Steps for publishing on daf production

mvn clean compile
sbt
compile
docker:publish

About

Microservice for dealing with configurations and standards

License:Other


Languages

Language:Java 80.1%Language:Scala 19.9%