sdc.git
2 years agoFix helm-validator integration tests. 10/122810/4
Tomasz Wrobel [Thu, 22 Jul 2021 07:10:51 +0000 (09:10 +0200)]
Fix helm-validator integration tests.

- Skip helm-validator tests when helm validator is disabled,
- Align expected validation message.

Issue-ID: SDC-3646
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Ia6d415e44545748e23b6130de1ad1d6946730265

2 years agoRemove dependency vulnerability 53/122853/5
vasraz [Mon, 26 Jul 2021 14:01:06 +0000 (15:01 +0100)]
Remove dependency vulnerability

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

2 years agoFix intermittent 'Tooltip integration test failure' 34/122834/4
vasraz [Fri, 23 Jul 2021 11:30:04 +0000 (12:30 +0100)]
Fix intermittent 'Tooltip integration test failure'

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

2 years agoReduce usage of outdated library JMockit (catalog-be) 38/122738/2
vasraz [Sat, 26 Jun 2021 14:56:07 +0000 (15:56 +0100)]
Reduce usage of outdated library JMockit (catalog-be)

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

2 years agoFix upgrade for different vendor release 74/122774/3
andre.schmid [Wed, 14 Jul 2021 20:33:45 +0000 (21:33 +0100)]
Fix upgrade for different vendor release

Change-Id: Id5769b45c4b41fd40b7bac25407c046b8fe787e7
Issue-ID: SDC-3644
Signed-off-by: André Schmid <andre.schmid@est.tech>
2 years agoFix security vulnerabilities 44/122744/2
aribeiro [Mon, 12 Jul 2021 14:10:19 +0000 (15:10 +0100)]
Fix security vulnerabilities

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

2 years agoRemove commented code from PolicyBusinessLogic 73/122773/2
andre.schmid [Thu, 15 Jul 2021 12:19:04 +0000 (13:19 +0100)]
Remove commented code from PolicyBusinessLogic

Change-Id: I171a9b613625fd9d34fcfbd6aed8cd44f9fc1892
Issue-ID: SDC-3645
Signed-off-by: André Schmid <andre.schmid@est.tech>
2 years agoRemove dependency vulnerability 90/122790/3
vasraz [Tue, 20 Jul 2021 22:22:45 +0000 (23:22 +0100)]
Remove dependency vulnerability

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

2 years agoConsider component model when retrieving relationship types 76/122676/2
KrupaNagabhushan [Wed, 14 Jul 2021 13:21:47 +0000 (14:21 +0100)]
Consider component model when retrieving relationship types

Issue-ID: SDC-3640
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Change-Id: Ic06a9085b8aa2f44b8d33d7de12eadf691106131
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
2 years agoSupport for associating interface types to models 53/122653/4
davsad [Wed, 16 Jun 2021 09:36:24 +0000 (10:36 +0100)]
Support for associating interface types to models

Issue-ID: SDC-3639
Change-Id: I5eaa9ffbe3c88416bf17ff9a94e76faad79fe888
Signed-off-by: davsad <david.sadlier@est.tech>
2 years agoSupport for associating policy and group types to models 80/122680/2
KrupaNagabhushan [Fri, 25 Jun 2021 15:01:25 +0000 (16:01 +0100)]
Support for associating policy and group types to models

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

2 years agoSupport handling of 'Large CSARs' 43/122643/2
vasraz [Thu, 8 Jul 2021 17:54:19 +0000 (18:54 +0100)]
Support handling of 'Large CSARs'

If artifact storage is enabled, stores original onboarded package,
leaving a reference in the VSP, instead of the original onboarded
package itself. Strips files from configured folders in order to reduce
the package size and onboard it. To retrieve the package, one needs to
read the reference and go to the artifact storage to retrieve.
If disabled, it just goes through the current onboarding process.

Change-Id: I3dce0ab8422ea736c8a1ffaeb1136cf8b12a2af4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Signed-off-by: André Schmid <andre.schmid@est.tech>
Issue-ID: SDC-3635

