sdc.git
2 years agofix policy and group drag and drop bug 01/126901/3
stasys10 [Tue, 4 Jan 2022 14:15:06 +0000 (14:15 +0000)]
fix policy and group drag and drop bug

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

2 years agoAdd controlloop components to SDC design 45/126845/2
Sirisha_Manchikanti [Mon, 10 Jan 2022 16:32:40 +0000 (16:32 +0000)]
Add controlloop components to SDC design

This commit will add controlloop components like Participant,
ControlLoopElement and ControlLoop to SDC. Addition of these
components in SDC will enable to build a CSAR with controloop
components and establish a controlloop by distributing the CSAR
to policy-distribution and thereby to CLAMP.

Issue-ID: SDC-3842
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I6f417f7a635f6f0dec3ce6163c5b41ada374567a

2 years agoObtain and control VSP package upload status 34/126834/3
andre.schmid [Tue, 25 Jan 2022 19:38:32 +0000 (19:38 +0000)]
Obtain and control VSP package upload status

Obtain the upload status and control the upload from the frontend
perspective.

Change-Id: Idcc921cf592efea33df35c557afcfae827af3a39
Issue-ID: SDC-3862
Signed-off-by: andre.schmid <andre.schmid@est.tech>
2 years agoAdd artifact types to ETSI SOL001 v2.5.1 model 09/126709/3
JvD_Ericsson [Fri, 21 Jan 2022 14:48:25 +0000 (14:48 +0000)]
Add artifact types to ETSI SOL001 v2.5.1 model

Issue-ID: SDC-3855
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I9d8b7fa03505b52db7b17b43843a0b04133c5757

2 years agoFix issue in artifact type update 63/126763/2
MichaelMorris [Tue, 25 Jan 2022 19:53:06 +0000 (19:53 +0000)]
Fix issue in artifact type update

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

2 years agoFix decrypt errors in sdc-be logs 65/126665/5
JvD_Ericsson [Thu, 20 Jan 2022 09:59:31 +0000 (09:59 +0000)]
Fix decrypt errors in sdc-be logs

Will check if userId is a base64 encoding before trying to decrypt

Issue-ID: SDC-3851
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I437bf9cc5952f4d21e5bda60875ada27dcc9cd66

2 years agoAdd a display name for the category 35/126735/3
stasys10 [Mon, 29 Nov 2021 19:52:58 +0000 (19:52 +0000)]
Add a display name for the category

Issue-ID: SDC-3858
Change-Id: Ic818b3b4bc4f4e91c9da0cdacb40549a3f071c68
Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2 years agoView Interface definition on VFC 53/126653/8
aribeiro [Thu, 13 Jan 2022 14:33:25 +0000 (14:33 +0000)]
View Interface definition on VFC

Add Interface support to VFC view UI

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

2 years agoFix use of Optional in TranslatorHeatToToscaPropertyConverter 21/126721/4
franciscovila [Mon, 24 Jan 2022 10:10:40 +0000 (10:10 +0000)]
Fix use of Optional in TranslatorHeatToToscaPropertyConverter

Checking the Optionals are present before getting
their values in the TranslatorHeatToToscaPropertyConverter class

Issue-ID: SDC-3834
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I92f9153adea8be4225c0a181fd31b9f7090bde96

2 years agoUpdate onboarding upload status during processing 24/126624/8
andre.schmid [Tue, 18 Jan 2022 10:16:37 +0000 (10:16 +0000)]
Update onboarding upload status during processing

Updates the onboarding upload status during the VSP package processing

Change-Id: Idc705220ad26e62577b52c6f9126aeae51a33fe0
Issue-ID: SDC-3848
Signed-off-by: andre.schmid <andre.schmid@est.tech>
2 years agoFix issues creating control loop model 14/126714/3
MichaelMorris [Fri, 21 Jan 2022 21:18:01 +0000 (21:18 +0000)]
Fix issues creating control loop model

Change-Id: I38812f812fdf082aaadf13b79b8b05d26a481b15
Issue-ID: SDC-3856
Signed-off-by: MichaelMorris <michael.morris@est.tech>
2 years agoFix use of Optional in TranslatorHeatToToscaParameterConverter 22/126722/1
franciscovila [Mon, 24 Jan 2022 10:15:42 +0000 (10:15 +0000)]
Fix use of Optional in TranslatorHeatToToscaParameterConverter

Checking the Optionals are present before getting
their values in the TranslatorHeatToToscaParameterConverter class

Issue-ID: SDC-3833
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I133b47aadfa11b42736fe2b68bee4fba78847f00

