summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-01-17Fix use of Optional in EntitlementPoolZusammenDaoImplfranciscovila1-3/+6
Checking the Optionals are present before getting their values in the EntitlementPoolZusammenDaoImpl class Issue-ID: SDC-3835 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9e2ead4b88510499ae6c8377c95bba3be21935a7
2022-01-13Fix use of Optional in ToscaElementOperationfranciscovila1-3/+8
Checking the Optionals are present before getting their values in the ToscaElementOperation class Issue-ID: SDC-3831 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I411f7d70a0016f0632e6e0daa315dfa70ffe8de9
2022-01-13Improve testing stabilityvasraz150-179/+178
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6 Issue-ID: SDC-3839
2022-01-13Fix use of Optional in ComponentBusinessLogicfranciscovila1-2/+6
Checking the Optionals are present before getting their values in the ComponentBusinessLogic class Issue-ID: SDC-3829 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9ec1825dfa0489875933728fa708fc79f0991751
2022-01-13Fix use of Optional in TranslatorHeatToToscaParameterConverterfranciscovila1-1/+1
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaParameterConverter class Issue-ID: SDC-3833 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6721c028c420734f3a02f78468e4b22acbfb5be8
2022-01-13Fix use of Optional in ComponentInstanceInputsMergeBLfranciscovila1-5/+9
Issue-ID: SDC-3830 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I3504f3fdb449e2b236501eaa31dbe4e2cbda1247
2022-01-12Fix use of Optional in ModelOperationfranciscovila1-1/+2
Checking the Optionals are present before getting their values in the ModelOperation class Issue-ID: SDC-3832 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ia28c3ebbd32db83b54b4f8d5b5fa35dfa2c4af50
2022-01-11Remove test-jar generationvasraz22-7/+334
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icc9f423b93a01fbcca3f45c4e8783d40aa6d6936 Issue-ID: SDC-3840
2022-01-11Release 1.10.0MichaelMorris1-0/+22
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3838 Change-Id: Ic976e15e30b03a7eb552c35afa46e9d1ce6b78cc
2022-01-10maven.test.skip causing skipping of test-jar1.10.0MichaelMorris1-1/+0
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3840 Change-Id: Id369c77e7f48c67991b173b60f11395feb2b7044
2022-01-07Update release notes for 1.10.0MichaelMorris1-0/+122
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3838 Change-Id: I66438d521ead0843c85b7f9972c4a744687404d0
2022-01-07Upgrade min.io to latest version (8.3.4)vasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ibdb51617d5c43ee2d7d246d5dbb27c2db496097a Issue-ID: SDC-3754
2022-01-07Update property to identify SOL004 packagesaribeiro2-1/+10
Issue-ID: SDC-3837 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I2af0628cddbbddd790ff9874e2f393a2f31f7407
2022-01-07Fix NPE in ArtifactsBusinessLogicfranciscovila1-1/+1
Sonar reflects: NullPointerException will be thrown when invoking method validateOrSetArtifactGroupType() Issue-ID: SDC-3828 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ic228dedb9719f10be57278ae485a24250e412eab
2022-01-05Make configurable UI versionvasraz11-14/+9
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I410eaaf40106d869a8d50bdd547031430f4f1693 Issue-ID: SDC-3824
2022-01-05Fix use of Optional in HeatToToscaUtilfranciscovila3-2/+122
Checking the Optionals are present before getting their values in the HeatToToscaUtil class. Adding a new test class for this purpose Issue-ID: SDC-3018 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9fbfbb6f9ebff1f0259b9c9113da6730bfa01cfa
2022-01-05Remove vulnerable dependencyvasraz5-24/+21
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic8283d37a0c4c5c4f4d30016525b819a56401c5e Issue-ID: SDC-3820
2022-01-04Fix inputs created incorrectly.MichaelMorris3-3/+12
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3822 Change-Id: I6ea226fe3f0e18c41700b79f6fa96907a1d81709
2021-12-23Update Catalog-model set skip deploy to falsearibeiro1-1/+1
Issue-ID: SDC-3823 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I32df215812932ee21c8d294ecc7fb0357b40f00a
2021-12-21Identify SOL004 packagesaribeiro7-16/+61
Issue-ID: SDC-3819 Signed-off-by: MichaelMorris <michael.morris@est.tech> Change-Id: I7ea36ebc27753e8068791cffc3340db30adc4662 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-12-20Fix unable to set node topology interfaceMichaelMorris1-1/+2
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3800 Change-Id: I30857b342e04ab2fe4c66505277848ea1cc89c93
2021-12-20Fix set value of custom data typeMichaelMorris3-7/+7
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3799 Change-Id: I68c7e67080edcc912cc882198192802c96a27f9b
2021-12-18Fix potential Log4Shell Security Vulnerabilityvasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I2bac0e6562f5aea5e98bef9405accde125c24863 Issue-ID: SDC-3820
2021-12-17Fix MongoSocketOpenException-issuevasraz5-138/+82
Change-Id: Iebeb7d8a67ddc397d833795cd20205a364709f11 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3816
2021-12-17Fix NPE in ToscaElementLifecycleOperation - handlePreviousVersionRelationfranciscovila1-1/+1
Change-Id: I8a0ffe60755788857842f5baa98dd34ccd81f33d Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Issue-ID: SDC-2968 fixed review comments
2021-12-17Allows custom property type namesaribeiro1-2/+9
When onboarding a VSP with private data types SDC shall allow custom property type name on its declaration. Issue-ID: SDC-3805 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I3d9de6936653cf857082e970213f584cdc6e54fb
2021-12-09Fix generated tosca and Required fields validationaribeiro3-10/+16
Fix Incorrect properties entry on the interface operation implementation definition and Required fields validation. Issue-ID: SDC-3796 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib6624fb884181612b2d94970d3cca28af839151d
2021-12-09Improve fast-build profilevasraz16-394/+411
Remove docker build from 'fast-build' profile Change-Id: I90b79bc05ecd159b5c6ff62f195507476dcdaa38 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3804
2021-12-08Enable VF to be nested in a VFaribeiro1-1/+2
It allows a VF to be dragged and dropped in another VF. Issue-ID: SDC-3803 Signed-off-by: MichaelMorris <michael.morris@est.tech> Change-Id: I02138de4816cb2a74b589b329622617d0d2e8223 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-12-08Allow space and single quote in prop namesaribeiro1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3802 Change-Id: I9017083e1e26794b006abffe4db9472b5b788ca1 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-12-07Fix vulnerable dependencyvasraz36-62/+279
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3795 Change-Id: Ib6f7902b2f8380ad9febcc2fad0374e8070af15c
2021-12-07Update import service to import substitution filtersKrupaNagabhushan6-7/+95
Issue-ID: SDC-3774 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I7f747a07c82db6cec80db7ec1cb69fe9a5c8743a
2021-12-07Fix Node Filter faultsaribeiro5-42/+51
Issue-ID: SDC-3798 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: If8f3cbed8bf63bc1667e279b48ac0c2488d6a350
2021-12-06Update import service to import node filterKrupaNagabhushan6-15/+221
Issue-ID: SDC-3775 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ide75c9319ad321d796a1ead34cbf425ad8de5504
2021-12-06Add node filter with getInput functionaribeiro9-85/+162
Support get_input functions for creating node and substitution filters Issue-ID: SDC-3793 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ie00f621be8418b4a9c88afcbbc07d80c22165e9b
2021-12-06Fix import service to persist its model nameKrupaNagabhushan3-2/+5
Issue-ID: SDC-3801 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ibf3fc8b1a2a8871058e763d915accec5c72375ec
2021-11-29Add VNFD to NSD when using S3 storagevasraz12-208/+310
Change-Id: I8eb810fadfe54b335647e71e21115514963b4be7 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3792
2021-11-26Revert accidentally formatted POMsvasraz6-1646/+1637
Change-Id: I17ee875dcc2c63d6014c68345113df76cb2aa9b9 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3757
2021-11-26Set default base type when none is providedandre.schmid4-27/+145
Sets a default base type (substitution type) when no base type is provided during the creation of a service with a category that requires a base type. Previous to the introduction of the optional base type, the system would always add a base type to a Service. Change-Id: I32e892fc23719fd569062ee806eb0be7b5af4ac6 Issue-ID: SDC-3791 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-11-25Fix incorrect vsp version id in upgradeandre.schmid2-3/+1
During the upgrade of a VF through a VSP, the VSP version id passed to the backend is always the current VF version id, not the one to upgrade. Even passing the correct VSP version id, the backend was not persisting the latest version id in the metadata, keeping always the previous one. Change-Id: Ife2b92789d47a63ba5358c6ed8db8279db94ed46 Issue-ID: SDC-3790 Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: krupa.nagabhushan <krupa.nagabhushan@est.tech>
2021-11-22Fix test cases failing incorrectlyvasraz38-5015/+5079
https://gerrit.onap.org/r/c/sdc/+/124980 Change-Id: I9fbd8a0b5b83d04928feea7624e593b45441ac9b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3757
2021-11-17Update service import to import self propertiesKrupaNagabhushan8-9/+81
Issue-ID: SDC-3764 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I6d6c3a40484b0a5df2611c036740ad9965e6a73d
2021-11-16Fix potential NPEvasraz2-2/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I9138d498fce81692b286ec01b75e94e029b06c95 Issue-ID: SDC-3785
2021-11-15Move CSV's generation folder to targetvasraz5-56/+54
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I379f20499eeb81f2dc82a943eaef4133ec6f6408 Issue-ID: SDC-3771
2021-11-15Fix archive and restore actionsaribeiro5-16/+17
Issue-ID: SDC-3784 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia2d556913834fb65570470ed1dd79095f7b0411d
2021-11-15Fix critical cross site scriptingvasraz20-1120/+1115
Change-Id: I66a220f71a2e950055107a725191b46bcbe8c6a6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3607 Issue-ID: SDC-3755
2021-11-12Fix broken TC (ExternalRefsServletTest)vasraz7-165/+91
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3776 Change-Id: Iac19fea2b6f8a36dc29f4a8d5cea277d226342b2
2021-11-12Fix stability test issueMichaelMorris3-25/+19
Failures in stability tests are observed on attempts to get distribution status from SDC backend. These errors are caused by timeouts when reading from the DB (5 sec) and also the reads exceeding the tombstone threshold (100,000). The fix implemented in this change is two fold: 1. Stop writing null values in empty columns in DB writes (a tombstone is created for each null column value) 2. Change the query to the DB to remove the unnecessary filtering which greatly increases the time taken for the read. Failures in stability tests are also observed due to failures in parsing YAML files from VSP. The files are parsed using snakeYAML. The class used is not thread safe however it is possible for it to be invoked in multiple threads. This is most likely the cause of the parsing failures The fix implemented here includes changes to ensure an instance of the Yaml class is not used across multiple threads Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3773 Change-Id: I4067ff0032bb67ab114db2f05accce5d7b42d188
2021-11-11Fix auth failure to dmaap after upgradevasraz1-0/+8
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3756 Change-Id: I58e6f99156e1e64443cd79c2e08f73987329b88d (cherry picked from commit 9e81c0f8d1c759cfe54312fed69b9ba263f4e52e) Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2021-11-11Use base image user on sdc-backend-all-pluginsandre.schmid1-1/+1
Change-Id: I8465ccaec6fadf1fcc259bd12cb6fa856c5225eb Issue-ID: SDC-3783 Signed-off-by: andre.schmid <andre.schmid@est.tech>