Skip to content

yeforriak/Simple-Scala-Dropwizard-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Scala-Dropwizard-Service

This is the dropwizard example service ( http://dropwizard.codahale.com/getting-started/ ) using Scala.

Running it with maven:

$ mvn scala:run

Packaging and running the from the jar:

$ mvn package

$ java -jar ./target/dropwizard-scala-service-1.0-SNAPSHOT.jar server

Running it with sbt

$ sbt

run server

Endpoints

The service only contains the resource HelloWorld, therefore the endpoints available are:

http://localhost:8080/hello-world

http://localhost:8080/hello-world?q=victor

(admin page) -> http://localhost:8081/

(run gc) -> http://localhost:8080/tasks/gc

About

This is a simple service using Dropwizard and Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages