Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.28 KB

README.md

File metadata and controls

58 lines (34 loc) · 1.28 KB

Server

Pre Requisites

  • Java 8
  • Maven 3.5
  • Tomcat 8 (optional)

Building

To build the web server use:

$> mvn clean package  [-DskipTests]

Configuration

Currently looks on classpath for waltz.properties or falls back to <home>/.waltz/waltz.properties for options, should look something like this: waltz.properties

Running

Without container (using uber jar / jar with dependencies)

Launch the server with

$> cd waltz-web/target
$> java -cp waltz-web-jar-with-dependencies.jar Main

With container (i.e. Tomcat)

Deploy the war file in:

waltz-web/target/waltz-web.war

Ensure waltz.properties and overridden logback.xml file are available (typically on the classpath).

Both

When the server starts you will see messages about registering endpoints and CORS services, similar to:

....
7:59:43.633 [main] INFO  Main - Registering Endpoint: userEndpoint
17:59:43.637 [main] INFO  Main - Registering Endpoint: authenticationEndpoint
17:59:43.639 [main] INFO  Main - Registering Endpoint: dataExtractEndpoint
17:59:43.643 [main] DEBUG c.k.w.w.e.a.StaticResourcesEndpoint - Registering static resources
17:59:43.644 [main] INFO  Main - Completed endpoint registration
17:59:43.649 [main] INFO  Main - Enabled CORS