2 years agoDisplay model name 41/122641/3
aribeiro [Mon, 5 Jul 2021 08:49:28 +0000 (09:49 +0100)]
Display model name

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

2 years agoFix typo issue 56/122656/2
xuegao [Thu, 15 Jul 2021 06:56:52 +0000 (08:56 +0200)]
Fix typo issue

Use "license" instead of "licence" to be consistent with the variable used in features.properties.erb

Issue-ID: SDC-3618
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I11ae8aa6039778136913819d366f97cd9a209efb

2 years agoAllow only types from selected model in service creation 69/122369/4
aribeiro [Thu, 24 Jun 2021 10:19:45 +0000 (11:19 +0100)]
Allow only types from selected model in service creation

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

2 years agoSpecify model at service creation 19/122219/5
aribeiro [Wed, 16 Jun 2021 22:21:04 +0000 (23:21 +0100)]
Specify model at service creation

Allows a user to select a model when designing a service

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

2 years agoFix type issue 45/122645/2
xuegao [Thu, 15 Jul 2021 06:56:52 +0000 (08:56 +0200)]
Fix type issue

Use "license" instead of "licence" to be consistent with the variable used in features.properties.erb

Issue-ID: SDC-3618
Change-Id: I58948ee8bcc4c4d2ad2d0b544e829869c05ae527
Signed-off-by: xuegao <xue.gao@intl.att.com>
2 years agoExposing new parameters in chef config for SDC 16/122516/8
marine [Thu, 8 Jul 2021 09:57:27 +0000 (11:57 +0200)]
Exposing new parameters in chef config for SDC

Issue-ID: SDC-3633

Change-Id: Ib59ecbe151b3d7fb5b52241102f5c7dfc520003b
Signed-off-by: xuegao <xue.gao@intl.att.com>
2 years agoSupport for associating node types to models 03/122103/4
aribeiro [Tue, 18 May 2021 19:57:07 +0000 (20:57 +0100)]
Support for associating node types to models

Issue-ID: SDC-3597
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Change-Id: Icd0066240b78ba98d8f0efab66d11756f18cb251

2 years agoCreate REST endpoint to retrieve models 56/122156/2
andre.schmid [Mon, 21 Jun 2021 21:25:28 +0000 (22:25 +0100)]
Create REST endpoint to retrieve models

Change-Id: Ifca0095d84d5da4ab4b055942d893e9c6a259eb7
Issue-ID: SDC-3622
Signed-off-by: André Schmid <andre.schmid@est.tech>
2 years agoReduce usage of outdated library JMockit (catalog-dao) 73/122173/3
vasraz [Sat, 19 Jun 2021 12:53:06 +0000 (13:53 +0100)]
Reduce usage of outdated library JMockit (catalog-dao)

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

2 years agoUpdate NODE/NPM versions 51/121951/9
vasraz [Thu, 17 Jun 2021 19:12:04 +0000 (20:12 +0100)]
Update NODE/NPM versions

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

2 years agoRemove usage of outdated library JMockit (openecomp-be) 96/117996/3
vasraz [Thu, 24 Jun 2021 13:09:30 +0000 (14:09 +0100)]
Remove usage of outdated library JMockit (openecomp-be)

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

2 years agoRemove usage of outdated library JMockit (catalog-model) 74/122174/2
vasraz [Sat, 19 Jun 2021 10:07:12 +0000 (11:07 +0100)]
Remove usage of outdated library JMockit (catalog-model)

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

2 years agoRefactor Substitution filters structure 67/122067/2
KrupaNagabhushan [Wed, 9 Jun 2021 21:11:46 +0000 (22:11 +0100)]
Refactor Substitution filters structure

The refactor removes unnecessary component id from the substitution filters structure, as the substitution filters belongs to and only to the component.
This also avoid any copying issues during the new version creation, as there is not need to update the structure with a new component id.

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

