aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webapp-onboarding/WEB-INF/web.xml
blob: 7840279895a27c7cc0b5aaafa3076187620c3826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         version="3.0">

    <display-name>ASDC</display-name>

    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
    </welcome-file-list>

    <servlet>
        <servlet-name>js</servlet-name>
        <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>

        <init-param>
            <param-name>cacheControl</param-name>
            <param-value>public, no-cache</param-value>
        </init-param>
        <init-param>
            <param-name>etags</param-name>
            <param-value>true</param-value>
        </init-param>
    </servlet>

    <servlet-mapping>
        <servlet-name>js</servlet-name>
        <url-pattern>*.js</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>resources</servlet-name>
        <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>

        <init-param>
            <param-name>cacheControl</param-name>
            <param-value>public, max-age=31536000</param-value>
        </init-param>
        <init-param>
            <param-name>etags</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>redirects-list</param-name>
            <param-value>
                /v1.0/healthcheck
            </param-value>
        </init-param>
    </servlet>

    <servlet-mapping>
        <servlet-name>resources</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

</web-app>