aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-11-15update sdc version in masterMichael Lando1-1/+1
update sdc version to 1.4.0 for master Change-Id: Ia3b16b397b6e01dc185549dd20be399ee67a791a Issue-ID: SDC-1913 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-05bump sdc version to 1.3.3Michael Lando1-1/+1
Change-Id: I703591a9985f9792649622b16f2a05aa89d1d8ea Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01update sdc to version 1.3.2Michael Lando1-1/+1
Change-Id: Ibd1a6a23f061c23e8bb0bb603f6ac315581564f6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01upgrading jettyTal Gitelman5-7/+4
Change-Id: Ie6307656f88cab59346bb17bcfc75ca494b572d7 Issue-ID: SDC-1767 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2018-10-24update sdc version to 1.3.1Michael Lando1-1/+1
Change-Id: I195d96ddf5bd6257ade7eb56c65f9e4bc2d602b6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-10-21update jetty dockerTal Gitelman3-3/+3
Change-Id: Ic2b0e7dff24618123ffaa455ec694bb8fb87c183 Issue-ID: SDC-1767 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-10-12update sdc portal integrationTal Gitelman1-6/+3
Change-Id: I6e17434f753c2eaa562da80c1eade8688601f510 Issue-ID: SDC-1749 Signed-off-by: Tal Gitelman <tg851x@intl.att.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>