2 years agoSupport node template artifact properties 25/126625/3
JvD_Ericsson [Tue, 18 Jan 2022 10:17:58 +0000 (10:17 +0000)]
Support node template artifact properties

Add properties variable to relevant classes and update functions to set these vaules
Added properties to an artifact in ETSI-VNF-SAMPLE.csar

Issue-ID: SDC-3847
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Id4f835826be7556cd97403da2018644c6dfea95b

2 years agoAdd support for update to artifact types endpoint 15/126615/8
franciscovila [Mon, 17 Jan 2022 10:41:23 +0000 (10:41 +0000)]
Add support for update to artifact types endpoint

Creates a new artifact type or overwrites it,
if this already exists.

Issue-ID: SDC-3846
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Ia380dd4d790a94aa030ccf434de0440cc620f55c

2 years agoOnboarding upload control 82/126482/12
andre.schmid [Wed, 15 Dec 2021 19:44:06 +0000 (19:44 +0000)]
Onboarding upload control

Brings the initial structure to control asynchronously a VSP package
upload during the onboarding.
Instead of blocking the UI, the upload and processing status will be
controlled by the backend, so the frontend can query it and control the
behaviour of the UI.
Updates the upload endpoint to obtain/verify an upload lock, and creates
a second endpoint to check for the upload status.

Change-Id: If1c43fb4f0b11e1d8a5627578bafc75f266393c2
Issue-ID: SDC-3826, SDC-3827
Signed-off-by: andre.schmid <andre.schmid@est.tech>
2 years agoForce a fixed version of cqlsh in cassandra init 60/126660/2
andre.schmid [Wed, 19 Jan 2022 20:41:02 +0000 (20:41 +0000)]
Force a fixed version of cqlsh in cassandra init

The latest version of cqlsh is not working with the current
sdc-cassandra-init and sdc-onboard-cassandra-init image/container
setup. This change forces the version to the latest functional version,
6.0.0, so it will not take any other future release, avoiding
unpredictable errors.
It also removes duplicate entries of pip upgrade and cqlsh install
in the onboarding cassandra init.

Change-Id: Ibfd6d34f2857653595897c0e0929eea73015232b
Issue-ID: SDC-3852
Signed-off-by: andre.schmid <andre.schmid@est.tech>
2 years agoImprove error logging in MinIo client 26/126626/3
vasraz [Tue, 18 Jan 2022 11:14:19 +0000 (11:14 +0000)]
Improve error logging in MinIo client

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

2 years agoFix use of Optional in ModelOperation 23/126623/3
franciscovila [Tue, 18 Jan 2022 09:42:50 +0000 (09:42 +0000)]
Fix use of Optional in ModelOperation

Checking the Optionals are present before getting
their values in the ModelOperation class

Issue-ID: SDC-3832
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I1bf55744a6bd31d1fe423fd0eabf09f0c04a2422

2 years agoAdd sdc-be-init support for artifact types 14/126614/1
vasraz [Mon, 17 Jan 2022 14:29:03 +0000 (14:29 +0000)]
Add sdc-be-init support for artifact types

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

2 years agoFix use of Optional in ToscaAnalyzerServiceImpl 04/126604/2
franciscovila [Thu, 13 Jan 2022 11:54:10 +0000 (11:54 +0000)]
Fix use of Optional in ToscaAnalyzerServiceImpl

Checking the Optionals are present before getting
their values in the ToscaAnalyzerServiceImpl class

Issue-ID: SDC-3836
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I206877115abf36d8b80a8d38dac2415407828c4b

2 years agoFix use of Optional in EntitlementPoolZusammenDaoImpl 89/126589/2
franciscovila [Thu, 13 Jan 2022 10:03:44 +0000 (10:03 +0000)]
Fix use of Optional in EntitlementPoolZusammenDaoImpl

Checking the Optionals are present before getting
their values in the EntitlementPoolZusammenDaoImpl class

Issue-ID: SDC-3835
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I9e2ead4b88510499ae6c8377c95bba3be21935a7

2 years agoFix use of Optional in ToscaElementOperation 01/126601/1
franciscovila [Thu, 13 Jan 2022 19:31:25 +0000 (19:31 +0000)]
Fix use of Optional in ToscaElementOperation

Checking the Optionals are present before getting
their values in the ToscaElementOperation class

Issue-ID: SDC-3831
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I411f7d70a0016f0632e6e0daa315dfa70ffe8de9

2 years agoImprove testing stability 20/126520/4
vasraz [Mon, 10 Jan 2022 19:23:57 +0000 (19:23 +0000)]
Improve testing stability

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

