diff options
author | ys9693 <ys9693@att.com> | 2020-01-19 13:50:02 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-01-22 12:33:31 +0000 |
commit | 16a9fce0e104a38371a9e5a567ec611ae3fc7f33 (patch) | |
tree | 03a2aff3060ddb5bc26a90115805a04becbaffc9 /catalog-fe/src/main/webapp/WEB-INF | |
parent | aa83a2da4f911c3ac89318b8e9e8403b072942e1 (diff) |
Catalog alignment
Issue-ID: SDC-2724
Signed-off-by: ys9693 <ys9693@att.com>
Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
Diffstat (limited to 'catalog-fe/src/main/webapp/WEB-INF')
-rw-r--r-- | catalog-fe/src/main/webapp/WEB-INF/web.xml | 49 |
1 files changed, 33 insertions, 16 deletions
diff --git a/catalog-fe/src/main/webapp/WEB-INF/web.xml b/catalog-fe/src/main/webapp/WEB-INF/web.xml index 32680df234..1f259d9fde 100644 --- a/catalog-fe/src/main/webapp/WEB-INF/web.xml +++ b/catalog-fe/src/main/webapp/WEB-INF/web.xml @@ -65,28 +65,45 @@ <servlet-name>Portal</servlet-name> <url-pattern>/portal</url-pattern> </servlet-mapping> + - <!-- Kibana proxy --> - <servlet> - <servlet-name>KibanaProxy</servlet-name> - <servlet-class>org.openecomp.sdc.fe.servlets.KibanaServlet</servlet-class> - <load-on-startup>1</load-on-startup> + <filter> + <filter-name>AuditLogServletFilter</filter-name> + <filter-class>org.onap.logging.filter.base.AuditLogServletFilter</filter-class> <async-supported>true</async-supported> - </servlet> + </filter> + + <filter> + <filter-name>SecurityFilter</filter-name> + <filter-class>org.openecomp.sdc.fe.filters.SecurityFilter</filter-class> + <async-supported>true</async-supported> + <init-param> + <param-name>excludedUrls</param-name> + <!-- Comma separated list of excluded servlet URLs --> + <param-value>/config,/configmgr,/rest</param-value> + </init-param> + </filter> - <servlet-mapping> - <servlet-name>KibanaProxy</servlet-name> - <url-pattern>/kibanaProxy/*</url-pattern> - </servlet-mapping> - <filter> <filter-name>gzipFilter</filter-name> - <filter-class>org.openecomp.sdc.fe.GzipFilter</filter-class> + <filter-class>org.openecomp.sdc.fe.filters.GzipFilter</filter-class> + <async-supported>true</async-supported> </filter> - <filter-mapping> - <filter-name>gzipFilter</filter-name> - <url-pattern>*.jsgz</url-pattern> - </filter-mapping> + + <filter-mapping> + <filter-name>AuditLogServletFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <filter-mapping> + <filter-name>SecurityFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + + <filter-mapping> + <filter-name>gzipFilter</filter-name> + <url-pattern>*.jsgz</url-pattern> + </filter-mapping> <listener> <listener-class>org.openecomp.sdc.fe.listen.FEAppContextListener</listener-class> |