Moving gzip properties into fe 69/73069/1
authorArul.Nambi <arul.nambi@amdocs.com>
Mon, 19 Nov 2018 17:33:26 +0000 (12:33 -0500)
committerArul.Nambi <arul.nambi@amdocs.com>
Mon, 19 Nov 2018 17:34:46 +0000 (12:34 -0500)
Issue-ID: AAI-1881
Change-Id: Icd7f912d7cd8dc965051ed89b77718b84fc4a235
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
sparkybe-onap-application/config/application-fe-dev.properties
sparkybe-onap-application/config/application-fe-prod.properties
sparkybe-onap-application/config/application.properties

index bba6656..8ef1de2 100644 (file)
@@ -4,4 +4,13 @@ server.servlet.context-path=/services/aai/webapp/
 #
 #  attempt to externalize ui JS classes + resources
 #
-spring.resources.static-locations=file:${APP_HOME}/target/static/
\ No newline at end of file
+spring.resources.static-locations=file:${APP_HOME}/target/static/
+
+# Enable response compression
+server.compression.enabled=true
+
+# The comma-separated list of mime types that should be compressed
+server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
+
+# Compress the response only if the response size is at least 1KB
+server.compression.min-response-size=1024
\ No newline at end of file
index b332358..0a68468 100644 (file)
@@ -4,4 +4,13 @@ server.servlet.context-path=/services/aai/webapp/
 #
 #  attempt to externalize ui JS classes + resources
 #
-spring.resources.static-locations=file:${APP_HOME}/static/
\ No newline at end of file
+spring.resources.static-locations=file:${APP_HOME}/static/
+
+# Enable response compression
+server.compression.enabled=true
+
+# The comma-separated list of mime types that should be compressed
+server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
+
+# Compress the response only if the response size is at least 1KB
+server.compression.min-response-size=1024
\ No newline at end of file
index 0fa18fd..02402b1 100644 (file)
@@ -23,13 +23,4 @@ searchservice.client-cert=client-cert-onap.p12
 searchservice.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
 searchservice.truststore=tomcat_keystore
 
-# Enable response compression
-server.compression.enabled=true
-
-# The comma-separated list of mime types that should be compressed
-server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
-
-# Compress the response only if the response size is at least 1KB
-server.compression.min-response-size=1024
-
 spring.mvc.favicon.enabled=false
\ No newline at end of file