aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-11-09Remove unnecessary resource filtering on buildandre.schmid1-1/+0
Removes unnecessary resource filtering in asdctool project, configured for the folder "/catalog-be/src/main/resources/import/tosca". Change-Id: I71edfed679b11b2fc28b761657b0424a14d6e7d7 Issue-ID: SDC-3782 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-11-05Large csar handling - object storevasraz28-751/+1280
Change-Id: I4e88bd7bfcc1fdbc93d67da2682f2e873ba243c6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3754
2021-11-05Fix ModelToscaTypeImportTest integration testvasraz1-14/+37
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I1278f67d7aa686737ff4b22fc8c3399ea7017e70 Issue-ID: SDC-3772
2021-11-05Add UI support for adding tosca artifact typesaribeiro28-110/+692
UI support for adding artifacts to an interface operation implementation Issue-ID: SDC-3768 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I71b3e49a160521e35a45515ad7adef836f901e78
2021-11-02Support for adding artifact typesaribeiro24-80/+970
Issue-ID: SDC-3763 Change-Id: Ideb63cbb3eb4e383adebaa11de49e91414a2c9a7 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-11-02IT Test Import tosca types for a modelvasraz16-355/+613
Issue-ID: SDC-3735 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I45d438af0439ad553869e26feb4175795e417d4c Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2021-11-02Fix 'unable to run TCs separately'vasraz1-2/+2
running TC 'ImportVfcUiTest.importVfcWithModel()' separately produces initialization error Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5ce70532bb66e31565b74d96accd89da7e9fafed Issue-ID: SDC-3770
2021-11-02Import VSP with non-standard policy typesdavsad12-80/+178
Issue-ID: SDC-3715 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I48e9831b8a27341db2d33d85125cb9d42043e71b
2021-10-27Fix model and category change issues on Serviceandre.schmid1-16/+31
During Service creation, when the model value changes, the dependent fields information, category and substitution type, were not correctly being erased. Also, during the Service edition, the category validation that checked if the selected category is allowed for a base type was incorrect. Change-Id: Ibdf63168ad681ade9b500e95beff1bd69c304420 Issue-ID: SDC-3765 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-21Make Service base type optionalandre.schmid42-682/+974
Issue-ID: SDC-3759 Change-Id: I8adf112966ee9303fc965a74cec7203274acd735 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-19Support get_input for complex data typesaribeiro4-12/+44
Issue-ID: SDC-3760 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I68ceaa47012186533a90f06c2688454f5dde799b
2021-10-19Skip UI tests during fast buildandre.schmid3-2/+3
Skip UI tests when using maven fast-build profile. Change-Id: I0d6b10eaddc44be0000cef0c5d8847ad68372b32 Issue-ID: SDC-3753 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-18Force encoding while reading files in init scriptsandre.schmid6-8/+8
To avoid system dependency by using the default encoding, this change sets the encoding when opening files in python scripts to "UTF-8". Change-Id: Ib35f4300f10dea309fcc2967448bd80cad0b335f Issue-ID: SDC-3761 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-10-15Import multiple node types in a single endpointandre.schmid50-867/+2174
Change-Id: I7aa914d459a083146b92ef82197c8df265b8c5b6 Issue-ID: SDC-3752 Signed-off-by: andre.schmid <andre.schmid@est.tech>