2 years agoExternal license as "toggleable feature" 44/122044/8
marine [Fri, 18 Jun 2021 15:51:46 +0000 (17:51 +0200)]
External license as "toggleable feature"

Code modification in onboarding BE and onboarding UI so that the External License can be seen as a toggleable feature. By default this will set to true but could be disabled.

Issue-ID: SDC-3618
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I01690c4cb44d3df590987bb340e8fbb58fe960e0
Signed-off-by: marine <marine.de.dorlodot@intl.att.com>
2 years agoRemove the obsolete DmaapPublisher module 83/122083/1
andre.schmid [Mon, 21 Jun 2021 14:12:57 +0000 (15:12 +0100)]
Remove the obsolete DmaapPublisher module

The module is not part of the SDC repo build and not being used in the
project. It also does not build in its current state.

Change-Id: Ide1bcde26c2781cba9d0baa3a3da1b9c96ba5144
Issue-ID: SDC-3620
Signed-off-by: André Schmid <andre.schmid@est.tech>
2 years agoFix CRITICAL xxe (XML External Entity) issues 53/121953/2
vasraz [Wed, 16 Jun 2021 12:53:58 +0000 (13:53 +0100)]
Fix CRITICAL xxe (XML External Entity) issues

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

2 years agoIntegration Test - Add Input independent of properties 01/121901/2
KrupaNagabhushan [Wed, 12 May 2021 12:50:12 +0000 (13:50 +0100)]
Integration Test - Add Input independent of properties

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

2 years agoAdd test cases for Helm validation 40/121540/13
Piotr Marcinkiewicz [Wed, 26 May 2021 07:45:45 +0000 (09:45 +0200)]
Add test cases for Helm validation

Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: Ic68907aa385e5a735d0948ca2177e6aac12b2e7b

2 years agoInit ONAP model imports using the model API 92/121692/4
andre.schmid [Fri, 28 May 2021 18:10:30 +0000 (19:10 +0100)]
Init ONAP model imports using the model API

Creates a client for the model endpoint in the catalog init scripts.
Introduces the directory structure to provide the models along its
imports, separated by init/upgrade phase.
Each model structure will be zipped and uploaded to the endpoint,
based on the model directory name.

Change-Id: I0392c1e6d3a29b30567b11016041a8e9cccbc745
Issue-ID: SDC-3615
Signed-off-by: André Schmid <andre.schmid@est.tech>
2 years agoAdd models imports endpoint and persistence structure 87/121687/4
andre.schmid [Fri, 14 May 2021 19:38:45 +0000 (20:38 +0100)]
Add models imports endpoint and persistence structure

Create the structure to persist the model imports.
Changed create model API, allowing to create a model along its TOSCA
descriptor import structure.
Introduced an endpoint to update the imports of a model.

Change-Id: Ic775ef544051c29c721cacc20b37c2fb20338be9
Issue-ID: SDC-3614
Signed-off-by: André Schmid <andre.schmid@est.tech>
2 years agoSupport adding capability types to model 76/121676/2
MichaelMorris [Fri, 28 May 2021 11:29:13 +0000 (12:29 +0100)]
Support adding capability types to model

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

2 years agoDead resource files 02/121802/1
sebdet [Thu, 10 Jun 2021 16:26:19 +0000 (18:26 +0200)]
Dead resource files

Dead resource files cleanup

Issue-ID: SDC-3616
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I2fdffed67cf207c1066105ef4e57a04429610725

2 years agoAdd parameter for Zip Validation 06/121706/7
sebdet [Fri, 4 Jun 2021 15:56:49 +0000 (17:56 +0200)]
Add parameter for Zip Validation

Add a onboarding config parameter to enable or disable the Zip Validation

Issue-ID: SDC-3603
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I83f539caccd29799f613d4e0bb65c7d7e6b97b45

2 years agoCreate a common ConfigurationManager class 05/121705/13
sebdet [Fri, 4 Jun 2021 15:49:31 +0000 (17:49 +0200)]
Create a common ConfigurationManager class

