sdc.git
2 years agoFix incorrect vsp version id in upgrade 97/125797/2
andre.schmid [Fri, 19 Nov 2021 12:58:28 +0000 (12:58 +0000)]
Fix incorrect vsp version id in upgrade

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>
2 years agoFix test cases failing incorrectly 10/125010/14
vasraz [Mon, 15 Nov 2021 12:27:54 +0000 (12:27 +0000)]
Fix test cases failing incorrectly

https://gerrit.onap.org/r/c/sdc/+/124980

Change-Id: I9fbd8a0b5b83d04928feea7624e593b45441ac9b
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3757

2 years agoUpdate service import to import self properties 56/125156/10
KrupaNagabhushan [Fri, 15 Oct 2021 13:52:43 +0000 (14:52 +0100)]
Update service import to import self properties

Issue-ID: SDC-3764
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I6d6c3a40484b0a5df2611c036740ad9965e6a73d

2 years agoFix potential NPE 64/125764/2
vasraz [Mon, 15 Nov 2021 17:34:32 +0000 (17:34 +0000)]
Fix potential NPE

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I9138d498fce81692b286ec01b75e94e029b06c95
Issue-ID: SDC-3785

2 years agoMove CSV's generation folder to target 27/125527/8
vasraz [Mon, 15 Nov 2021 15:45:28 +0000 (15:45 +0000)]
Move CSV's generation folder to target

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I379f20499eeb81f2dc82a943eaef4133ec6f6408
Issue-ID: SDC-3771

2 years agoFix archive and restore actions 96/125696/2
aribeiro [Thu, 11 Nov 2021 15:31:07 +0000 (15:31 +0000)]
Fix archive and restore actions

Issue-ID: SDC-3784
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ia2d556913834fb65570470ed1dd79095f7b0411d

2 years agoFix critical cross site scripting 72/125272/6
vasraz [Thu, 21 Oct 2021 16:32:16 +0000 (17:32 +0100)]
Fix critical cross site scripting

Change-Id: I66a220f71a2e950055107a725191b46bcbe8c6a6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3607
Issue-ID: SDC-3755

2 years agoFix broken TC (ExternalRefsServletTest) 50/125650/4
vasraz [Mon, 8 Nov 2021 17:45:10 +0000 (17:45 +0000)]
Fix broken TC (ExternalRefsServletTest)

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3776
Change-Id: Iac19fea2b6f8a36dc29f4a8d5cea277d226342b2

2 years agoFix stability test issue 23/125723/2
MichaelMorris [Thu, 11 Nov 2021 10:35:02 +0000 (10:35 +0000)]
Fix stability test issue

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

3 years agoFix auth failure to dmaap after upgrade 88/125688/2
vasraz [Thu, 11 Nov 2021 13:56:50 +0000 (13:56 +0000)]
Fix auth failure to dmaap after upgrade

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>
3 years agoUse base image user on sdc-backend-all-plugins 85/125685/2
andre.schmid [Thu, 11 Nov 2021 11:56:30 +0000 (11:56 +0000)]
Use base image user on sdc-backend-all-plugins

Change-Id: I8465ccaec6fadf1fcc259bd12cb6fa856c5225eb
Issue-ID: SDC-3783
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoRemove unnecessary resource filtering on build 65/125665/1
andre.schmid [Tue, 9 Nov 2021 15:03:53 +0000 (15:03 +0000)]
Remove unnecessary resource filtering on build

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>
3 years agoLarge csar handling - object store 67/124767/5
vasraz [Fri, 8 Oct 2021 13:48:08 +0000 (14:48 +0100)]
Large csar handling - object store

Change-Id: I4e88bd7bfcc1fdbc93d67da2682f2e873ba243c6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3754

3 years agoFix ModelToscaTypeImportTest integration test 50/125550/9
vasraz [Wed, 3 Nov 2021 11:05:34 +0000 (11:05 +0000)]
Fix ModelToscaTypeImportTest integration test

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I1278f67d7aa686737ff4b22fc8c3399ea7017e70
Issue-ID: SDC-3772

