blob: 99a659f13989d2e695c050cd1776c1676cf6ec14 [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001<?xml version="1.0" encoding="UTF-8"?>
2<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
3 <display-name>mso-sdnc-adapter</display-name>
4 <welcome-file-list>
5 <welcome-file>check.html</welcome-file>
6 </welcome-file-list>
xg353yb6b7bef2017-04-11 13:30:42 +02007
ChrisC025301d2017-01-31 11:40:03 +01008 <context-param>
9 <param-name>resteasy.jndi.resources</param-name>
10 <param-value>java:module/MsoPropertiesFactory,java:module/CloudConfigFactory</param-value>
11 </context-param>
12 <context-param>
13 <param-name>log.configuration</param-name>
14 <param-value>logback.sdnc.xml</param-value>
15 </context-param>
16 <context-param>
17 <param-name>mso.configuration</param-name>
18 <param-value>MSO_PROP_SDNC_ADAPTER=mso.sdnc.properties,MSO_PROP_TOPOLOGY=topology.properties</param-value>
19 </context-param>
20 <context-param>
21 <param-name>mso.cloud_config.configuration</param-name>
22 <param-value>cloud_config.json=2</param-value>
23 </context-param>
24 <context-param>
25 <param-name>resteasy.resources</param-name>
xg353yb6b7bef2017-04-11 13:30:42 +020026 <param-value>org.openecomp.mso.logger.MsoLoggingServlet,org.openecomp.mso.adapters.sdnc.notify.SDNCNotifyResource,org.openecomp.mso.adapters.sdnc.impl.SDNCAdapterRestImpl,org.openecomp.mso.MsoStatusHandler,org.openecomp.mso.adapters.sdnc.sdncrest.SNIROResponse,org.openecomp.mso.adapters.sdnc.sdncrest.SDNCAdapterRest</param-value>
ChrisC025301d2017-01-31 11:40:03 +010027 </context-param>
28 <context-param>
Rob Daugherty38f72072018-03-14 02:07:32 -040029 <param-name>resteasy.providers</param-name>
30 <param-value>org.openecomp.mso.adapters.providers.JettisonStyleMapperProvider</param-value>
31 </context-param>
32 <context-param>
ChrisC025301d2017-01-31 11:40:03 +010033 <param-name>resteasy.servlet.mapping.prefix</param-name>
34 <param-value>/rest</param-value>
35 </context-param>
36 <servlet>
37 <display-name>SDNCAdapter</display-name>
38 <servlet-name>SDNCAdapter</servlet-name>
39 <servlet-class>org.openecomp.mso.adapters.sdnc.impl.SDNCAdapterPortTypeImpl</servlet-class>
40 </servlet>
41 <servlet-mapping>
42 <servlet-name>SDNCAdapter</servlet-name>
43 <url-pattern>/SDNCAdapter</url-pattern>
44 </servlet-mapping>
45 <servlet>
46 <servlet-name>Resteasy</servlet-name>
47 <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
48 </servlet>
49 <servlet-mapping>
50 <servlet-name>Resteasy</servlet-name>
51 <url-pattern>/rest/*</url-pattern>
52 </servlet-mapping>
53
54 <filter>
55 <filter-name>LogFilter</filter-name>
56 <filter-class>org.openecomp.mso.logger.LogFilter</filter-class>
57 </filter>
58 <filter-mapping>
59 <filter-name>LogFilter</filter-name>
60 <url-pattern>/*</url-pattern>
61 </filter-mapping>
62 <listener>
63 <listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
64 </listener>
65
66 <security-constraint>
67 <web-resource-collection>
68 <web-resource-name>RestRequests</web-resource-name>
69 <description>Rest Ingress Requests</description>
70 <url-pattern>/rest/logging/*</url-pattern>
71 <url-pattern>/rest/properties/*</url-pattern>
72 <url-pattern>/rest/MSORequest</url-pattern>
73 <http-method>POST</http-method>
74 <http-method>GET</http-method>
75 </web-resource-collection>
76 <auth-constraint>
77 <role-name>MSO-Client</role-name>
78 </auth-constraint>
79 </security-constraint>
80 <security-constraint>
81 <web-resource-collection>
82 <web-resource-name>SDNCNotification</web-resource-name>
83 <description>Rest Async Notification from SDNC</description>
84 <url-pattern>/rest/SDNCNotify</url-pattern>
xg353yb6b7bef2017-04-11 13:30:42 +020085 <url-pattern>/rest/SDNCNotify/*</url-pattern>
ChrisC025301d2017-01-31 11:40:03 +010086 <http-method>POST</http-method>
87 </web-resource-collection>
88 <auth-constraint>
89 <role-name>SDNC-Client</role-name>
90 </auth-constraint>
91 </security-constraint>
92 <security-constraint>
93 <web-resource-collection>
xg353yb6b7bef2017-04-11 13:30:42 +020094 <web-resource-name>SDNCRequests</web-resource-name>
ChrisC025301d2017-01-31 11:40:03 +010095 <description>Soap Ingress Requests</description>
96 <url-pattern>/SDNCAdapter</url-pattern>
xg353yb6b7bef2017-04-11 13:30:42 +020097 <url-pattern>/rest/v1/sdnc/*</url-pattern>
ChrisC025301d2017-01-31 11:40:03 +010098 <http-method>POST</http-method>
99 </web-resource-collection>
100 <auth-constraint>
101 <role-name>BPEL-Client</role-name>
102 </auth-constraint>
103 </security-constraint>
104 <security-constraint>
105 <web-resource-collection>
106 <web-resource-name>SiteStatus</web-resource-name>
107 <description>SiteStatus APIs</description>
108 <url-pattern>/rest/setStatus/*</url-pattern>
109 <http-method>POST</http-method>
110 </web-resource-collection>
111 <auth-constraint>
112 <role-name>SiteControl-Client</role-name>
113 </auth-constraint>
114 </security-constraint>
115
116 <login-config>
117 <auth-method>BASIC</auth-method>
118 <realm-name>ApplicationRealm</realm-name>
119 </login-config>
120 <security-role>
121 <role-name>SDNC-Client</role-name>
122 </security-role>
123 <security-role>
124 <role-name>MSO-Client</role-name>
125 </security-role>
126 <security-role>
127 <role-name>BPEL-Client</role-name>
128 </security-role>
129 <security-role>
130 <role-name>SiteControl-Client</role-name>
131 </security-role>
132</web-app>