summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-10-15Ignoring test cases failing incorrectlyvasraz2-0/+4
Four test cases are failing on Jenkins but the failures are not related to the code changes and are passing when exectued locally. This change is to ignore those test cases until they can be made more robust Signed-off-by: MichaelMorris <michael.morris@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3757 Change-Id: I7d32b349128027fdeae343967cd7e3734ac03167 (cherry picked from commit a22d38859d780418e13dd9cced57bdffdcfaa309)
2021-10-12Revert "Fix critical cross site scripting"vasraz1-4/+3
This reverts commit 7c8f40bc6df4a5a4d5822e48ecbe5ebe6a0d251a. Change-Id: I5719e82cffd36a21f265217265acf7eac060124b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3755
2021-10-12Add a display name for the category metadataKeys entriesdavsad7-5/+18
Issue-ID: SDC-3737 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ia9547f02267fd380feeef6be6af10beadd30457b
2021-10-08Allow importing service with no instancesKrupaNagabhushan3-18/+20
Issue-ID: SDC-3751 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I383d9fd8901b9c3e968ba18bfc31a520a490be0b
2021-10-07Update release notes for 1.9.3MichaelMorris3-35/+118
Including fixing mismatches in configuration causing doc build to fail Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3696 Change-Id: Iddb67662f79256b52a14d4338a6a29ce772eec38 (cherry picked from commit b56849714284d600c56fa265014cdbcf6c3fd4c2)
2021-10-06Adding type safety to the service dependency editor.davsad8-33/+143
Issue-ID: SDC-3725 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I63d77837fb0df24f5ee12baa5b852a76ce5f55e3
2021-10-06Fix clean up of build file sdctool.tarandre.schmid1-0/+24
Fixes clean up/generation of cassandra-init build file sdctool.tar. It was not being deleted during the clean, also not being overwritten during the build. This could cause the file to not be updated during the build process, in case of changes in the content that composes it. Change-Id: I82ba2cfaa0f7d823fcf5cfff27292483a7ff9ea2 Issue-ID: SDC-3741 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-05Filter categories by model namearibeiro17-153/+239
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-10-05Fix child model being shown in UIKrupaNagabhushan2-2/+16
Issue-ID: SDC-3734 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Iadbbf93dc2a84a14df6b73a191d4c6d3e657f4d1
2021-10-05Allow multiple base types for a servicevasraz10-668/+636
Change-Id: I2e37818a432295a6e9f795f38d730d60f66eef78 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3727
2021-10-05Display model in UI tilesaribeiro1-0/+3
Issue-ID: SDC-3736 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I4929a36d5f261eaad5e5948569f594d0a283af64