2 years agoFix use of Optional in ComponentBusinessLogic 52/126552/2
franciscovila [Tue, 11 Jan 2022 11:02:57 +0000 (11:02 +0000)]
Fix use of Optional in ComponentBusinessLogic

Checking the Optionals are present before getting
their values in the ComponentBusinessLogic class

Issue-ID: SDC-3829
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I9ec1825dfa0489875933728fa708fc79f0991751

2 years agoFix use of Optional in TranslatorHeatToToscaParameterConverter 74/126574/2
franciscovila [Wed, 12 Jan 2022 14:03:15 +0000 (14:03 +0000)]
Fix use of Optional in TranslatorHeatToToscaParameterConverter

Checking the Optionals are present before getting
their values in the TranslatorHeatToToscaParameterConverter class

Issue-ID: SDC-3833
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I6721c028c420734f3a02f78468e4b22acbfb5be8

2 years agoFix use of Optional in ComponentInstanceInputsMergeBL 58/126558/5
franciscovila [Tue, 11 Jan 2022 12:29:08 +0000 (12:29 +0000)]
Fix use of Optional in ComponentInstanceInputsMergeBL

Issue-ID: SDC-3830
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I3504f3fdb449e2b236501eaa31dbe4e2cbda1247

2 years agoFix use of Optional in ModelOperation 69/126569/1
franciscovila [Wed, 12 Jan 2022 12:57:15 +0000 (12:57 +0000)]
Fix use of Optional in ModelOperation

Checking the Optionals are present before getting
their values in the ModelOperation class

Issue-ID: SDC-3832
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Ia28c3ebbd32db83b54b4f8d5b5fa35dfa2c4af50

2 years agoRemove test-jar generation 43/126543/4
vasraz [Tue, 11 Jan 2022 18:02:46 +0000 (18:02 +0000)]
Remove test-jar generation

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

2 years agoRelease 1.10.0 49/126549/1
MichaelMorris [Mon, 10 Jan 2022 16:03:39 +0000 (16:03 +0000)]
Release 1.10.0

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

2 years agomaven.test.skip causing skipping of test-jar 25/126525/2 1.10.0
MichaelMorris [Fri, 7 Jan 2022 23:49:49 +0000 (23:49 +0000)]
maven.test.skip causing skipping of test-jar

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

2 years agoUpdate release notes for 1.10.0 11/126511/1
MichaelMorris [Fri, 7 Jan 2022 16:18:18 +0000 (16:18 +0000)]
Update release notes for 1.10.0

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

2 years agoUpgrade min.io to latest version (8.3.4) 94/126494/2
vasraz [Thu, 6 Jan 2022 16:23:33 +0000 (16:23 +0000)]
Upgrade min.io to latest version (8.3.4)

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

2 years agoUpdate property to identify SOL004 packages 95/126495/3
aribeiro [Thu, 6 Jan 2022 16:25:52 +0000 (16:25 +0000)]
Update property to identify SOL004 packages

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

2 years agoFix NPE in ArtifactsBusinessLogic 97/126497/2
franciscovila [Thu, 6 Jan 2022 16:51:58 +0000 (16:51 +0000)]
Fix NPE in ArtifactsBusinessLogic

Sonar reflects: NullPointerException will be thrown
when invoking method validateOrSetArtifactGroupType()

Issue-ID: SDC-3828
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Ic228dedb9719f10be57278ae485a24250e412eab

2 years agoMake configurable UI version 77/126477/2
vasraz [Wed, 5 Jan 2022 13:13:06 +0000 (13:13 +0000)]
Make configurable UI version

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

2 years agoFix use of Optional in HeatToToscaUtil 68/126368/8
franciscovila [Wed, 22 Dec 2021 12:41:19 +0000 (12:41 +0000)]
Fix use of Optional in HeatToToscaUtil

Checking the Optionals are present before getting their values in the
HeatToToscaUtil class. Adding a new test class for this purpose

Issue-ID: SDC-3018
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I9fbfbb6f9ebff1f0259b9c9113da6730bfa01cfa

2 years agoRemove vulnerable dependency 87/126387/3
vasraz [Thu, 30 Dec 2021 13:59:00 +0000 (13:59 +0000)]
Remove vulnerable dependency

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

2 years agoFix inputs created incorrectly. 74/126374/5
MichaelMorris [Thu, 23 Dec 2021 09:48:55 +0000 (09:48 +0000)]
Fix inputs created incorrectly.

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

2 years agoUpdate Catalog-model set skip deploy to false 75/126375/1
aribeiro [Wed, 22 Dec 2021 10:39:17 +0000 (10:39 +0000)]
Update Catalog-model set skip deploy to false

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