Create a common ConfigurationManager class as some classes have the same logic

Issue-ID: SDC-3616
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I44aeb3a4baf45753c3c43f7b4d202253ae4186eb

2 years agoDead Code removal 04/121704/4
sebdet [Fri, 4 Jun 2021 15:28:49 +0000 (17:28 +0200)]
Dead Code removal

Removal of dead code found during Config manager analysis

Issue-ID: SDC-3616
Change-Id: I50c15dfcba7518c32af953fe481ef013aa393ca5
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2 years agoSupport adding data types to model 74/121674/3
MichaelMorris [Tue, 25 May 2021 08:32:31 +0000 (09:32 +0100)]
Support adding data types to model

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

2 years agoSupport adding of relationship type to model 64/121664/3
MichaelMorris [Wed, 19 May 2021 16:23:13 +0000 (17:23 +0100)]
Support adding of relationship type to model

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

2 years agoIntegration Tests - Add inputs to a base service 98/121598/2
KrupaNagabhushan [Wed, 21 Apr 2021 15:18:12 +0000 (16:18 +0100)]
Integration Tests - Add inputs to a base service

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

2 years agoFix dependencies with Critical Violations 22/121622/2
vasraz [Mon, 31 May 2021 22:08:39 +0000 (23:08 +0100)]
Fix dependencies with Critical Violations

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

2 years agoImprove handling exception path for HelmValidator 63/121663/5
Piotr Marcinkiewicz [Wed, 2 Jun 2021 11:37:32 +0000 (13:37 +0200)]
Improve handling exception path for HelmValidator

- Change log level for exception in HelmValidatorHttpClient
- Correct exception message and logging in HelmValidator

Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: If6391e9e95d420108e4dd4d9ecf5541df607329f

2 years agoAdd maven profiles and testsuite for helm validator 78/121478/6
Remigiusz Janeczek [Fri, 21 May 2021 12:50:40 +0000 (14:50 +0200)]
Add maven profiles and testsuite for helm validator

Issue-ID: SDC-3185
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Ic6706c64b887fb589d3638fee5de51bf15f59e23

2 years agoUpdate node/npm 28/121428/22
vasraz [Wed, 19 May 2021 22:52:26 +0000 (23:52 +0100)]
Update node/npm

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

2 years agoAdd Support for creating model type 66/121466/3
aribeiro [Tue, 18 May 2021 15:31:28 +0000 (16:31 +0100)]
Add Support for creating model type

Add new vertex type called "model" was added to represent models
Add new edge type called MODEL_ELEMENT was added to connect a tosca type to a model
Add new edge type called MODEL was added to connect a resource/service to the model it is based on

Issue-ID: SDC-3596
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I310e14d0cf5a9ca0eb0bda592efe8a3baf73749c

2 years agoAdd IT Tests Adding Metadata to property input 75/121375/7
davsad [Wed, 28 Apr 2021 08:46:46 +0000 (09:46 +0100)]
Add IT Tests Adding Metadata to property input

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

2 years agoUpdate vulnerable package dependencies 34/121334/5
vasraz [Wed, 19 May 2021 17:22:12 +0000 (18:22 +0100)]
Update vulnerable package dependencies

org.apache.commons.lang -> org.apache.commons.lang3:3.10

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

2 years agoUpdate README.md 26/121526/2
xuegao [Tue, 25 May 2021 08:32:31 +0000 (10:32 +0200)]
Update README.md

Update the explanation to start onboard UI locally.

Issue-ID: SDC-3606
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I02a2f82d3a27da934a1722c96129890ac986d6ca

2 years ago[SDC] Fix sonar issues 22/121422/5
sliard [Wed, 19 May 2021 15:45:17 +0000 (17:45 +0200)]
[SDC] Fix sonar issues

Fix all blocker issues for catalog-be

Issue-ID: SDC-3598
Signed-off-by: sliard <samuel.liard@gmail.com>
Change-Id: I53907c1be4cac5dd94b6f20ab4e5848f6fcebed9

