summaryrefslogtreecommitdiffstats
path: root/deliveries/src
AgeCommit message (Collapse)AuthorFilesLines
2020-11-05Fix for VID-8907.0.2Ikramullah, Ikram (fi241c)10-196/+14
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 Desbureaux2-16/+22
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>
2020-02-25Move to debian `apt` (was alpine `apk`)Ittay Stern1-1/+5
Issue-ID: VID-498 Issue-ID: VID-756 Change-Id: Id324e2970022618acfad6e478a21134525b6cf06 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-24Move to jdk11-openjdk-slim (was jre8-alpine)Ittay Stern1-4/+12
Issue-ID: VID-498 Issue-ID: VID-756 Change-Id: Ia95e99f464d7f2e107821492cef522badee693fc 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 Stern2-2/+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-08-08moving certs from docker image to mounted catalogBartosz Gardziejewski2-3/+3
Removing certificates from dockerfile and adding mounted volume in docker-compose, this is connected with oom commit https://gerrit.onap.org/r/c/oom/+/92888 Issue-ID: VID-494 Change-Id: Ibf52542344ecf79fb947858329f37018731d2270 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-06-07Send logs to logstashWojciech Sliwka5-745/+3
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>
2019-04-11Update Tomcat version to 9.0.x (was 8.0.x)Ittay Stern1-1/+1
Issue-ID: VID-244 Change-Id: I317720b73ce4e9ea312cfefbc75ecafb56699f1a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-04-09Run tomcat as onap userWojciech Sliwka1-2/+5
Issue-ID: VID-423 Change-Id: I5ec25252e325216e0835c55ae9b8ddb47ce11161 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-03-15Escape unexpected tokens in CATALINA_OPTSIttay Stern1-1/+1
Change-Id: I58b37bb0ac7da5eb49517c9ed17327225728f369 Issue-ID: VID-445 Issue-ID: VID-429 Issue-ID: VID-439 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-03-13New VID certificate valid until: March 12, 2020Ittay Stern1-94/+94
Alias name: vid@vid.onap.org Owner: C=US, O=ONAP, OU=OSAAF, OU=vid@vid.onap.org, EMAILADDRESS=, CN=vid Issuer: CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US Valid from: Tue Mar 12 15:26:01 GMT 2019 until: Thu Mar 12 15:26:01 GMT 2020 SubjectAlternativeName [ DNSName: vid DNSName: vid.api.simpledemo.onap.org DNSName: vid.onap ] Issue-ID: VID-439 Change-Id: I1c7c86b8a8170b1da815edd735b46a7df52d05fa Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-22Introduced dynamic workflow properties in VID FEgolabek1-37/+37
VID FE will get workflows from SO API (mocked at this moment),then call SO for the parameters and dynamically render those parameters on the page. (contains PR of @Wojciech Sliwka about mocked parameters API from SO) Change-Id: If2cd156cd96a120e79746a4da44d4926f8d6cbcf Issue-ID: VID-398 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-02-18Introduced mocked SO workflows in VID FEgolabek1-1/+4
Mocked SO workflows joined with list of workflows from VIDs DB. (Contains: Mocked BE service to return workflow list) Change-Id: I10336238cfeb8819e0a2b3e88cd86c338cab86fa Issue-ID: VID-399 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-01-25INT-763 - build small vid imagessandovalfr1-3/+2
Issue-ID: INT-763 Change-Id: I870414f40a4fbc67dba97cd3d297e251ee1ab64f Signed-off-by: sandovalfr <frank.sandoval@oamtechnologies.com>
2019-01-21Merge "Rearrange docker to speed-up building"Wojciech Sliwka1-70/+76
2018-12-24Logging improvementskurczews2-3/+81
* move less important tomcat logs to file instead console * update properties -> log sql queries only to file Issue-ID: VID-376 Change-Id: I8fd61424e2d2f3843028a60351468fd9f34f6194 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-12-21Rearrange docker to speed-up buildingkurczews1-70/+76
Reduce number of layers in order to improve build time. Every layer (even zero-sized ones) forces Docker engine to check layers cache. Every cache call incurs non zero cost which in case of 60+ layers becames one of bottlenecks during build. Issue-ID: VID-164 Change-Id: Id190d956edb61a1efdb6171602c7fd2228598ddc Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-12-04Add simulator to docker-compose.ymlkurczews1-5/+14
Issue-ID: VID-354 Change-Id: If531a133c6d6267e5b956cbb9852fc15e24642d5 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-12-04Merge "Change template properties for AAI"Ofir Sonsino2-4/+2
2018-11-14Change template properties for AAIbiniek2-4/+2
Change-Id: I5412a152e6df701d94c8dffbc2a22d70e282008c Issue-ID: VID-343 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-11-05Move logback config from WARkurczews5-7/+721
Issue-ID: VID-40 Change-Id: I8c658e78af0e5b045e9fb36f4da07f0c5bb0f097 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-10-18Update portal.properties configurationSonsino, Ofir (os0695)1-0/+1
Change-Id: I371321ec5365222a210bc2bec863fcff7b7550f5 Issue-ID: VID-329 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-10-05Added missing prefixWojciech Sliwka1-1/+1
/onap/sp/infra was recently removed from svc.instance.path Change-Id: I69c2a7c2cb1005aefdcd3257427a76d88fb626c6 Issue-ID: VID-320 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@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-12Remove docker volume with sql schemaskurczews2-8/+0
Change-Id: I246430b79388119e3b666f385ad671e1a4a182fd Issue-ID: VID-293 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-09-10Use correct trust storeJakub Zieba3-4/+6
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>
2018-08-29VID Internal HTTPSPiotr Darosz2-2/+26
Use HTTPS for internal VID interfaces Change-Id: I72260cd10c4d83e84f639798f4e4ebb738f6f4aa Issue-ID: VID-273 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-08-22Fix missing table when running dockerkurczews1-1/+1
Issue-ID: VID-293 Change-Id: I5d74e6f5d442c02e3a693e1b9328fede7533263d Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-08-06Improve docker installationkurczews1-13/+25
Issue-ID: VID-279 Change-Id: If592225832c2e549182ebbb888f4b92f5b91f0e3 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-17Memory usage growing fixSonsino, Ofir (os0695)2-2/+1
Change-Id: Ia4cf3c5f7c000569fb7fb639913bbbbdb5c63ded Issue-ID: VID-196 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-04-17Memory usage growing fixSonsino, Ofir (os0695)1-0/+2
Change-Id: I9aae4c7539984cba3bd6c9f09eb2ec3d8d20b9c5 Issue-ID: VID-196 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-04-17Update SDC Model namespaceSonsino, Ofir (os0695)1-1/+1
Change-Id: I2139b3acdc2d426f7e76bf23d6458e85119bfb70 Issue-ID: VID-213 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-04-10Update DockerfileSonsino, Ofir (os0695)1-8/+8
Change-Id: I82b17204ccff4cad023d8533fc884c4ebf1da38c Issue-ID: VID-209 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-04-09Update DockerfileSonsino, Ofir (os0695)1-4/+4
Change-Id: Iec9b90bfa7b53c6f100e6b3c66545adc183f8547 Issue-ID: VID-209 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-01-31org.onap migrationOfir Sonsino1-1/+1
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d Issue-ID: VID-86 Signed-off-by: Ofir Sonsino <os0695@att.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 Kwiecien2-2/+6
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-07-21 change VID_UEB_URL_LIST from VM name based toKrzysztof Kwiecien1-1/+1
DNS based FQDN from DNS also make changes to allow mvn install and mvn docker:build work, it include: - epsdk version change to 1.3.0-SNAPSHOT - vid-parrent version to 1.1.0-SNAPSHOT - add .gitignore to ignore products mvn install and mvn docker:build also exception handling in test is added to make maven not complain Change-Id: I5d1c7f8cdd5b7e78a863cb6b9e64bc8d15c424c5 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 pushjimmydot12-315/+317
Change-Id: I9077be9663754d9b22f77c6a7b3109b361b39346 Signed-off-by: jimmydot <jf2512@att.com>
2017-03-07[OS-144] Changing default ASDC hostJimmy Forsyth1-1/+1
Change-Id: I948c131890876c99a5a3739b404931b68effabf8 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2017-02-17[OS-144] Changing pom per msoJimmy Forsyth1-2/+2
Change-Id: I50ed55d301d33ddfe42a7036c9eea1255c882853 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2017-02-07actually adding the files to the initial commitDR695H12-0/+315
Change-Id: I2f0c09692c2ae70be61b8bb552fd1bd2983eb661 Signed-off-by: DR695H <dr695h@att.com>