2 years agoIdentify SOL004 packages 33/126233/5
aribeiro [Tue, 14 Dec 2021 15:09:50 +0000 (15:09 +0000)]
Identify SOL004 packages

Issue-ID: SDC-3819
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Change-Id: I7ea36ebc27753e8068791cffc3340db30adc4662
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2 years agoFix unable to set node topology interface 71/126071/2
MichaelMorris [Fri, 3 Dec 2021 11:43:04 +0000 (11:43 +0000)]
Fix unable to set node topology interface

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

2 years agoFix set value of custom data type 72/126072/2
MichaelMorris [Fri, 3 Dec 2021 11:41:08 +0000 (11:41 +0000)]
Fix set value of custom data type

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

2 years agoFix potential Log4Shell Security Vulnerability 52/126252/4
vasraz [Tue, 14 Dec 2021 17:34:40 +0000 (17:34 +0000)]
Fix potential Log4Shell Security Vulnerability

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

2 years agoFix MongoSocketOpenException-issue 06/126206/5
vasraz [Fri, 10 Dec 2021 20:47:01 +0000 (20:47 +0000)]
Fix MongoSocketOpenException-issue

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

2 years agoFix NPE in ToscaElementLifecycleOperation - handlePreviousVersionRelation 85/126285/3
franciscovila [Wed, 15 Dec 2021 17:25:23 +0000 (17:25 +0000)]
Fix NPE in ToscaElementLifecycleOperation - handlePreviousVersionRelation

Change-Id: I8a0ffe60755788857842f5baa98dd34ccd81f33d
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Issue-ID: SDC-2968
fixed review comments

2 years agoAllows custom property type names 55/126155/5
aribeiro [Wed, 8 Dec 2021 11:27:37 +0000 (11:27 +0000)]
Allows custom property type names

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

2 years agoFix generated tosca and Required fields validation 76/125976/5
aribeiro [Tue, 30 Nov 2021 08:43:42 +0000 (08:43 +0000)]
Fix generated tosca and Required fields validation

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

2 years agoImprove fast-build profile 40/126140/3
vasraz [Wed, 8 Dec 2021 22:12:52 +0000 (22:12 +0000)]
Improve fast-build profile

Remove docker build from 'fast-build' profile

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

2 years agoEnable VF to be nested in a VF 02/126102/4
aribeiro [Tue, 7 Dec 2021 11:12:49 +0000 (11:12 +0000)]
Enable VF to be nested in a VF

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>
2 years agoAllow space and single quote in prop names 04/126104/2
aribeiro [Tue, 7 Dec 2021 11:16:15 +0000 (11:16 +0000)]
Allow space and single quote in prop names

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3802
Change-Id: I9017083e1e26794b006abffe4db9472b5b788ca1
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2 years agoFix vulnerable dependency 46/125946/6
vasraz [Mon, 29 Nov 2021 17:42:02 +0000 (17:42 +0000)]
Fix vulnerable dependency

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

2 years agoUpdate import service to import substitution filters 18/125618/5
KrupaNagabhushan [Wed, 27 Oct 2021 15:37:19 +0000 (16:37 +0100)]
Update import service to import substitution filters

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

2 years agoFix Node Filter faults 13/126013/3
aribeiro [Thu, 2 Dec 2021 09:58:42 +0000 (09:58 +0000)]
Fix Node Filter faults

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

2 years agoUpdate import service to import node filter 61/125661/6
KrupaNagabhushan [Wed, 3 Nov 2021 20:43:16 +0000 (20:43 +0000)]
Update import service to import node filter

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

2 years agoAdd node filter with getInput function 77/125877/4
aribeiro [Thu, 18 Nov 2021 10:29:39 +0000 (10:29 +0000)]
Add node filter with getInput function

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

2 years agoFix import service to persist its model name 77/126077/1
KrupaNagabhushan [Mon, 6 Dec 2021 08:56:50 +0000 (08:56 +0000)]
Fix import service to persist its model name

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

2 years agoAdd VNFD to NSD when using S3 storage 71/125871/4
vasraz [Fri, 26 Nov 2021 14:40:29 +0000 (14:40 +0000)]
Add VNFD to NSD when using S3 storage

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

2 years agoRevert accidentally formatted POMs 45/125945/1
vasraz [Fri, 26 Nov 2021 15:57:50 +0000 (15:57 +0000)]
Revert accidentally formatted POMs

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

2 years agoSet default base type when none is provided 55/125855/5
andre.schmid [Tue, 23 Nov 2021 21:35:12 +0000 (21:35 +0000)]
Set default base type when none is provided

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>
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

2 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>
2 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>
2 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>
2 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

2 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

2 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

2 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>
2 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>
2 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

2 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>