3 years agoAdd UI support for adding tosca artifact types 79/125379/5
aribeiro [Fri, 1 Oct 2021 10:30:49 +0000 (11:30 +0100)]
Add UI support for adding tosca artifact types

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

3 years agoSupport for adding artifact types 87/125087/5
aribeiro [Tue, 19 Oct 2021 08:11:16 +0000 (09:11 +0100)]
Support for adding artifact types

Issue-ID: SDC-3763
Change-Id: Ideb63cbb3eb4e383adebaa11de49e91414a2c9a7
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoIT Test Import tosca types for a model 40/124440/9
vasraz [Tue, 2 Nov 2021 10:01:16 +0000 (10:01 +0000)]
IT Test Import tosca types for a model

Issue-ID: SDC-3735

Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I45d438af0439ad553869e26feb4175795e417d4c
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
3 years agoFix 'unable to run TCs separately' 03/125503/3
vasraz [Mon, 1 Nov 2021 12:24:40 +0000 (12:24 +0000)]
Fix 'unable to run TCs separately'

running TC 'ImportVfcUiTest.importVfcWithModel()' separately produces initialization error

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I5ce70532bb66e31565b74d96accd89da7e9fafed
Issue-ID: SDC-3770

3 years agoImport VSP with non-standard policy types 82/123882/9
davsad [Mon, 1 Nov 2021 16:35:05 +0000 (16:35 +0000)]
Import VSP with non-standard policy types

Issue-ID: SDC-3715

Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I48e9831b8a27341db2d33d85125cb9d42043e71b

3 years agoFix model and category change issues on Service 85/125285/2
andre.schmid [Fri, 22 Oct 2021 14:40:00 +0000 (15:40 +0100)]
Fix model and category change issues on Service

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>
3 years agoMake Service base type optional 21/125021/7
andre.schmid [Wed, 13 Oct 2021 15:01:51 +0000 (16:01 +0100)]
Make Service base type optional

Issue-ID: SDC-3759
Change-Id: I8adf112966ee9303fc965a74cec7203274acd735
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoSupport get_input for complex data types 25/125025/5
aribeiro [Fri, 15 Oct 2021 12:41:39 +0000 (13:41 +0100)]
Support get_input for complex data types

Issue-ID: SDC-3760
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I68ceaa47012186533a90f06c2688454f5dde799b

3 years agoSkip UI tests during fast build 60/124760/4
andre.schmid [Fri, 8 Oct 2021 11:54:44 +0000 (12:54 +0100)]
Skip UI tests during fast build

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>
3 years agoForce encoding while reading files in init scripts 28/125028/2
andre.schmid [Fri, 15 Oct 2021 14:07:41 +0000 (15:07 +0100)]
Force encoding while reading files in init scripts

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>
3 years agoImport multiple node types in a single endpoint 43/124743/3
andre.schmid [Fri, 1 Oct 2021 17:45:17 +0000 (18:45 +0100)]
Import multiple node types in a single endpoint

Change-Id: I7aa914d459a083146b92ef82197c8df265b8c5b6
Issue-ID: SDC-3752
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoIgnoring test cases failing incorrectly 24/125024/1
vasraz [Fri, 15 Oct 2021 11:12:08 +0000 (12:12 +0100)]
Ignoring test cases failing incorrectly

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)

3 years agoRevert "Fix critical cross site scripting" 52/124852/1
vasraz [Tue, 12 Oct 2021 14:18:52 +0000 (15:18 +0100)]
Revert "Fix critical cross site scripting"

This reverts commit 7c8f40bc6df4a5a4d5822e48ecbe5ebe6a0d251a.

Change-Id: I5719e82cffd36a21f265217265acf7eac060124b
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3755

3 years agoAdd a display name for the category metadataKeys entries 90/124490/6
davsad [Thu, 23 Sep 2021 15:59:57 +0000 (16:59 +0100)]
Add a display name for the category metadataKeys entries

Issue-ID: SDC-3737

Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: Ia9547f02267fd380feeef6be6af10beadd30457b

