summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-10-01Expand allowed chars in property names to include colonvasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ie49630306b44f0a38b35ddee46144295651282f4 Issue-ID: SDC-3729
2021-10-01Step version for JakartaMichaelMorris165-166/+166
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3738 Change-Id: Id008db63021d07278bd17a6603d992a905237e41
2021-09-29Fixing distribution to AAI/SO issueMichaelMorris2-2/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3740 Change-Id: Ib39125eac6011c393f6ee643e3997e1bff6f43c3
2021-09-23Fix certify VFC with Modelaribeiro1-5/+11
Issue-ID: SDC-3732 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ic0dc8f86101ce303d01c51c7711c1cbad9308a3c
2021-09-22Update Template.jsonJvD_Ericsson1-0/+8
Added Helm Validator to the environment file Issue-ID: SDC-3733 Change-Id: I9ecab3b917e72884bb3fcd5faaaf507021e6222d Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2021-09-20Error re-importing VSPKrupaNagabhushan19-34/+441
Issue-ID: SDC-3728 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Signed-off-by: André Schmid <andre.schmid@est.tech> Change-Id: I22d6186b8e6922511a7ede584d009cfae041fabd
2021-09-20Release 1.9.2MichaelMorris1-0/+22
Release for bug fixes on 1.9.1 for Istanbul release Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3694 Change-Id: Icc5030ab4fff4046552597dddd9e2762dac06a08
2021-09-20Updated SDC version to 1.9.2-SNAPSHOT1.9.2MichaelMorris165-165/+165
Updated to release bug fixes on 1.9.1 for I release Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3694 Change-Id: Ifda88730a17f2ecabab0ac29128aaa23618bc4f8
2021-09-20Fix update VSP missing VSP version idandre.schmid11-21/+43
Fills the gaps of persisting and loading the VSP version id Change-Id: I4d6c63bd2309777fdfb337cf98c1a0f9daaa434b Issue-ID: SDC-3731 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-17Fix Update VSP when no version id is providedandre.schmid8-1/+91
Issue-ID: SDC-3730 Change-Id: Ic5a5a6ecf3b6775e022be649145e44b0907cbecf Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-16Update release notes for 1.9.1MichaelMorris1-0/+74
Update release notes for I release Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3696 Change-Id: Ifbfba108ece954e65ce502d33e7ab35d3d428620
2021-09-16Update docs for multi model supportMichaelMorris5-54/+1868
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3726 Change-Id: I4ba36318fc8c7de60ccb9c3d01d5aadedc94bded