summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
AgeCommit message (Collapse)AuthorFilesLines
2020-10-26Fix broken local build1.7.2vasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3333 Change-Id: Ia246d909488517b037c01c9e0907d910b31e9db6
2020-10-20Upgrade to 1.7.2sebdet1-1/+1
Prepare for release 1.7.2 Issue-ID: SDC-3323 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ie36a6fd164eefd776cc90b0c5d9527993e87cc02
2020-09-25Standardize docker tagging1.7.1sebdet1-2/+5
Standardize the docker tagging in all maven modules Issue-ID: SDC-3300 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id43cbd8efea119d4acf7280b75c30a0275ec3242 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-09-18Introduce a new docker for be pluginssebdet1-1/+1
Introduce a new docker image containing the etsi plugin and potentially others + simplify the process to build backend image + cleaning of unused files Issue-ID: SDC-3289 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I82c770b391d169bef3bcc5f5af66e2a24dffb1b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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-07Update version to 1.7.1sebdet1-1/+1
Update the pom to 1.7.1 so that we could deliver when we want Issue-ID: SDC-3274 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I1cea02ebe28cc7cbb03ea5dd3ced98953e32dfc1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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-07-15Align onap/base_sdc-xyz versionsvasraz1-1/+1
Change-Id: Ic2e53bb76b0b6bc54de3336f5e5916eba189fe18 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3201
2020-06-25add a new profil for fast buildJulienBe1-0/+1
Issue-ID: SDC-3148 Signed-off-by: JulienBe <julien.bertozzi@intl.att.com> Change-Id: Ie98194fe6d136f57491a0590ab2afc9db59fbfbd
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-19Increase cassandra/janusgraphk.kedron1-3/+3
Increase the cassandra and janusgraph connection timeout to tune the working for the sdc-be in the overloaded environment. Issue-ID: SDC-2759 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I5c903724c9c555a3ca4a0513b3eaa7286086b0b4
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-12Disable SecurityFilterOfir Sonsino1-1/+1
Bumping version to 1.7.0 Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff Issue-ID: SDC-2825 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
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-03-05Stepping base_sdc-jetty and base_sdc-cassandra versionMichaelMorris1-1/+1
Change-Id: Ia26fa595502c677dc1014e280cee09581f013452 Issue-ID: SDC-2761 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2020-02-05Remove ES & Kibanavasraz60-2060/+2
Change-Id: I983a0fe570b1a2cbf641f4285ef030be686bed32 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2724
2020-02-02Move to version 1.6.1shrek20001-1/+1
Move SDC to version 1.6.1 Issue-ID: SDC-2755 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: If5c55fdebb5bc2591190ee4389487f6dbb0e1831 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2020-01-30Upgrade to Cassandra 3shrek20006-74/+4
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 Sonsino2-66/+1
Remove logo from ci report Change-Id: Idef648bc04feffc64ac513e0dbf212256e740978 Issue-ID: SDC-2724 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-01-23Fix CSIT - adding missing parameters to template.jsonYuli Shlosberg1-28/+46
Issue-ID: SDC-2732 Signed-off-by: Yuli Shlosberg <ys9693@att.com> Change-Id: Id4fd22b905e7f94725c6a3d83a8650453cbacb2f
2019-12-18Revert "Add Option to proxy to plugins"aribeiro2-5/+1
This reverts commit ee4c4d72 Issue-ID: SDC-2648 Change-Id: I1f6cba80d3fb803530573c75f2fc54ca207e768a Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2019-12-05Add Option to proxy to pluginsilanap2-1/+5
Added option to proxy the plugins throught the catalog proxy. Remove hardcoded redirect to workflow and added to the plugin configuration. Issue-ID: SDC-2691 Signed-off-by: ilanap <ilanap@amdocs.com> Change-Id: Ica479ff00e1a8c281b9280b5495ac022172775c4 Signed-off-by: ilanap <ilanap@amdocs.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-10-29Bump SDC version 1.6.0Ofir Sonsino1-1/+1
Change-Id: Ibacb46d19d49023a62caa8f5217086cea6c91ac4 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-10-03Add support for HTTPS in sanity testsPetr Ospalý1-2/+5
If 'disableHttp' is enabled then HTTP ports are replaced with HTTPS ports. Also added the latest trustore with AAF issuer. And because certs for SDC components have CN set to "sdc" - environment json must have the domain names correctly too...it will not work with plain IPs. The changes have been tested from CSIT perspective so if something is missing here or wrong then it is due to the fact that I was focusing on bringing https support to the same level as are http tests and there is also the fact that I do not know SDC component at all. The changes are also done in a manner of previous ones - hacked on top of the current codebase, which is in dire need of a rewrite: - duplicated trustores and other artifacts - duplicated scripts and/or similar script with small differences - ui tests use old ubuntu image vs api tests on alpine - chef codebase is very messy and I see no benefit in the current usage Issue-ID: SDC-2564 Signed-off-by: Petr OspalĂ˝ <p.ospaly@partner.samsung.com> Change-Id: I32e0fb7723ab8489eb09372d410c6f34aaf7cfc8
2019-09-10Bump SDC version 1.5.2Ofir Sonsino1-1/+1
Change-Id: Ib672dc8d60a0b6f4b37fd94afe84bc27dfba4c44 Issue-ID: SDC-2560 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
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-07-28Update SDC version 1.5.1Ofir Sonsino1-1/+1
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-10Corrected typos in chef scripts.k.kedron2-18/+18
Corrected typos and checkstyles. Issue-ID: SDC-2424 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If2464645dad7da3fa7706e35e4ccace3ece6aeb4
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar2-2/+2
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-12Add DCAE_TOSCA_LAB_VIP to env templatekaihlavi1-85/+85
Add DCAE_TOSCA_LAB_VIP to Template.json to ensure the generated environments/CSIT.json for CSIT docker setup starts up properly to enable DCAE-BE communication to tosca-app container Tabs removed and indents aligned Issue-ID: SDC-2358 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: If509563097f9c53b70483eb205d7a363ee46bb35
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-05-07Update SDC version 1.5.0Sonsino, Ofir (os0695)1-1/+1
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-30Upgrade SDC to use common cassandra clustermahendrr2-7/+8
Change-Id: Ib6a45de3b10cb57466b7b3ef2e18b2fe07639c0f Issue-ID: SDC-2199 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
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-14Revert "Upgrade SDC to use common cassandra cluster"Sonsino, Ofir (os0695)1-2/+1
This reverts commit 00a6a4d66b0d22d530314816b4b5697fbc975e37. Change-Id: I308844556aea66e91064d9067e3ba54179a0bb46 Issue-ID: SDC-2199 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-10Upgrade SDC to use common cassandra clusterMahendra Raghuwanshi1-1/+2
Issue-ID: SDC-2199 Change-Id: I139f38f3f3d968b775c9962bfe3ad6d13ea7f678 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-04-07Certificate location is configurablekooper4-2/+16
Change-Id: I05cf96dd21c891312a5b5e67da3baf7a37e50e54 Issue-ID: SDC-2195 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-04Make Cassandra port configurable add defaults.Tal Gitelman1-0/+2
SDC-BE & Onboarding - BE. Reviewer: Evgenia A & Areli F. Change-Id: I4f11e354619a3f5cc276c128149a34f72c4b21bd Issue-ID: SDC-2077 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2019-04-04Make Cassandra port configurable.Tal Gitelman13-3115/+28
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-02-18fix a typoLiang Ding1-1/+1
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
2019-01-22Allow custom plugins in SDCshrikantawachar3-16/+30
Allow custom plugins in SDC Change-Id: I09475a4f795734f7911e24652560f7d41ddb8d14 Issue-ID: SDC-2022 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2018-11-29update sdc portal integrationTal Gitelman1-1/+2
Issue-ID: SDC-1749 Change-Id: Ie306076357cb572402ac80b4be9eb9c5cfa960dd Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-11-26error when trying to archive\restoreavigaffa1-1/+2
fix bug: getting server error when trying to archive\restore VLM\VSP Change-Id: I7abefd2d8ac368d590329071a56f200c203cf966 Issue-ID: SDC-1667 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>