2 years agoAdd Documentation of SDC-Helm-Validator container 05/121405/7
Tomasz Wrobel [Tue, 18 May 2021 14:04:25 +0000 (16:04 +0200)]
Add Documentation of SDC-Helm-Validator container

Issue-ID: SDC-3185
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I85972698bb4e0b42694acf1d97980e45cda0d81d
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2 years agoRelease 1.9.0 96/121396/2
Piotr Marcinkiewicz [Tue, 18 May 2021 07:23:47 +0000 (09:23 +0200)]
Release 1.9.0

Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: I3845e941db81a2223a39f6f60f0fa1822d611874

2 years agoChange group/owner for HelmValidatorConfiguration 19/121419/2 1.9.0
Piotr Marcinkiewicz [Wed, 19 May 2021 13:07:43 +0000 (15:07 +0200)]
Change group/owner for HelmValidatorConfiguration

Issue-ID: SDC-3599
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: I14243301f722409f5e1c136395f615f98a1ab417

3 years agoFix to avoid tool tip to be handed over 67/121367/2
aribeiro [Thu, 13 May 2021 10:29:50 +0000 (11:29 +0100)]
Fix to avoid tool tip to be handed over

When creating a relationship between nodes the qtip-content tip
should not be visible once the test step is finished

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

3 years agoUpdate Interface Operation UI test 77/121277/2
aribeiro [Mon, 10 May 2021 08:01:24 +0000 (09:01 +0100)]
Update Interface Operation UI test

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

3 years agoUpdate vulnerable package dependencies 33/121333/2
vasraz [Tue, 11 May 2021 11:44:06 +0000 (12:44 +0100)]
Update vulnerable package dependencies

handlebars -> 4.7.7

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

3 years agoUpdate vulnerable package dependencies 35/121335/2
vasraz [Wed, 12 May 2021 12:56:51 +0000 (13:56 +0100)]
Update vulnerable package dependencies

commons-io -> 2.7
org.freemarker -> 2.3.30

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

3 years agoImprove test coverage 36/121336/2
vasraz [Tue, 11 May 2021 17:05:30 +0000 (18:05 +0100)]
Improve test coverage

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

3 years agoSupport for selection of capabilities 36/121236/3
andre.schmid [Wed, 5 May 2021 14:31:04 +0000 (15:31 +0100)]
Support for selection of capabilities

Change-Id: Ib1a3e3e1a59fc84c62620932c408e231acf77024
Issue-ID: SDC-3580
Signed-off-by: André Schmid <andre.schmid@est.tech>
3 years agoIntegrate helm validator with SDC-BE 62/120762/26
Joanna Jeremicz [Wed, 21 Apr 2021 11:59:12 +0000 (13:59 +0200)]
Integrate helm validator with SDC-BE

- Read helm validator configuration
- Add call to helm validator during Helm validation
- Add JUnit tests
- Fix display message when CNF upload is unsuccessful
- Show warning messages from validation after CNF upload

Issue-ID: SDC-3185
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: If197d557e6ddef4a07bef986d7cf133aedcb2cc5
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
3 years agoUse integration-java11 Dockerfile 50/112950/25
sebdet [Mon, 21 Sep 2020 20:13:05 +0000 (22:13 +0200)]
Use integration-java11 Dockerfile

Use onap/integration-java11:7.1.0 as a source for the images requiring JDK 11 in SDC

Issue-ID: SDC-3298
Change-Id: Ifee3d2942dcb9c078f2ebb686bdabc0ecca857b3
Signed-off-by: xuegao <xue.gao@intl.att.com>
3 years agoUpdate PTL in INFO.yaml 54/121254/2
MichaelMorris [Tue, 11 May 2021 11:00:44 +0000 (12:00 +0100)]
Update PTL in INFO.yaml

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

3 years agoAdd relationship templete UI test 31/121231/2
aribeiro [Thu, 6 May 2021 15:38:06 +0000 (16:38 +0100)]
Add relationship templete UI test

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

