From 9b68da7d6873ec390a825f6c6663d81b71534e0d Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Fri, 23 Aug 2019 15:54:18 +0200 Subject: Update readme.md --- readme.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 2600a09..c5fe6ad 100644 --- a/readme.md +++ b/readme.md @@ -26,12 +26,12 @@ Command: mvn test -P all-tests ``` -Note that some integration tests (prefix `ITSSL`) rely on a TLS connection and Client Authentication. The following guide -explains how to set up TLS and Client Authentication with Apache 2. +Note that some integration tests (prefix `ITSSL`) rely on a TLS connection and Client Authentication. The following guide explains how to set up TLS and Client Authentication with Apache 2. #### Quick Guide: Set Up SSL (inc. Client Authentication) in Apache 2. -Some tests require SSL protection of the service endpoint with SSL Client Authentication. Here's a quick guide how to set up an Apache 2 service on localhost as a SSL terminating reverse proxy to the zusemsg endpoint that runs on . This guide is only needed for running all integration tests. +This guide is only needed for running all tests. +Some tests require SSL protection of the service endpoint with SSL Client Authentication. Here's a quick guide how to set up an Apache 2 service on localhost as a SSL terminating reverse proxy to the zusemsg endpoint that runs on . 1. Install Apache 2. 1. Ensure that mod-proxy is installed and enabled. @@ -93,11 +93,21 @@ After packaging the application to a `war` file, the application can be deployed 1. Copy the directory `test/main/resources/config/` into the applications working directory. ``` - cp test/main/resources/config/ standalone/ -r + cp src/test/resources/config standalone/ -r ``` The `config` folder works out of the box for test environments. You may apply changes to files in the `config` folder to fit the needs of a productive environment. +1. Start application. + + ``` + (cd standalone && java -jar moa-zs.war) + ``` + +### Deploy to Tomcat Container + +TODO: Describe + # Footnotes [1] https://bugs.openjdk.java.net/browse/JDK-8214098 -- cgit v1.2.3