summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/opendaylight/files/jetty.xml
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-04-06 18:19:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-06 18:19:12 +0000
commit360e605cda3e6bdeceb06cc0528c1cc0e6e60ed7 (patch)
tree3e54005ec018c0b884a378475e582cae69dd83df /mcp/salt-formulas/opendaylight/files/jetty.xml
parentf285667a59e75d2357b0dff27249b4179dbf3d81 (diff)
parentc1889c963bbe9b21645057e6e9cfcbe9c5f6434d (diff)
Merge "Update opendaylight version to oxygen"
Diffstat (limited to 'mcp/salt-formulas/opendaylight/files/jetty.xml')
-rw-r--r--mcp/salt-formulas/opendaylight/files/jetty.xml33
1 files changed, 1 insertions, 32 deletions
diff --git a/mcp/salt-formulas/opendaylight/files/jetty.xml b/mcp/salt-formulas/opendaylight/files/jetty.xml
index e6371883a..de2ac677d 100644
--- a/mcp/salt-formulas/opendaylight/files/jetty.xml
+++ b/mcp/salt-formulas/opendaylight/files/jetty.xml
@@ -84,7 +84,7 @@ DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Property name="jetty.host"/>
</Set>
<Set name="port">
- <Property name="jetty.port" default="8181"/>
+ <Property name="jetty.port" default="{{ server.odl_rest_port }}"/>
</Set>
<Set name="idleTimeout">
<Property name="http.timeout" default="300000"/>
@@ -94,37 +94,6 @@ DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
</Arg>
</Call>
- <Call name="addConnector">
- <Arg>
- <New class="org.eclipse.jetty.server.ServerConnector">
- <Arg name="server">
- <Ref refid="Server" />
- </Arg>
- <Arg name="factories">
- <Array type="org.eclipse.jetty.server.ConnectionFactory">
- <Item>
- <New class="org.eclipse.jetty.server.HttpConnectionFactory">
- <Arg name="config">
- <Ref refid="http-legacy" />
- </Arg>
- </New>
- </Item>
- </Array>
- </Arg>
- <Set name="host">{{ server.odl_bind_ip }}
- <Property name="jetty.host"/>
- </Set>
- <Set name="port">
- <Property name="jetty.port" default="{{ server.odl_rest_port }}"/>
- </Set>
- <Set name="idleTimeout">
- <Property name="http.timeout" default="300000"/>
- </Set>q
- <Set name="name">jetty-legacy</Set>
- </New>
- </Arg>
- </Call>
-
<!-- =========================================================== -->
<!-- Configure Authentication Realms -->
<!-- Realms may be configured for the entire server here, or -->