3 years agoAllow importing service with no instances 19/124719/2
KrupaNagabhushan [Wed, 6 Oct 2021 15:58:35 +0000 (16:58 +0100)]
Allow importing service with no instances

Issue-ID: SDC-3751
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I383d9fd8901b9c3e968ba18bfc31a520a490be0b

3 years agoUpdate release notes for 1.9.3 54/124754/1
MichaelMorris [Thu, 30 Sep 2021 08:27:47 +0000 (09:27 +0100)]
Update release notes for 1.9.3

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)

3 years agoAdding type safety to the service dependency editor. 30/124130/5
davsad [Tue, 8 Jun 2021 06:17:07 +0000 (07:17 +0100)]
Adding type safety to the service dependency editor.

Issue-ID: SDC-3725

Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I63d77837fb0df24f5ee12baa5b852a76ce5f55e3

3 years agoFix clean up of build file sdctool.tar 82/124682/2
andre.schmid [Tue, 28 Sep 2021 10:24:44 +0000 (11:24 +0100)]
Fix clean up of build file sdctool.tar

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>
3 years agoFilter categories by model name 55/123755/12
aribeiro [Mon, 30 Aug 2021 14:18:40 +0000 (15:18 +0100)]
Filter categories by model name

Issue-ID: SDC-3706
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002

3 years agoFix child model being shown in UI 11/124411/3
KrupaNagabhushan [Mon, 20 Sep 2021 12:04:29 +0000 (13:04 +0100)]
Fix child model being shown in UI

Issue-ID: SDC-3734
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Iadbbf93dc2a84a14df6b73a191d4c6d3e657f4d1

3 years agoAllow multiple base types for a service 89/124289/7
vasraz [Tue, 14 Sep 2021 15:40:39 +0000 (16:40 +0100)]
Allow multiple base types for a service

Change-Id: I2e37818a432295a6e9f795f38d730d60f66eef78
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3727

3 years agoDisplay model in UI tiles 43/124443/2
aribeiro [Tue, 21 Sep 2021 14:05:52 +0000 (15:05 +0100)]
Display model in UI tiles

Issue-ID: SDC-3736
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I4929a36d5f261eaad5e5948569f594d0a283af64

3 years agoExpand allowed chars in property names to include colon 25/124325/3
vasraz [Thu, 16 Sep 2021 11:59:20 +0000 (12:59 +0100)]
Expand allowed chars in property names to include colon

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ie49630306b44f0a38b35ddee46144295651282f4
Issue-ID: SDC-3729

3 years agoStep version for Jakarta 37/124537/2
MichaelMorris [Tue, 28 Sep 2021 15:08:53 +0000 (16:08 +0100)]
Step version for Jakarta

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3738
Change-Id: Id008db63021d07278bd17a6603d992a905237e41

3 years agoFixing distribution to AAI/SO issue 62/124562/3
MichaelMorris [Wed, 29 Sep 2021 10:10:14 +0000 (11:10 +0100)]
Fixing distribution to AAI/SO issue

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3740
Change-Id: Ib39125eac6011c393f6ee643e3997e1bff6f43c3

3 years agoFix certify VFC with Model 87/124387/2
aribeiro [Fri, 17 Sep 2021 17:07:50 +0000 (18:07 +0100)]
Fix certify VFC with Model

Issue-ID: SDC-3732
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ic0dc8f86101ce303d01c51c7711c1cbad9308a3c

3 years agoUpdate Template.json 12/124412/1
JvD_Ericsson [Wed, 22 Sep 2021 09:19:08 +0000 (10:19 +0100)]
Update Template.json

Added Helm Validator to the environment file

Issue-ID: SDC-3733
Change-Id: I9ecab3b917e72884bb3fcd5faaaf507021e6222d
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
3 years agoError re-importing VSP 88/124288/4
KrupaNagabhushan [Thu, 2 Sep 2021 12:15:51 +0000 (13:15 +0100)]
Error re-importing VSP

Issue-ID: SDC-3728
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Signed-off-by: André Schmid <andre.schmid@est.tech>
Change-Id: I22d6186b8e6922511a7ede584d009cfae041fabd

