aboutsummaryrefslogtreecommitdiffstats
path: root/deliveries/src/main/scripts
AgeCommit message (Collapse)AuthorFilesLines
2020-11-05Fix for VID-8907.0.2Ikramullah, Ikram (fi241c)9-194/+9
VID was using sed based replacement for the environment variables exposed to its scripts. This was causing many issus with special characters. This has been fixed. Issue-ID: VID-890 Change-Id: I17fb9621bd5b1e6f4b7278df1fd77c617ce9a26d Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
2020-08-12Allow to run on read only root fsSylvain Desbureaux1-14/+8
In order to be able to run on read only root fs, two changes have been done: * unpack tomcat war at container creation * launch the property file configuration conditionnally If "ON_KUBERNETES" environment variable is set to "TRUE" (default is "FALSE" for backward compatibility), the proper have to be set at boot via configmap on Kubernetes for example. Changes are backward compatible and shouldn't change actual behavior per default. Issue-ID: VID-850 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6f96e2ca55093ee899be18d6ce4c2dfd7c1a5792
2020-03-15Handle DB password special charactersIttay Stern2-2/+2
printf %q will add necessary slashes for the shell; e.g.: the following pair is an example for input and output: Dufr1&Ze heP$1\n"e'wi => Dufr1\&Ze\ heP\$1\\n\"e\'wi Issue-ID: OOM-2293 Issue-ID: VID-786 Change-Id: I44042782c3d9af6dffb228413197791424a2b659 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-19Make logback.xml editable after VID is deployedIttay Stern1-1/+9
Issue-ID: VID-733 Change-Id: I16b9fa0e4f310900aa7bd733e40c00868db33f90 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-12Let straightforward `vidkeystorepassword` setting in values.yamlIttay Stern1-0/+6
The value of vidkeystorepassword is plugged as environment variable VID_KEYSTORE_PASSWORD. (see commit 7a3e2594; change-id: Ibf52542344ecf79fb947858329f37018731d2270) Now CATALINA_OPTS will be evaluated when container is started, with the actual value of VID_KEYSTORE_PASSWORD env variable. This fixes the issue where CATALINA_OPTS is evaluated at Docker build time, with a static VID_KEYSTORE_PASSWORD value. Issue-ID: VID-494 Issue-ID: VID-650 Change-Id: Ife2a2e92b3745691cc45590d1afd1688d918048f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-06-07Send logs to logstashWojciech Sliwka2-22/+0
Removing logback from vid container as it is not used at all Setting eelf variable to read configuration from /tmp/logback.xml -place which is mounted in oom /tmp/logback.xml has logpath set to /var/log/onap/ Change-Id: I8045e1d63f8f2b7574684f0758475555463fe8b1 Issue-ID: VID-485 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2018-12-04Merge "Change template properties for AAI"Ofir Sonsino1-2/+1
2018-11-14Change template properties for AAIbiniek1-2/+1
Change-Id: I5412a152e6df701d94c8dffbc2a22d70e282008c Issue-ID: VID-343 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-11-05Move logback config from WARkurczews2-3/+4
Issue-ID: VID-40 Change-Id: I8c658e78af0e5b045e9fb36f4da07f0c5bb0f097 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-09-19Improve localize scriptskurczews9-32/+37
Improve scripts to avoid unecessary WAR repackaging. Tomcat extracts WAR content when deployed so there is no need to repackage whole WAR (time-costly operation) in order to update template properties Issue-ID: VID-164 Change-Id: I2aa2db915ba7408cf9da51a28695c4890c369312 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-09-10Use correct trust storeJakub Zieba1-2/+2
Use correct trust store file in SSL configuration Fix for schema and data creation Change-Id: Ie5b329191779a75ea902f547f09b59b65f09f64c Issue-ID: VID-271 Signed-off-by: Jakub Zieba <jakub.zieba@nokia.com>
2017-08-09[VID] fixing system properties templateAmichai Hemli1-0/+4
Issue: VID-37 Change-Id: I04813db16b6d4af43540343d8e96c35333a1c2d8 Signed-off-by: Amichai Hemli <ah0398@intl.att.com>
2017-07-22add missing information to see VID in PortalKrzysztof Kwiecien1-0/+1
add missign information into properties files, localization scirtp and Dockerfile to solve the problem of accessing VID portal form ONAP Portal Issue: PORTAL-34 PORTAL-38 Change-Id: Ief9c0fcb57aa0d455d943806acb04de698342b8e Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com>
2017-05-08[VID-6] Strip carriage returns from scriptsjimmydot9-198/+198
Change-Id: I96e3eaaf48c7bd4d98a9fdcc1f5d6f9ec489302d Signed-off-by: jimmydot <jf2512@att.com>
2017-05-07[VID-6] Initial rebase pushjimmydot9-198/+198
Change-Id: I9077be9663754d9b22f77c6a7b3109b361b39346 Signed-off-by: jimmydot <jf2512@att.com>
2017-02-07actually adding the files to the initial commitDR695H9-0/+198
Change-Id: I2f0c09692c2ae70be61b8bb552fd1bd2983eb661 Signed-off-by: DR695H <dr695h@att.com>