3 years agoAdd integration test for adding directive node filters to a base service 45/121145/2
davsad [Thu, 29 Apr 2021 08:58:42 +0000 (09:58 +0100)]
Add integration test for adding directive node filters to a base service

Issue-ID: SDC-3575

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

3 years agoIncrease Import VFC UI test coverage 02/121102/2
vasraz [Wed, 5 May 2021 09:52:16 +0000 (10:52 +0100)]
Increase Import VFC UI test coverage

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

3 years agoMove Substitution Filter to base service flow 67/121067/1
aribeiro [Fri, 23 Apr 2021 14:50:31 +0000 (15:50 +0100)]
Move Substitution Filter to base service flow

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

3 years agoRefactor data types cache 06/120906/5
andre.schmid [Thu, 22 Apr 2021 11:33:04 +0000 (12:33 +0100)]
Refactor data types cache

Avoids potential issue of data type cache changes by external parties,
by returning copies from the cache instead of the original.
Refactors the code for more clarity.

Change-Id: Ibb518bf638f2f4ee1f5e3869baaace374efb632a
Issue-ID: SDC-3569
Signed-off-by: André Schmid <andre.schmid@est.tech>
3 years agoAdd Service Template instance attributes to TOSCA Export 83/120883/4
vasraz [Mon, 26 Apr 2021 16:08:41 +0000 (17:08 +0100)]
Add Service Template instance attributes to TOSCA Export

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

3 years agoEnrich 'Import VFC UI test' 11/120911/2
vasraz [Mon, 26 Apr 2021 13:52:08 +0000 (14:52 +0100)]
Enrich 'Import VFC UI test'

Import a node types which contains interface operations with an implementation and inputs

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

3 years agoAdd Property UI Flow 13/120913/2
aribeiro [Mon, 19 Apr 2021 17:38:18 +0000 (18:38 +0100)]
Add Property UI Flow

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

3 years agoUpdate release note 50/120650/2
ChrisC [Mon, 19 Apr 2021 15:27:54 +0000 (17:27 +0200)]
Update release note

Update Release note with latest bugfix build for H release

Issue-ID: SDC-3556
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Iced736be6b052190758814589c3c296bee95d981

3 years agoUpdate INFO.yaml 94/120694/2
ChrisC [Tue, 20 Apr 2021 11:56:48 +0000 (13:56 +0200)]
Update INFO.yaml

Add a new committer

Issue-ID: SDC-3544
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I4c7bd28299f289f76235cc20744e44df8dbebe1a

3 years agoImprove readability of IT Config 48/120848/2
vasraz [Tue, 20 Apr 2021 16:32:14 +0000 (17:32 +0100)]
Improve readability of IT Config

Replace with lombok (Getter/Setter)

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

3 years agoImplement 'Add Outputs UI TC' 41/120841/2
vasraz [Tue, 20 Apr 2021 15:40:31 +0000 (16:40 +0100)]
Implement 'Add Outputs UI TC'

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

3 years agoFix VSP update for checked-in resources 93/120693/1
andre.schmid [Thu, 15 Apr 2021 17:47:55 +0000 (18:47 +0100)]
Fix VSP update for checked-in resources

Checkout the VF (if checked-in) related to the VSP before loading the VF
workspace.

Change-Id: I9576fd5b429fdae2ac00de5bfbd38e183b93be59
Issue-ID: SDC-3560
Signed-off-by: André Schmid <andre.schmid@est.tech>
3 years agoFix VSP update backend process 98/120598/3
andre.schmid [Thu, 15 Apr 2021 10:15:31 +0000 (11:15 +0100)]
Fix VSP update backend process

Fix the VSP update procedure which was being rejected by a condition
that checks if a VFC being created has the same name, type and vendor
release. This was recently introduced to avoid duplicate VFC creation
during the initialization process.
This change adds a condition to confirm that no VSP CSAR is involved,
before trying to check for the name, type and vendor release.