3 years agoRelease 1.9.2 55/124355/1
MichaelMorris [Mon, 20 Sep 2021 10:54:24 +0000 (11:54 +0100)]
Release 1.9.2

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

3 years agoUpdated SDC version to 1.9.2-SNAPSHOT 50/124350/1 1.9.2
MichaelMorris [Mon, 20 Sep 2021 08:11:18 +0000 (09:11 +0100)]
Updated SDC version to 1.9.2-SNAPSHOT

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

3 years agoFix update VSP missing VSP version id 35/124335/2
andre.schmid [Fri, 17 Sep 2021 17:57:23 +0000 (18:57 +0100)]
Fix update VSP missing VSP version id

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>
3 years agoFix Update VSP when no version id is provided 33/124333/1
andre.schmid [Fri, 17 Sep 2021 14:48:43 +0000 (15:48 +0100)]
Fix Update VSP when no version id is provided

Issue-ID: SDC-3730
Change-Id: Ic5a5a6ecf3b6775e022be649145e44b0907cbecf
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoUpdate release notes for 1.9.1 42/124242/2
MichaelMorris [Wed, 15 Sep 2021 14:07:50 +0000 (15:07 +0100)]
Update release notes for 1.9.1

Update release notes for I release

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3696
Change-Id: Ifbfba108ece954e65ce502d33e7ab35d3d428620

3 years agoUpdate docs for multi model support 83/124183/3
MichaelMorris [Fri, 10 Sep 2021 19:23:19 +0000 (20:23 +0100)]
Update docs for multi model support

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3726
Change-Id: I4ba36318fc8c7de60ccb9c3d01d5aadedc94bded

3 years agoDesign service for a specific model 27/124027/4
aribeiro [Tue, 7 Sep 2021 13:36:40 +0000 (14:36 +0100)]
Design service for a specific model

Integration test for designing a service with a specific model.

Issue-ID: SDC-3717
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: If3cbf9a621be4854e1e2f15d565eff15f40924f9

3 years agoIntegration test for importing VFC with model 63/124063/2
aribeiro [Fri, 10 Sep 2021 15:38:30 +0000 (16:38 +0100)]
Integration test for importing VFC with model

Issue-ID: SDC-3724
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: If978ab3630eaca9bb84e7f51fb24bf448f0e0587

3 years agoIncrease test coverage (TypesUploadServlet) 73/124073/2
vasraz [Fri, 27 Aug 2021 16:04:12 +0000 (17:04 +0100)]
Increase test coverage (TypesUploadServlet)

Change-Id: I78abc4872d99d4d4fa37c77a2186421ba5f41724
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3684

3 years agoAdd integration tests for the ETSI 2.5.1 Model 35/123935/6
andre.schmid [Tue, 7 Sep 2021 17:29:51 +0000 (18:29 +0100)]
Add integration tests for the ETSI 2.5.1 Model

Adds integration tests for the ETSI SOL001 2.5.1 Model, that Onboards
and Import a VSP created for the model, and check the resulting VF.

Change-Id: I02e6ae86a544d98298cc3e4b270a84fb794bd204
Issue-ID: SDC-3719
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoRelease 1.9.1 16/124216/1
MichaelMorris [Tue, 14 Sep 2021 20:54:59 +0000 (21:54 +0100)]
Release 1.9.1

Release for M4 for Istanbul

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3694
Change-Id: I11d521b38161308355507996f105e1b99dbd3e69

3 years agoUpdate SDC version to 1.9.1-SNAPSHOT 22/124122/1 1.9.1
MichaelMorris [Mon, 13 Sep 2021 21:08:04 +0000 (22:08 +0100)]
Update SDC version to 1.9.1-SNAPSHOT

Update version for M4 for I release

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3694
Change-Id: Ib7ea2917e57496ebd89a27693de60d4ea1aedc70

3 years agoETSI SOL001 v2.5.1 model types not deployed in upgrade 51/123751/13
davsad [Wed, 1 Sep 2021 06:57:45 +0000 (07:57 +0100)]
ETSI SOL001 v2.5.1  model types not deployed in upgrade

