summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts
AgeCommit message (Collapse)AuthorFilesLines
2021-11-15Fix critical cross site scriptingvasraz1-3/+3
Change-Id: I66a220f71a2e950055107a725191b46bcbe8c6a6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3607 Issue-ID: SDC-3755
2020-09-10Update sdc start to mount catalog-be pluginsandre.schmid1-5/+18
Change-Id: Ic1a0a8b01f1ef4ac23829431bbab7a7e10836ae6 Issue-ID: SDC-3252 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2020-09-07Enhancement debian package manager apt-get tweaksPratik Raj2-2/+2
By default, Ubuntu or Debian based "apt" or "apt-get" system installs recommended but not suggested packages . By passing "--no-install-recommends" option, the user lets apt-get know not to consider recommended packages as a dependency to install. This results in smaller downloads and installation of packages which result in faster download and setup Refer to blog at [Ubuntu Blog](https://ubuntu.com/blog/we-reduced-our-docker-images-by-60-with-no-install-recommends) Issue-ID: SDC-3256 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Ie9ebfa8e49fa6d562683fa147685c92d1180f467
2020-07-29Upgrade Vulnerable Direct Dependencies [log4j]amohamad1-1/+1
Signed-off-by: amohamad <a.mohamad@queensu.ca> Issue-ID: SDC-3051 Upgrade from the vulnerable log4j 1.x to log4j 2.13.1 Add a log4j version property in sdc-main pom.xml Add two maven dependencies to respective child pom.xml Change name of log4j .properties and .xml config files to reflect log4j2 naming Update the configuration files to the totally new log4j 2 config syntax Replace PropertyConfigurator with LoggerContext Remove the abandoned log4j.lf5.util.ResourceUtils Signed-off-by: amohamad <a.mohamad@queensu.ca> Change-Id: Ie0f141eb2e0337ee5b63b61dc1395ccd8040558d
2020-07-29Optimization in git clone using --depthPratik Raj1-1/+1
optimize the git clone using --depth flag in term of size of clone and also in term's of time taken to fetch the files and commit history of whole repository . More detail can be found at blog https://www.atlassian.com/git/tutorials/big-repositories Issue-ID: SDC-3089 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Ib806bf0c172bd304abe9a138e2f85fcf14e07675
2020-06-24Refactoring the sdc-BE-init python scriptsk.kedron1-1/+3
Deeper refactoring of python script: - create the python package with init script - support for python 3.x - reuse code - new design - support for .json conf file - update the docker chef script Issue-ID: SDC-2784 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I02169eb7d0e3e90851ba1811536d1712c3b4145f
2020-05-06Remove unused ES code and unneeded ES health checkNeil Derraugh1-12/+0
Remove the ES health check since ES was removed. Issue-ID: SDC-3022 Signed-off-by: neil.derraugh@yoppworks.com Change-Id: I918212de39d7b53959ac400975b3c47f889252c1
2020-03-16Run pods as non-root userMichaelMorris1-9/+19
Summary of changes: sdc-cassandra-init Added user sdc (in base image base_sdc-cqlsh - https://gerrit.onap.org/r/103436) Run entrypoint as user sdc Moved relevant files from /root/ to /home/sdc/ sdc-backend-init Added user sdc (in base image base_sdc-python - https://gerrit.onap.org/r/103436) Run entrypoint as user sdc Moved relevant files from /root/ to /home/sdc/ sdc-backend Run entrypoint as user jetty Moved relevant files from /root/ to /var/lib/jetty/ Moved cadi & cert files from /opt/app/jetty to /var/lib/jetty/ Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh sdc-frontend Run entrypoint as user jetty Moved relevant files from /root/ to /var/lib/jetty/ Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh sdc-onboard-backend-docker Run entrypoint as user jetty Moved relevant files from /root/ to /var/lib/jetty/ Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh sdc-onboard-db-init-docker Run entrypoint as user sdc Added user sdc (in base image base_sdc-cqlsh - https://gerrit.onap.org/r/103436) Moved relevant files from /root/ to /home/sdc/ Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-2798 Change-Id: I85be320a4a5e1cc5aeebbb98c4484d5d6fd06dfc
2020-03-06Fix docker_run.sh scriptDmitry Puzikov1-3/+31
Add check of plugins-configuration.yaml file. If file doesn't exist don't mount volume to container. Added changes proposed in ticket discussion. Change-Id: I7025330afd9eb4e701ffc7dccaf0932ae72d8e11 Issue-ID: SDC-2759 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
2020-01-30Upgrade to Cassandra 3shrek20001-2/+3
Creating base dockers suitable for Cassandra 3 remove cqlsh version Change-Id: I996bad2341410cdf45c49f191e998acf4781fc5d Issue-ID: SDC-2596 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-26Remove ES + KibanaOfir Sonsino1-52/+0
Remove logo from ci report Change-Id: Idef648bc04feffc64ac513e0dbf212256e740978 Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-11-20Add non-mano software information to sanity test PNF packagesandre.schmid1-9/+6
Adds a sample non-mano artifact onap_pnf_software_information to existing api sanity test PNF packages. Resigns the 2 signed packages with the new root certificate. 2/3 packages are signed, so a new root certificate had to be generated, as the private key of the previous one is missing. In the docker_run script, creates a new folder to the test certificate, different from the production folder, and bind it with the sdc-api-tests docker. Minor changes in docker_run script. Change-Id: I78b28303215912df129a0e0d70afad5f3d0c2d09 Issue-ID: SDC-2641 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-08-30Use https request in the dcoker_runk.kedron1-26/+26
-Update the docker_run script to use https connection for healthCheck request. -Removing the onap/sdc-simulator each time when docker is running up to prevent error with restarting host -Checkstyle for script Issue-ID: SDC-2546 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I66fbb67bbcd3e200c61a5ec67f15f5f5dad5bc8c
2019-08-04Fix test docker readiness checkkaihlavi1-1/+23
- add probe_test_docker function to check test docker readiness - minor improvements to docker_run and test docker startup scripts Issue-ID: SDC-2376 Change-Id: If1ee25e8c7850c8e65a520f645ff80c7d5d36373 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-12Remove DCAE references from core SDCkaihlavi1-134/+18
Remove DCAE-related versions and docker_run.sh functionality (these should be handled in dt-be-main) Note that this change cancels https://gerrit.onap.org/r/#/c/sdc/+/88549/ Change-Id: I9c04331af6f05443ae4c7378b7072edd110fdc6d Issue-ID: SDC-2357 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-05-30Enable different version for DCAEkaihlavi1-15/+19
Separate core SDC version and DCAE version for CSIT Change-Id: I09ad9b0592d208a0ac77def8a9f85f0749d60c89 Issue-ID: SDC-2332 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-05-22miss a "/" in the directory path in docker_run.shLiang Ding1-1/+1
Change-Id: I9ca1bfd62d535ebaa6bc668ab5931f0d425856b3 Issue-ID: SDC-2247 Signed-off-by: Liang Ding <liang.ding@intel.com>i
2019-04-28Update Sanity tests to verify PNF package onboardingAndyWalshe1-1/+1
Change-Id: Ibf7af544bf5fb9c63cf8d9c1573dafe50a395560 Issue-ID: SDC-1970 Signed-off-by: AndyWalshe <andy.walshe@est.tech>
2019-04-07Certificate location is configurablekooper2-1/+6
Change-Id: I05cf96dd21c891312a5b5e67da3baf7a37e50e54 Issue-ID: SDC-2195 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-04Make Cassandra port configurable.Tal Gitelman1-1/+1
SDC-BE & Onboarding - BE. Reviewer: Evgenia A & Areli F. Change-Id: Iaf86d647b0560764ef65d9148c85bffaf934992d Issue-ID: SDC-2077 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2019-01-22Allow custom plugins in SDCshrikantawachar1-1/+1
Allow custom plugins in SDC Change-Id: I09475a4f795734f7911e24652560f7d41ddb8d14 Issue-ID: SDC-2022 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-10-02fix security violationYuli Shlosberg1-1/+1
Change-Id: I78adf42e6a328e782b4db394fa1a90c17bea9f17 Issue-ID: SDC-1725 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-09-27fix a typo in docker_run.shliang ding1-1/+1
Change-Id: I9e1d96afd6bba1082cdef77578ac6ed16f1c88ae Issue-ID: SDC-1803 Signed-off-by: liang ding <liang.ding@intel.com>
2018-09-18Fix docker runLianhao Lu1-1/+1
Fixed the bug of docker run simulator. Change-Id: I9e1ba595d306137eddfecb7a516804c9b7259116 Issue-ID: SDC-1747 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
2018-09-17Updated readme fileIdan Amit1-1/+1
Updated REAMDE.md file to include the latest instructions of the SDC project Removed unused flag from help output of docker_run.sh script Change-Id: Ifb83e587b0ed37ab51953021d7849e9f8b4c9046 Issue-ID: SDC-65 Signed-off-by: Idan Amit <ia096e@intl.att.com>
2018-08-20fix docker runMichael Lando1-14/+2
fix bug in the docker run simulator exaction Change-Id: I78879d830ad0cbe4801cb478f7e3bd379bc80a79 Issue-ID: SDC-1665 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-15maven improvements and clean upMichael Lando1-13/+51
update plugging to latest available versions, remove un needed files from source control clean up commented sections. disable verbose for docker plug in. add logback file for tests to disable out put by default. update logging calls to new api. disable logging on debug level. update docker run to include simulator on demand Change-Id: Icc0fb7add6dd4fe65f5f3d8dd309fd8dae2681fc Issue-ID: SDC-1639 Signed-off-by: Michael Lando <ml636r@att.com>
2018-08-02updated docker_run.sh with debug portTal Gitelman1-3/+6
Change-Id: I061224960a76aa7c7ef47b971822eebf44403084 Issue-ID: SDC-1493 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-07-19fix docker_run scriptYuli Shlosberg2-189/+4
Change-Id: I4151bb342c9330990271ed9eb7e96d19e8e4c165 Issue-ID: SDC-1543 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-07-15Add DCAE deployment to SDC docker runAreli, Fuss (af732p)1-235/+437
Add DCAE deployment to SDC docker run Change-Id: Iac1f622d86eb98598ca09ed34ee354aa98be7144 Issue-ID: SDC-1395 Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
2018-06-02tine out configuration not usedMichael Lando1-2/+0
Change-Id: I55c81975cd40b81510b18865e32e2f5394718349 Issue-ID: SDC-1344 Signed-off-by: Michael Lando <ml636r@att.com>
2018-06-02fix docker_run scriptliboNet1-1/+1
Change-Id: I8b830a9dde331a5beafde0b5d2615c9eb44806aa Issue-ID: SDC-384 Signed-off-by: Michael Lando <ml636r@att.com>
2018-06-02add delay for csitMichael Lando1-189/+171
add sleep 30s between cassndra startup and the init exacution. Change-Id: Icc32d18d23982030ea8a0009c47a1e3c288f8884 Issue-ID: SDC-1344 Signed-off-by: Michael Lando <ml636r@att.com> (cherry picked from commit 0a3c4290cc8d29ac42413994a05c438ff06edd6f)
2018-05-24Add support for running SDC using Docker on OSXdekstroza6-339/+56
This patch adds support for running SDC on OSX. There are several OSX specific commands wrt to getting host IP address, mounting /etc/localtime and using / filesystem in run/build process Issue-ID: SDC-1297 Change-Id: I2da3ce13d7c254d06376c717ae22f2cb446c63bd Signed-off-by: Michael Lando <ml636r@att.com>
2018-04-24Add cluster resiliance supportAreli, Fuss (af732p)1-4/+4
Add configuration support for CS/ES cluster and add truststore default files to support ssl connection Change-Id: Icc2831704e8a3c55ce9b380a39001891ce8d41ab Issue-ID: SDC-1254 Signed-off-by: Areli, Fuss (af732p) <af732p@intl.att.com>
2018-04-24Create on boarding dockerAvi Ziv4-4/+73
Add BE and Cassandra init docker images Change-Id: Id9d767c73fc946819cec821b4634ce650cbb22fd Issue-ID: SDC-781 Signed-off-by: Michael Lando <ml636r@att.com>
2018-04-11Replace ssl configurationAreli, Fuss (af732p)1-1/+1
Replace ssl configuration from hardcoded into variable Change-Id: I1e393d311940944060d3f3f4e1093ee96eece777 Issue-ID: SDC-1176 Signed-off-by: Areli, Fuss (af732p) <af732p@att.com>
2018-04-10fix docker_run scriptYuli Shlosberg1-1/+2
Change-Id: I6f79f6ae743802fc64e7375ae9fa6ae75463c15e Issue-ID: SDC-384 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-04-10fix ui-ci pomYuli Shlosberg1-1/+1
Change-Id: I9ab31dc822245fa9fdc5f5d5e75d948d31d58690 Issue-ID: SDC-384 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-03-22review docker memory asignmentGitelman, Tal (tg851x)1-3/+3
Change-Id: I2bb8ea93069b627beb58f74d5dfcf900b5957f0e Issue-ID: SDC-650 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-21Onap normatives are imported alwaysGitelman, Tal (tg851x)1-1/+1
Change-Id: I33b05ae29bc41ed90a87cf01960a848f2484200d Issue-ID: SDC-1103 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-21new ui sanity dockerYuli Shlosberg1-19/+92
Change-Id: I257c198c563771b5badcf36a479cb499f841682f Issue-ID: SDC-995 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-03-19Align current csit testing - fix CSIT testsGitelman, Tal (tg851x)1-1/+1
Change-Id: I453a6af8126540602cd98cc37580e75f67b86c16 Issue-ID: SDC-1097 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-03-11fix be-init dockersvishnev2-393/+2
Change-Id: I5a9d17e8f4fe885c696e4e2f992218c28b41e986 Issue-ID: SDC-915 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
2018-03-07Sync Integ to MasterMichael Lando3-97/+543
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74 Issue-ID: SDC-977 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-02-28docekr_run improvementYuli Shlosberg1-1/+2
Change-Id: I2891bc48d8ab850a9602507fa9d4fc5a18e0573f Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-02-27fix docker run scriptYuli Shlosberg2-392/+6
Change-Id: I59dbb29af17dc108e9593b6a28205ed7bd74016d Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-02-26fix docker_runYuli Shlosberg1-3/+3
Change-Id: I5dcfa7aaedeaed84ce7600c435a2de86c5ead26e Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-02-26update docker_runYuli Shlosberg1-2/+2
Change-Id: I9da3c28e1f207e1c2b1707092589b3b71e25d82f Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-02-25update docker_runYuli Shlosberg1-0/+1
Change-Id: Ic5c195c97afead483459089734b7aa7ae58c10b5 Issue-ID: SDC-920 Signed-off-by: Yuli Shlosberg <ys9693@att.com>