This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
The following commit(s) were added to refs/heads/master by this push:
new 9fde6b3 remove GzipFilter
9fde6b3 is described below
commit 9fde6b340824c6bf58eb2646ca513c6b667bb62d
Author: Alex Heneveld <[email protected]>
AuthorDate: Tue Mar 30 23:13:57 2021 +0100
remove GzipFilter
it does nothing and just causes warnings. gzip was not supported by this.
the correct way to do it is during server setup.
see for example
https://stackoverflow.com/questions/38635262/jetty-9-and-gziphandler
---
ui-modules/app-inspector/src/main/webapp/WEB-INF/web.xml | 12 ------------
.../blueprint-composer/src/main/webapp/WEB-INF/web.xml | 12 ------------
.../blueprint-importer/src/main/webapp/WEB-INF/web.xml | 12 ------------
ui-modules/catalog/src/main/webapp/WEB-INF/web.xml | 12 ------------
ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml | 12 ------------
ui-modules/home/src/main/webapp/WEB-INF/web.xml | 12 ------------
ui-modules/location-manager/src/main/webapp/WEB-INF/web.xml | 12 ------------
ui-modules/logout/src/main/webapp/WEB-INF/web.xml | 12 ------------
ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml | 12 ------------
9 files changed, 108 deletions(-)
diff --git a/ui-modules/app-inspector/src/main/webapp/WEB-INF/web.xml
b/ui-modules/app-inspector/src/main/webapp/WEB-INF/web.xml
index e039863..84b9f36 100644
--- a/ui-modules/app-inspector/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/app-inspector/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/blueprint-composer/src/main/webapp/WEB-INF/web.xml
b/ui-modules/blueprint-composer/src/main/webapp/WEB-INF/web.xml
index beb78ad..cad5191 100644
--- a/ui-modules/blueprint-composer/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/blueprint-composer/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/blueprint-importer/src/main/webapp/WEB-INF/web.xml
b/ui-modules/blueprint-importer/src/main/webapp/WEB-INF/web.xml
index 24bb005..3438076 100644
--- a/ui-modules/blueprint-importer/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/blueprint-importer/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/catalog/src/main/webapp/WEB-INF/web.xml
b/ui-modules/catalog/src/main/webapp/WEB-INF/web.xml
index 71b1d35..94a91cf 100644
--- a/ui-modules/catalog/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/catalog/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml
b/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml
index a01976d..50f850d 100644
--- a/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/groovy-console/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/home/src/main/webapp/WEB-INF/web.xml
b/ui-modules/home/src/main/webapp/WEB-INF/web.xml
index 6242d44..c4bd8c3 100644
--- a/ui-modules/home/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/home/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/location-manager/src/main/webapp/WEB-INF/web.xml
b/ui-modules/location-manager/src/main/webapp/WEB-INF/web.xml
index 8cff1cb..e1d72bb 100644
--- a/ui-modules/location-manager/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/location-manager/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/logout/src/main/webapp/WEB-INF/web.xml
b/ui-modules/logout/src/main/webapp/WEB-INF/web.xml
index 5955b71..27e23f6 100644
--- a/ui-modules/logout/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/logout/src/main/webapp/WEB-INF/web.xml
@@ -47,14 +47,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -64,10 +56,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>
diff --git a/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
b/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
index 00e0f4c..5c710c8 100644
--- a/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
+++ b/ui-modules/rest-api-docs/src/main/webapp/WEB-INF/web.xml
@@ -45,14 +45,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<filter-class>org.apache.brooklyn.rest.filter.BrooklynSecurityProviderFilterJavax</filter-class>
</filter>
- <filter>
- <filter-name>GzipFilter</filter-name>
- <filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
- <init-param>
- <param-name>mimeTypes</param-name>
-
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text/css,application/javascript,image/svg+xml</param-value>
- </init-param>
- </filter>
<filter-mapping>
<filter-name>ui-module-filter</filter-name>
@@ -62,10 +54,6 @@
<filter-name>brooklyn-security-filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- <filter-mapping>
- <filter-name>GzipFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
<!--FILTERS :: END-->
</web-app>