Issue-ID: SDC-3707

Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: If1bda517a9295ad380bf4e5e2fc35f15a1ff708e

3 years agoFail VF download of csar when VF has operation defined with workflow. 06/123606/5
davsad [Thu, 26 Aug 2021 09:52:12 +0000 (10:52 +0100)]
Fail VF download of csar when VF has operation defined with workflow.

Issue-ID: SDC-3689
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I207a95e86def05011feaa87847844e6b93b74c5e

3 years agoModel hierarchy not being considered while filtering 34/123934/2
davsad [Tue, 7 Sep 2021 14:50:44 +0000 (15:50 +0100)]
Model hierarchy not being considered while filtering

Issue-ID: SDC-3718

Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I4a984906aca180d470eb7bd71a09bfb0384cecb6

3 years agoFix intermittent upgrade failure 08/124008/2
MichaelMorris [Thu, 9 Sep 2021 15:23:24 +0000 (16:23 +0100)]
Fix intermittent upgrade failure

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3722
Change-Id: I56ab3d23aaf53bc02efd58df3bd939a1a2efb12c

3 years agoTest for GroupBusinessLogic#getNextVfModuleNameCounter 67/123967/3
stasys10 [Thu, 2 Sep 2021 08:44:37 +0000 (09:44 +0100)]
Test for GroupBusinessLogic#getNextVfModuleNameCounter

Issue-ID: SDC-3702
Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
Change-Id: I72e9b838dc29edaf13385eaf3c9a6217c3e169bd

3 years agoFix create a service with SDC AID model 07/124007/2
andre.schmid [Thu, 9 Sep 2021 15:45:25 +0000 (16:45 +0100)]
Fix create a service with SDC AID model

Change-Id: Ia5f0fa1304f6eab609862dd76f9b9f3485f468d1
Issue-ID: SDC-3723
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix model init 75/123975/2
aribeiro [Thu, 9 Sep 2021 07:54:17 +0000 (08:54 +0100)]
Fix model init

When upgrading, the model type for "ETSI SOL001 v2.5.1" is being updated and
then the request for retrieving all model types with "NORMATIVE" type returns empty

Issue-ID: SDC-3720
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ibc71bd05426532416eb2ac09f598e7456777403b

3 years ago[SDC-BE] Remove hardcoded MR apiKey 95/123895/4
MichaelMorris [Mon, 6 Sep 2021 13:28:23 +0000 (14:28 +0100)]
[SDC-BE] Remove hardcoded MR apiKey

Issue-ID: SDC-3714
Change-Id: Ie154a225bc1c47d6d3b504f915a697047e1b0440
Signed-off-by: MichaelMorris <michael.morris@est.tech>
3 years agoFixing deployment failure 02/123902/2
MichaelMorris [Mon, 6 Sep 2021 19:36:02 +0000 (20:36 +0100)]
Fixing deployment failure

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3716
Change-Id: I33092244c7ce00a6e1b5c8d02d5056035d488b2a

3 years agoFix data type cache issue for model extensions 71/123871/3
MichaelMorris [Thu, 2 Sep 2021 15:22:12 +0000 (16:22 +0100)]
Fix data type cache issue for model extensions

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3713
Change-Id: I56b8de3065848942a4ba8dd8486a7d87e7d8029e

3 years agoNot possible to set max occurrences to zero 67/123867/2
MichaelMorris [Thu, 2 Sep 2021 11:19:07 +0000 (12:19 +0100)]
Not possible to set max occurrences to zero

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3711
Change-Id: I512abaca1defade0bee259b330eca2fea322eaf7

3 years agoFix CSAR generation default imports file conflict 70/123770/3
andre.schmid [Wed, 1 Sep 2021 16:37:19 +0000 (17:37 +0100)]
Fix CSAR generation default imports file conflict

When generating a CSAR for a resource that is associated with a
derived model, the default imports for the derived and parent model
can conflict in path, therefore causing an issue during the CSAR
zip generation which can't stand two entries with the same path.