Change-Id: Ie46195e810cd72f7412acc7cb01a764ef010f58d
Issue-ID: SDC-3561
Signed-off-by: André Schmid <andre.schmid@est.tech>
3 years agoFix 'Unable to save changed attributes default value' 06/120606/2
vasraz [Thu, 15 Apr 2021 09:03:58 +0000 (10:03 +0100)]
Fix 'Unable to save changed attributes default value'

Implements missing functionality to save changed attribute

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

3 years agoInclude 4.1.1 vduCp in deployment 23/120523/2
MichaelMorris [Fri, 9 Apr 2021 15:09:07 +0000 (16:09 +0100)]
Include 4.1.1 vduCp in deployment

Node type was already added, but not include in the list of types to be deployed during install or upgrade

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

3 years agoFix add property to a VFC 13/120613/2
aribeiro [Wed, 14 Apr 2021 14:43:59 +0000 (15:43 +0100)]
Fix add property to a VFC

Added properties to a VFC were not being displayed on the UI

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

3 years agoAdd service design UI flows 27/120527/2
aribeiro [Tue, 6 Apr 2021 09:25:20 +0000 (10:25 +0100)]
Add service design UI flows

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

3 years agoUpdate npm.registry 22/120622/2
vasraz [Sun, 18 Apr 2021 14:09:25 +0000 (15:09 +0100)]
Update npm.registry

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

3 years agoUpdate INFO.yaml 60/120460/2
ChrisC [Tue, 13 Apr 2021 08:54:01 +0000 (10:54 +0200)]
Update INFO.yaml

Remove inactive committers

Issue-ID: SDC-3544
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I000ab219204952e68b473252fbe63ad4acde9e8d

3 years agoFix attribute create and update actions 66/120366/2
aribeiro [Thu, 8 Apr 2021 16:19:09 +0000 (17:19 +0100)]
Fix attribute create and update actions

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

3 years agoFix 'Unable to delete declared outputs' 99/120399/2
vasraz [Fri, 9 Apr 2021 12:30:04 +0000 (13:30 +0100)]
Fix 'Unable to delete declared outputs'

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

3 years agoFix default imports being amended 69/120369/2
MichaelMorris [Fri, 9 Apr 2021 11:26:22 +0000 (12:26 +0100)]
Fix default imports being amended

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

3 years agoFix weak-cryptography issues 49/120349/6
xuegao [Fri, 9 Apr 2021 06:48:47 +0000 (08:48 +0200)]
Fix weak-cryptography issues

Load the truststore/keystore of our own instead of using the default one.

Issue-ID: SDC-3495
Change-Id: I0ecd764d5198480a065fd38299cc9ff9da66af29
Signed-off-by: xuegao <xue.gao@intl.att.com>
3 years agoImprove ETSI NS UI test 53/120353/2
andre.schmid [Fri, 9 Apr 2021 08:59:07 +0000 (09:59 +0100)]
Improve ETSI NS UI test

- import a ETSI VNF that has the tosca.capabilities.nfv.VirtualLinkable
requirement;
- externalize the tosca.capabilities.nfv.VirtualLinkable requirement
and certify the imported ETSI VNF;
- on the created ETSI NS Service (already existing flow), adds two
instances of the imported ETSI VNF and a NsVirtualLink;
- create a relationship between the two ETSI VNF to the NsVirtualLink,
through the tosca.capabilities.nfv.VirtualLinkable requirement/
capability;
- checks for the new nodes and relationship in the generated ETSI NS
package.

Change-Id: I57fa3079f473c7afcb7569941f870233ce7bdcca
Issue-ID: SDC-3550
Signed-off-by: André Schmid <andre.schmid@est.tech>
3 years agoFix NSD properties 50/120350/2
MichaelMorris [Wed, 31 Mar 2021 20:53:05 +0000 (21:53 +0100)]
Fix NSD properties

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

3 years agoSet default value for ETSI version 60/120260/2
MichaelMorris [Tue, 30 Mar 2021 08:41:24 +0000 (09:41 +0100)]
Set default value for ETSI version

