diff options
Diffstat (limited to 'sdc-workflow-designer-ui/src/main/webapp/WEB-INF')
-rw-r--r-- | sdc-workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml | 6 | ||||
-rw-r--r-- | sdc-workflow-designer-ui/src/main/webapp/WEB-INF/web.xml | 19 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sdc-workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml b/sdc-workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml new file mode 100644 index 00000000..92e847c8 --- /dev/null +++ b/sdc-workflow-designer-ui/src/main/webapp/WEB-INF/jetty-web.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> + +<Configure class="org.eclipse.jetty.webapp.WebAppContext"> + <Set name="contextPath">/workflows</Set> +</Configure> diff --git a/sdc-workflow-designer-ui/src/main/webapp/WEB-INF/web.xml b/sdc-workflow-designer-ui/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000..279b405e --- /dev/null +++ b/sdc-workflow-designer-ui/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" + version="4.0"> + + <servlet> + <servlet-name>Backend Proxy</servlet-name> + <servlet-class>org.onap.workflow.web.SSLProxyServlet</servlet-class> + <load-on-startup>1</load-on-startup> + <async-supported>true</async-supported> + </servlet> + <servlet-mapping> + <servlet-name>Backend Proxy</servlet-name> + <url-pattern>/wf/*</url-pattern> + <url-pattern>/v1.0/activity-spec/*</url-pattern> + </servlet-mapping> + +</web-app> |