The fix adds a logic to rename a file when conflicting, by adding
the model id as the file prefix.

Change-Id: Ife7168f1c69f90be9c2cfd8ba75efad316c477f6
Issue-ID: SDC-3710
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoMove position of Model on create screen 52/123852/2
aribeiro [Thu, 2 Sep 2021 17:19:43 +0000 (18:19 +0100)]
Move position of Model on create screen

Issue-ID: SDC-3712
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I8e2ed84dbedef897588a621a4f627bc75f4a7281

3 years agoTest for ValidateGenerateVfModuleGroupNames 95/123795/2
stasys10 [Mon, 30 Aug 2021 14:02:53 +0000 (15:02 +0100)]
Test for ValidateGenerateVfModuleGroupNames

Issue-ID: SDC-3702
Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
Change-Id: Ib493ed976a7e92844c6822c2537a194bb48d2316

3 years agoFix mismatch in requirement name in sub mapping 91/123691/2
MichaelMorris [Mon, 30 Aug 2021 11:28:05 +0000 (12:28 +0100)]
Fix mismatch in requirement name in sub mapping

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3701
Change-Id: I0898d8b16c6e5cda035f33024f26644d7c6b1ef5

3 years agoUpdate unit test to JUnit5 57/123757/2
andre.schmid [Tue, 31 Aug 2021 17:22:53 +0000 (18:22 +0100)]
Update unit test to JUnit5

Updates org.openecomp.sdc.vendorsoftwareproduct.impl.
VendorSoftwareProductManagerImplTest to JUnit5.

Change-Id: I505f2f198dd776e2b3d10e741998014c1db0275f
Issue-ID: SDC-3709
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix setting vendor release for VSP with model 53/123753/2
andre.schmid [Tue, 31 Aug 2021 15:58:08 +0000 (16:58 +0100)]
Fix setting vendor release for VSP with model

When a model is selected, the vendor release should not be set based
on the compatible_specification_version of the manifest metadata.

Change-Id: I7a01941c47a8a7f1d3a7f69bfa0830db3d11fb0c
Issue-ID: SDC-3708
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix additional types import file generation 15/123715/1
andre.schmid [Tue, 31 Aug 2021 09:04:26 +0000 (10:04 +0100)]
Fix additional types import file generation

The additional_type_definitions.yaml is missing types entries and
header.
Also, the solution is not considering the types entries, i.e.
'data_types:', 'policy_types:', etc., when replacing types and
generating the new file, which renders the solution broken.
This change aims to fix the related problems.

Change-Id: I412683b49966c09dd067ecbf8a1d778155b23fa6
Issue-ID: SDC-3703
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoInclude custom data types from VSP in csar imports 62/123662/3
andre.schmid [Fri, 27 Aug 2021 14:07:43 +0000 (15:07 +0100)]
Include custom data types from VSP in csar imports

When a model with custom data types is created, the data types
are now being added as part of the default model imports files.
When a CSAR is generated from a Service Template that is
associated to a derived model, the default imports from the
parent model are also included in the package.

Change-Id: I027d25d7237989a40085edec7fdd399ac09c4db1
Issue-ID: SDC-3692
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoImprove invalid artifact label error message 60/123660/1
KrupaNagabhushan [Fri, 27 Aug 2021 15:15:30 +0000 (16:15 +0100)]
Improve invalid artifact label error message

Issue-ID: SDC-3691
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I72f0fbec5839ecb343a73a9ca537e2e0a6437363

3 years agoFix get capability type with uid 13/123613/2
MichaelMorris [Thu, 26 Aug 2021 06:54:48 +0000 (07:54 +0100)]
Fix get capability type with uid

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3688
Change-Id: I2e74e612d90c984071cbf8f1dd43cf55a26034f5

3 years agoAdd a CSAR validator for model ETSI SOL001 2.5.1 59/123559/6
andre.schmid [Wed, 25 Aug 2021 17:28:10 +0000 (18:28 +0100)]
Add a CSAR validator for model ETSI SOL001 2.5.1

