Skip to content

QubitPi/wilhelm-ws

Repository files navigation

Wilhelm Webservice

Java Version Badge Apache License Badge

wilhelm-ws is a JSR 370 JAX-RS webservice exclusively serving wilhelmlang.com

Development

Getting Source Code

git@github.com:QubitPi/wilhelm-ws.git
cd wilhelm-ws

Running Tests

mvn clean verify

Generating WAR file

wilhelm-ws favors running in an external Jetty container, so its executable is not a fat JAR but a WAR which can be compiled up with

mvn clean package

Starting Webservice Locally

Navigate to a dedicated directory; make sure port 8080 is not occupied and the following environment variables are set:

export NEO4J_URI=
export NEO4J_USERNAME=
export NEO4J_PASSWORD=
export NEO4J_DATABASE=

Then start webservice with:

./jetty-start.sh

Press Ctr-C to stop the webservice and delete generated directories if needed when done.

Deployment

wilhelm-ws has a dedicated release definition called wilhelm-ws-release-definition for its automated deployment. Please check that our for details.

License

The use and distribution terms for wilhelm-ws are covered by the Apache License, Version 2.0.