diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-08-07 14:15:05 +0300 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-08-07 14:15:05 +0300 |
commit | b9708a7c3cfaf5767992a2b15180e7b85c459242 (patch) | |
tree | 076e19ea52232232e9060a9d7e074947a4a49508 /app/_dcaeapp.xml | |
parent | cc32bd38d72e5c1c92048657083952d3e45c1819 (diff) |
adding the dcae dt code
Adding DCAE-dt code
Change-Id: Id6b779db9d24e10825fb97ad5fd46f41e65e6738
Issue-ID: SDC-1614
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'app/_dcaeapp.xml')
-rw-r--r-- | app/_dcaeapp.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app/_dcaeapp.xml b/app/_dcaeapp.xml new file mode 100644 index 0000000..2af7bd4 --- /dev/null +++ b/app/_dcaeapp.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> + + +<Configure id="onBoardWebappDcae" class="org.eclipse.jetty.webapp.WebAppContext"> + + <Set name="contextPath">/dcae</Set> + <Set name="war"><Property name="jetty.webapps" default="."/>/dcae.war</Set> + + <!-- Enable WebSocket container --> + <Call name="setAttribute"> + <Arg>org.eclipse.jetty.websocket.jsr356</Arg> + <Arg type="Boolean">true</Arg> + </Call> + + <Set name="gzipHandler"> + <New class="org.eclipse.jetty.server.handler.gzip.GzipHandler"> + <Set name="minGzipSize">2048</Set> + </New> + </Set> + + + <Get name="securityHandler"> + <Set name="loginService"> + <New class="org.eclipse.jetty.security.HashLoginService"> + <Set name="name">Test Realm</Set> + <Set name="config"><SystemProperty name="jetty.base" default="."/>/etc/realm.properties</Set> + <!-- To enable reload of realm when properties change, uncomment the following lines --> + <!-- changing refreshInterval (in seconds) as desired --> + <!-- + <Set name="refreshInterval">5</Set> + <Call name="start"></Call> + --> + </New> + </Set> + <Set name="authenticator"> + <New class="org.eclipse.jetty.security.authentication.FormAuthenticator"> + <Set name="alwaysSaveUri">true</Set> + </New> + </Set> + <Set name="checkWelcomeFiles">true</Set> + </Get> + + +</Configure> |