Change-Id: I8e67b46f95bb45e0dd91d29eef6be7a0a8d645be
Issue-ID: SDC-3686
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoSupport querying of model by type 25/123425/7
MichaelMorris [Fri, 20 Aug 2021 14:40:35 +0000 (15:40 +0100)]
Support querying of model by type

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3678
Change-Id: I5fd19eefe475113df501901628b2ee8669004399

3 years agoAdd types to imports 12/123512/15
vasraz [Thu, 26 Aug 2021 11:17:08 +0000 (12:17 +0100)]
Add types to imports

Change-Id: Ifa1dea17841d8667044aff4e7a9a17b2a75b78e4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3684

3 years agoAdd ETSI SOL001 v2.5.1 model types to backend init 15/123515/12
davsad [Tue, 24 Aug 2021 11:06:51 +0000 (12:06 +0100)]
Add ETSI SOL001 v2.5.1 model types to backend init

Issue-ID: SDC-3685

Change-Id: I59e56cbe071c21467d0f683c7c977a8ceca6e221
Signed-off-by: davsad <david.sadlier@est.tech>
3 years agoRemove usage of outdated library JMockit (catalog-dao) 39/122739/12
vasraz [Wed, 25 Aug 2021 11:05:32 +0000 (12:05 +0100)]
Remove usage of outdated library JMockit (catalog-dao)

Move JanusGraph to correct folder

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I726b2a714e0b59422865ef6ca2e7ba9f5881353b
Issue-ID: SDC-3379

3 years agoValidate the Resource Model before importing VSP 03/123503/5
andre.schmid [Wed, 18 Aug 2021 13:34:33 +0000 (14:34 +0100)]
Validate the Resource Model before importing VSP

Validates the Resource Model selected during the Import VSP.
This model must be aligned with one of the models that the
imported VSP relates to.
Fix VSP package retrieval to get the exact version from the
VSP chosen during the Import VSP process.
Introduces a client in the Catalog to retrieve from the
Onboarding backend a VSP information using its Id and
version Id.

Change-Id: Ic8fb52b6daadc0e7203c81a9c15c3e46d5b9fffb
Issue-ID: SDC-3675
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoDynamically load CSAR validators for models 05/123505/4
andre.schmid [Mon, 23 Aug 2021 18:41:50 +0000 (19:41 +0100)]
Dynamically load CSAR validators for models

Change-Id: I88ece0936e8a2814ef13dfa23eecda56de3dc6fe
Issue-ID: SDC-3683
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix broken build 86/123586/1
vasraz [Thu, 26 Aug 2021 00:24:51 +0000 (01:24 +0100)]
Fix broken build

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I513b244dec9d420cd9314468647191f91314a3e0
Issue-ID: SDC-3687

3 years agoDefine a CSAR validator API for models 04/123504/3
andre.schmid [Mon, 23 Aug 2021 10:59:28 +0000 (11:59 +0100)]
Define a CSAR validator API for models

Change-Id: Ibdbedcc7cfe3660221f35667902f2e4eadc19725
Issue-ID: SDC-3682
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoImport VSP with non-standard data types 68/123368/5
MichaelMorris [Mon, 16 Aug 2021 16:28:10 +0000 (17:28 +0100)]
Import VSP with non-standard data types

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3673
Change-Id: I0fd16410788da3a82c74b1d38ffa4458e85e6ccc

3 years agoFix service csar with model download failure 07/123507/3
MichaelMorris [Tue, 24 Aug 2021 11:58:48 +0000 (12:58 +0100)]
Fix service csar with model download failure

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3681
Change-Id: I824b38de5d0669db8aa3d47530fa02dcdf0d4871

3 years agoUpdate backend-init to use new endpoints allowing specific model 98/123398/6
davsad [Thu, 12 Aug 2021 07:34:20 +0000 (08:34 +0100)]
Update backend-init to use new endpoints allowing specific model

Issue-ID: SDC-3676
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I5e77185dcaa0f3172958ac93198ae2df2f17366b

3 years agoFix artifact name invalid error message 90/123490/2
KrupaNagabhushan [Sun, 22 Aug 2021 01:04:29 +0000 (02:04 +0100)]
Fix artifact name invalid error message