Sets the default value for ETSI version and updates code to use the default value for any mandatory category specific metdata with null values.
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3548
Change-Id: I445443d1de9447945fb0dd8babd3fcebd8e8ed7d

3 years agoAllow property to take its value from defined input list 27/120227/2
KrupaNagabhushan [Tue, 12 Jan 2021 13:41:59 +0000 (13:41 +0000)]
Allow property to take its value from defined input list

Issue-ID: SDC-3547
Change-Id: Ic438e8f8943d0f1c656e386611b88b25f879e83b
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoAdd ETSI VNF/CNF distribution flow 13/120113/3
aribeiro [Wed, 24 Mar 2021 11:20:49 +0000 (11:20 +0000)]
Add ETSI VNF/CNF distribution flow

Issue-ID: SDC-3538
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Signed-off-by: André Schmid <andre.schmid@est.tech>
Change-Id: I34198e25919c77903300ef4e3cac04f52b844f93

3 years agoAdd Create Service Substituition Filter Intergration Test 41/120141/4
davsad [Tue, 9 Mar 2021 18:29:48 +0000 (18:29 +0000)]
Add Create Service Substituition Filter Intergration Test

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

3 years agoHandle intermittent RemoteWebDriver error 12/120112/2
vasraz [Thu, 1 Apr 2021 11:18:09 +0000 (12:18 +0100)]
Handle intermittent RemoteWebDriver error

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

3 years agoFix weak-cryptography issues 08/120008/9
xuegao [Tue, 30 Mar 2021 11:35:13 +0000 (13:35 +0200)]
Fix weak-cryptography issues

Fix the weak-cryptography issues identified in sonarcloud.

Issue-ID: SDC-3495
Change-Id: I0e65c9ad2fa2dda1ffc2c527cc220b9de7a6f217
Signed-off-by: xuegao <xue.gao@intl.att.com>
3 years agoUpdate Committers 06/120106/2
ChrisC [Thu, 1 Apr 2021 14:22:13 +0000 (16:22 +0200)]
Update Committers

Adding Michael Morris and André Schmid as approved SDC committers

Issue-ID: SDC-3544
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I95846cc8f2485b7e1b398188aac13480b2337162

3 years agoAdd 'Import VFC' TC to suite (onapUiSanity.xml) 08/119808/9
vasraz [Wed, 31 Mar 2021 10:59:22 +0000 (11:59 +0100)]
Add 'Import VFC' TC to suite (onapUiSanity.xml)

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

3 years agoIncrease TOSCA integer validator supported range 68/120068/2
vasraz [Tue, 30 Mar 2021 17:58:34 +0000 (18:58 +0100)]
Increase TOSCA integer validator supported range

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

3 years agoArch reference Update 09/120009/2
ChrisC [Tue, 30 Mar 2021 12:00:19 +0000 (14:00 +0200)]
Arch reference Update

Updating Architecture link for H release

Issue-ID: SDC-3532
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I859ffe27330833af60f9e46e2a7eb30bbcba63be

3 years agoImprove test coverage (GenerateEcompErrorsCsv) 24/120024/2
vasraz [Tue, 30 Mar 2021 09:16:14 +0000 (10:16 +0100)]
Improve test coverage (GenerateEcompErrorsCsv)

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

3 years agoRevert "Improve test coverage" 23/120023/2
aribeiro [Tue, 30 Mar 2021 15:24:20 +0000 (16:24 +0100)]
Revert "Improve test coverage"

This reverts commit 1da764ea

Issue-ID: SDC-3540
Change-Id: I54b65e1d5323dcc680c5bb65fa1657b7adb6741d
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoFix restricting valid values for ONAP service metadata 89/119989/1
davsad [Mon, 29 Mar 2021 13:20:02 +0000 (14:20 +0100)]
Fix restricting valid values for ONAP service metadata

Issue-ID: SDC-3539

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