summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-11-08 20:03:55 +0000
committerMichael Morris <michael.morris@est.tech>2022-11-10 16:18:52 +0000
commit31b4d1bddc624fdc067e84c5d331d064e332525a (patch)
tree18c53e06cfe54817e6b6d6a4c7fa49f5c03cfd4d
parentd4a002ddaa3bd5a79fc519a24d99dc704be896de (diff)
Remove 'Powered by Jetty' from default jetty response
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I927d1a935a0b0e224f7e5b35d86ac737d16f2774 Issue-ID: SDC-4254
-rw-r--r--catalog-be/src/main/docker/backend/startup.sh5
-rw-r--r--catalog-fe/sdc-frontend/startup.sh1
-rw-r--r--openecomp-be/dist/sdc-onboard-backend-docker/artifacts/startup.sh1
-rw-r--r--utils/webseal-simulator/sdc-simulator/startup.sh1
4 files changed, 4 insertions, 4 deletions
diff --git a/catalog-be/src/main/docker/backend/startup.sh b/catalog-be/src/main/docker/backend/startup.sh
index 50f2e3d370..5d3b31a67b 100644
--- a/catalog-be/src/main/docker/backend/startup.sh
+++ b/catalog-be/src/main/docker/backend/startup.sh
@@ -16,9 +16,6 @@ chef-solo -c solo.rb -E ${ENVNAME}
# Execute Jetty
cd $JETTY_HOME
+echo "jetty.httpConfig.sendServerVersion=false" >> $JETTY_HOME/start.d/start.ini
java $JAVA_OPTIONS -jar "$JETTY_HOME/start.jar"
-
-
-
-
diff --git a/catalog-fe/sdc-frontend/startup.sh b/catalog-fe/sdc-frontend/startup.sh
index 759769953f..e44f86629b 100644
--- a/catalog-fe/sdc-frontend/startup.sh
+++ b/catalog-fe/sdc-frontend/startup.sh
@@ -15,5 +15,6 @@ chef-solo -c solo.rb -E ${ENVNAME}
cd $JETTY_HOME
echo "etc/rewrite-root-to-sdc1.xml" >> $JETTY_HOME/start.d/rewrite.ini
+echo "jetty.httpConfig.sendServerVersion=false" >> $JETTY_HOME/start.d/start.ini
java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar"
diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/startup.sh b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/startup.sh
index 0829fba3ae..43aad8726a 100644
--- a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/startup.sh
+++ b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/startup.sh
@@ -16,5 +16,6 @@ cd $JETTY_BASE/chef-solo
chef-solo -c solo.rb -E ${ENVNAME}
cd $JETTY_HOME
+echo "jetty.httpConfig.sendServerVersion=false" >> $JETTY_HOME/start.d/start.ini
java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar"
diff --git a/utils/webseal-simulator/sdc-simulator/startup.sh b/utils/webseal-simulator/sdc-simulator/startup.sh
index d218211796..3526693e9d 100644
--- a/utils/webseal-simulator/sdc-simulator/startup.sh
+++ b/utils/webseal-simulator/sdc-simulator/startup.sh
@@ -14,5 +14,6 @@ chef-solo -c solo.rb -E ${ENVNAME}
cd $JETTY_HOME
echo "etc/rewrite-root-to-sdc1.xml" >> $JETTY_HOME/start.d/rewrite.ini
+echo "jetty.httpConfig.sendServerVersion=false" >> $JETTY_HOME/start.d/start.ini
java $JAVA_OPTIONS -jar "${JETTY_HOME}/start.jar"