Issue-ID: SDC-3680
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I859953a9a0d8065437589cd7592137b14b29c7e5

3 years agoFilter catalog in UI based on model 38/123438/2
davsad [Mon, 23 Aug 2021 04:54:13 +0000 (05:54 +0100)]
Filter catalog in UI based on model

Issue-ID: SDC-3679
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: Icd0eeb13dbfb1cc27745c7adf6a3212210e00a4a

3 years agoLoad model default imports during CSAR Generation 96/123396/7
KrupaNagabhushan [Thu, 19 Aug 2021 10:17:36 +0000 (11:17 +0100)]
Load model default imports during CSAR Generation

Issue-ID: SDC-3674
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I89dc555a2a90f1ac44b44655e36a75a79ac38bd0

3 years agoFix composition view palette filter 06/123406/2
stasys10 [Thu, 19 Aug 2021 16:10:31 +0000 (17:10 +0100)]
Fix composition view palette filter

Issue-ID: SDC-3677
Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
Change-Id: I9025ccdf1aa56fb7b6aee08d1028250c86af1f5a

3 years agoSelect a Model when Importing a VSP 88/123288/4
andre.schmid [Mon, 16 Aug 2021 16:08:17 +0000 (17:08 +0100)]
Select a Model when Importing a VSP

Change-Id: I7537af4c7279636de7e450ec398210ace376eade
Issue-ID: SDC-3670
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix the license issue - javax.jms: 1.1 55/123355/3
vasraz [Wed, 18 Aug 2021 15:16:14 +0000 (16:16 +0100)]
Fix the license issue - javax.jms: 1.1

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I3cc500def5309467a091d581f56f4fb94e7a1600
Issue-ID: SDC-1877

3 years agoAlign all SDC dependencies versions 47/123347/2
vasraz [Wed, 18 Aug 2021 12:54:08 +0000 (13:54 +0100)]
Align all SDC dependencies versions

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Iba19bd39ba5a136436ac1e9ca0a7dcc164d6f7bf
Issue-ID: SDC-2875

3 years agoFix license key group and entitlement pools required fields 85/123285/3
KrupaNagabhushan [Fri, 13 Aug 2021 11:53:23 +0000 (12:53 +0100)]
Fix license key group and entitlement pools required fields

Issue-ID: SDC-3664
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ic426cc57861673002f03e2fe4fee81c25474c4e0

3 years agoRemove and ignore yarn.lock 53/123353/1
andre.schmid [Wed, 18 Aug 2021 13:37:18 +0000 (14:37 +0100)]
Remove and ignore yarn.lock

Removes and ignores from git a build generated file yarn.lock.

Change-Id: I263d951ad266d758d149b5057a90c94d56d89608
Issue-ID: SDC-3672
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoValidate model exists when associating types 38/123238/4
KrupaNagabhushan [Wed, 4 Aug 2021 07:50:25 +0000 (08:50 +0100)]
Validate model exists when associating types

Issue-ID: SDC-3665
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I44de1c5bbd8854d02ae512f65833507aa3cbed6d

3 years agoHandle VSP package upload for multi-model 53/123253/7
andre.schmid [Thu, 29 Jul 2021 09:14:19 +0000 (10:14 +0100)]
Handle VSP package upload for multi-model

Change-Id: Iceca3f160eaeb1a6431fc3c5bbab92847e95ae4d
Issue-ID: SDC-3667
Signed-off-by: André Schmid <andre.schmid@est.tech>
3 years agoFix broken build 92/123292/1
vasraz [Mon, 16 Aug 2021 12:45:06 +0000 (13:45 +0100)]
Fix broken build

Change-Id: If2bfe79cf3df43e4678fe1282b68753fa198d130
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3671

3 years agoSupport models extending models 55/123255/3
MichaelMorris [Thu, 12 Aug 2021 08:14:21 +0000 (09:14 +0100)]
Support models extending models

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3668
Change-Id: Iad4d2a28c1c982e55e8835d4f30a9a212aefb6be