sdc.git
3 years agoset default software version value from properties 16/118416/5
tragait [Wed, 24 Feb 2021 17:11:42 +0000 (17:11 +0000)]
set default software version value from properties

In this commit, default software version value is copied from
software versions list[0] property. This input value will being
used in pnfcustomization table.

Signed-off-by: tragait <rahul.tyagi@est.tech>
Issue-ID: SDC-3469
Change-Id: I114b3452e6a2420487029f7e4d04cb72798c61bb

3 years agoImprove test coverage 36/118536/1
vasraz [Thu, 25 Feb 2021 16:20:56 +0000 (16:20 +0000)]
Improve test coverage

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

3 years agoRelease 1.8.2 containers 27/118527/2
ChrisC [Thu, 25 Feb 2021 15:04:18 +0000 (16:04 +0100)]
Release 1.8.2 containers

Release official dockers for 1.8.2

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

3 years agoRemove testNG dependencies (part 2) 05/118305/4
vasraz [Tue, 23 Feb 2021 17:43:55 +0000 (17:43 +0000)]
Remove testNG dependencies (part 2)

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

3 years agoFix bugs introduced by new code 91/118291/5
vasraz [Tue, 23 Feb 2021 16:38:16 +0000 (16:38 +0000)]
Fix bugs introduced by new code

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

3 years agoIncrease test coverage 05/118405/2
aribeiro [Tue, 23 Feb 2021 17:24:08 +0000 (17:24 +0000)]
Increase test coverage
Unit tests for CapabilityServlet

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

3 years agoUpdate version to 1.8.2 57/117957/4 1.8.2
ChrisC [Wed, 17 Feb 2021 15:02:05 +0000 (16:02 +0100)]
Update version to 1.8.2

Update SDC poms to 1.8.2 to prepare for release

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

3 years agoAdd UI/Rest sanity checks for helm package onboarding 46/118346/3
Remigiusz Janeczek [Wed, 24 Feb 2021 08:15:48 +0000 (09:15 +0100)]
Add UI/Rest sanity checks for helm package onboarding

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

3 years agoFix rollback during resource creation 90/118390/4
andre.schmid [Fri, 19 Feb 2021 16:52:51 +0000 (16:52 +0000)]
Fix rollback during resource creation

Change-Id: If4014483da98857895ebd9528c82fd337aa5ddf8
Issue-ID: SDC-3474
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix 'not deleting Outputs' 70/118170/6
vasraz [Wed, 17 Feb 2021 12:45:11 +0000 (12:45 +0000)]
Fix 'not deleting Outputs'

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

3 years agoImprove import and export VFC TOSCA attributes 71/118071/7
andre.schmid [Tue, 2 Feb 2021 19:18:22 +0000 (19:18 +0000)]
Improve import and export VFC TOSCA attributes

Improve the import and export VFC TOSCA attributes, addressing the
following concerns:
- brings the import and export logic very close to the properties logic,
as they are very similar structures
- fix import/export default values for complex types and list of simple
or complex types
- fix export of unnecessary/empty attribute entries
- creation of attributes during the initialization (base types)
- inheritance of parent attributes

Change-Id: Ic733e3455fc256595b5c2b1f48e19a13be27b5cc
Issue-ID: SDC-3466
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoMigrate to Spring 5 by Honolulu requirement 13/118413/2
vasraz [Wed, 24 Feb 2021 16:19:54 +0000 (16:19 +0000)]
Migrate to Spring 5 by Honolulu requirement

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

3 years agoFix exception thrown in ToscaElementOperation 68/118368/1
MichaelMorris [Mon, 22 Feb 2021 14:59:48 +0000 (14:59 +0000)]
Fix exception thrown in ToscaElementOperation

This is caused by the absence of the metadataKeys property in the category definitions already in the DB

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

3 years agoImplement Attributes/Outputs BE (part 2) 20/117820/16
vasraz [Fri, 5 Feb 2021 19:24:06 +0000 (19:24 +0000)]
Implement Attributes/Outputs BE (part 2)

This commit includes support for:
 - declare Attribute as Output
 - undeclare Attribute as Output
 - export 'Tosca Artifacts' with Attributes/Outputs

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

3 years agoUpgrade Vulnerable Direct Dependencies [snakeyaml] 68/114368/32
JulienBe [Wed, 28 Oct 2020 15:50:25 +0000 (11:50 -0400)]
Upgrade Vulnerable Direct Dependencies [snakeyaml]

Change-Id: I84417ab3d4f18634be519b837a34d1f1e774ceff
Signed-off-by: amohamad <a.mohamad@queensu.ca>
Issue-ID: SDC-3051

Updated MVN dependencies in the respective pom.xml files

Updated the signature of some methods to match new version 1.26

Modified test cases to match the new wording of exceptions

Still working on troublshooting other failing test cases

Change-Id: Ifc796574e6d8d4e4fc707db04944d83427b5dbe6
Signed-off-by: amohamad <a.mohamad@queensu.ca>
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoRemove testNG dependencies 61/118161/2
vasraz [Mon, 22 Feb 2021 14:01:13 +0000 (14:01 +0000)]
Remove testNG dependencies

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

3 years agoAdd new SOL004 ETSI Validator 35/117735/6
aribeiro [Mon, 8 Feb 2021 14:41:39 +0000 (14:41 +0000)]
Add new SOL004 ETSI Validator

Support for onboarding ETSI v3.3.1 SOL004 VNF CSAR Packages
with minimum CNF enhancements from 4.1.1

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

3 years agoFix locally failing TCs in catalog-be 76/114876/37
vasraz [Mon, 22 Feb 2021 09:50:07 +0000 (09:50 +0000)]
Fix locally failing TCs in catalog-be

Migrate to Junit 5 TCs that extends JerseyTest

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I4c81e70836ee5e634291d74cd1773d221dce3702
Issue-ID: SDC-3377
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoETSI NSD SOL001 v3.3.1 types 66/117866/6
MichaelMorris [Thu, 11 Feb 2021 13:20:21 +0000 (13:20 +0000)]
ETSI NSD SOL001 v3.3.1 types

Types in 2.7.1 folder are types valid for v3.3.1 that have not changed from v2.7.1

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

3 years agoETSI SOL007 3.3.1 package security option 2 96/118096/3
andre.schmid [Thu, 28 Jan 2021 17:53:22 +0000 (17:53 +0000)]
ETSI SOL007 3.3.1 package security option 2

Change-Id: I4e021c517449e6ddf11571c02d0b4bdbc93e7c1e
Issue-ID: SDC-2614
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoUpdate node and data types for SOL001 3.3.1 + CNF enhancements 59/117859/5
MichaelMorris [Fri, 5 Feb 2021 16:18:52 +0000 (16:18 +0000)]
Update node and data types for SOL001 3.3.1 + CNF enhancements

Types in 2.7.1 folder are types valid for v3.3.1 that have not changed from v2.7.1
Types in 4.1.1 folder are the CNF enhancements which it is assumed will be in v4.1.1

Includes some changes in functionality to support:
1. Deployment of both existing (2.5.1) versions of types and new versions of types through sdc-BE-init
2. Selection of the correct node type definition version at onboarding of an ETSI SOL004 VNF/CNF csar,
based on the declared version supported in the csar (i.e. when a 3.3.1 csar is imported, the node type
definitions valid for 3.3.1 are used (rather than current logic which always selects the latest version)

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

3 years agoFix BLOCKER BUG reported by Sonar 37/118137/1
vasraz [Sat, 20 Feb 2021 15:37:25 +0000 (15:37 +0000)]
Fix BLOCKER BUG reported by Sonar

added missing fix for DistributionEngineInitTaskTest

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

3 years agoFix BLOCKER BUGs reported by Sonar 27/118127/3
vasraz [Fri, 19 Feb 2021 19:04:13 +0000 (19:04 +0000)]
Fix BLOCKER BUGs reported by Sonar

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

3 years agoFix updating resource version on composition ui 28/118128/2
davsad [Wed, 17 Feb 2021 08:57:04 +0000 (08:57 +0000)]
Fix updating resource version on composition ui

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

3 years agoAdd new SOL004 validator 78/117678/3
davsad [Fri, 5 Feb 2021 13:12:57 +0000 (13:12 +0000)]
Add new SOL004 validator

New validator for onboarding SOL 004 version 3.3.1

Issue-ID: SDC-2611

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

3 years agoAdd validation of manifest for helm packages. 23/117623/15
Jan Malkiewicz [Tue, 9 Feb 2021 07:39:23 +0000 (08:39 +0100)]
Add validation of manifest for helm packages.

For ONAP native zip packages added validation of manifest file.
HELM package is only valid if:
 * isBase flag is set to 'true' for exactly one helm entry
 * isBase flag is present for all helm entries
Zip package is considered to be a helm package if it contains HELM entries but does not contain any HEAT entries (however it may contains entries of other types).

Refactored method OnboardingPackageProcessor.processPackage():
 * simplified logic
 * enhanced exception handling

Issue-ID: SDC-3185
Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com>
Change-Id: Ica3b1f1504ce4fc3a671c4b8fa8de2bf0236bd77

3 years agoFix pnf csar package issue 81/117781/11
xuegao [Thu, 11 Feb 2021 14:16:36 +0000 (15:16 +0100)]
Fix pnf csar package issue

Generate the dependencies and imports even derivedFrom list is empty.

Issue-ID: SDC-3391
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: Ia07d1d6a73a1e08fb8f5ba1678b15e71aecd54b0
Signed-off-by: xuegao <xue.gao@intl.att.com>
3 years agoImplement Attributes/Outputs BE (part 1) 60/117060/16
vasraz [Thu, 18 Feb 2021 13:13:50 +0000 (13:13 +0000)]
Implement Attributes/Outputs BE (part 1)

This commit includes support for:
 - import VFC with attributes
 - add VFC to VF/Service
 - show attributes in VF/Service

Change-Id: I2cda966ab878ae7aee4bcfecf266c5c251c91164
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3448
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoImplement Attributes/Outputs FE 61/117061/13
vasraz [Tue, 16 Feb 2021 17:37:57 +0000 (17:37 +0000)]
Implement Attributes/Outputs FE

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

3 years agoCreation of Vendor Licensing Model is an optional step in VSP onboarding 90/117790/5
JerzySzachniewicz [Fri, 12 Feb 2021 12:53:13 +0000 (13:53 +0100)]
Creation of Vendor Licensing Model is an optional step in VSP onboarding

Issue-ID: SDC-3471
Signed-off-by: JerzySzachniewicz <jerzy.szachniewicz@nokia.com>
Change-Id: Icb98d0832c49939e200ece77f4ca26744cb82222

3 years agoReformat catalog-be-plugins 96/117896/1
vasraz [Tue, 16 Feb 2021 12:44:30 +0000 (12:44 +0000)]
Reformat catalog-be-plugins

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

3 years agoFix build 02/117802/6
ChrisC [Fri, 12 Feb 2021 15:21:40 +0000 (16:21 +0100)]
Fix build

Fix catalog-be tests and Integration docker test
this fix is not final as it just avoids concurrency issues on statics
Fix Expired certificates on Vendorsoftwareproduct

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

3 years agoIntroduce a new profile for second verify job 29/117429/2
sebdet [Wed, 3 Feb 2021 14:05:54 +0000 (15:05 +0100)]
Introduce a new profile for second verify job

This is a new profile for jenkins so that the second verify job can be executed in parallel (all the integration tests)

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

3 years agoFix potential NPE 91/117291/2
xuegao [Mon, 1 Feb 2021 09:59:50 +0000 (10:59 +0100)]
Fix potential NPE

Fix the potentail NPE in FeProxyServlet.

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

3 years agoRelease 1.8.1 dockers 85/117285/1
ChrisC [Mon, 1 Feb 2021 08:35:09 +0000 (09:35 +0100)]
Release 1.8.1 dockers

Releasing 1.8.1 dockers for Honolulu

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

3 years agoUpdate project version 1.8.0 -> 1.8.1 07/115507/5 1.8.1
Joanna Jeremicz [Mon, 30 Nov 2020 10:35:07 +0000 (11:35 +0100)]
Update project version 1.8.0 -> 1.8.1

Version updated due to minor feature, introduced recently:
Trim inputs in Property assignment

Issue-ID: SDC-3390
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>, ChrisC <christophe.closset@intl.att.com>
Change-Id: I35c8d5228278ce29b4134e649aae0eb220fe63ab

3 years agoFix onboarding artifact name changed 36/117236/2
davsad [Fri, 29 Jan 2021 13:35:59 +0000 (13:35 +0000)]
Fix onboarding artifact name changed

Prevent Yang module filenames with prefix _3gpp losing leading _

Issue-ID: SDC-3415

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

3 years agoFix onboarding artifact name error 31/117231/2
davsad [Tue, 19 Jan 2021 10:57:11 +0000 (10:57 +0000)]
Fix onboarding artifact name error

Allowing for @ in Yang files names e.g. samplefile@2021-01-19.yang

Issue-ID: SDC-3414
Change-Id: I20b1f5fceeace24709799b3953d82238bc2b85df
Signed-off-by: davsad <david.sadlier@est.tech>
3 years agoChange popup delay time and rename it's "cancel" to "OK" button. 33/117233/1
Maciej Malewski [Fri, 29 Jan 2021 12:40:17 +0000 (13:40 +0100)]
Change popup delay time and rename it's "cancel" to "OK" button.

Issue-ID: SDC-3390
Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
Change-Id: I158b85212140212a47079a1928c9f0d192fa836c

3 years agoRemove duplicate code 94/116994/6
JulienBe [Wed, 20 Jan 2021 10:20:40 +0000 (11:20 +0100)]
Remove duplicate code

Issue-ID: SDC-3428
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I3c4f595c1200640fcc11fc1bbace967cd539367b
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoAdd support for updating interface operations 16/117116/3
aribeiro [Thu, 19 Nov 2020 13:28:43 +0000 (13:28 +0000)]
Add support for updating interface operations

Allows to update interface operations on a component instance.

Issue-ID: SDC-3446
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Change-Id: I6a2c44997c04d9d9ea298e3d0bc971da7b137799

3 years agoAdd popup informing about long validation time for large pm_dictionary files. 66/117166/4
Maciej Malewski [Wed, 27 Jan 2021 07:54:20 +0000 (08:54 +0100)]
Add popup informing about long validation time for large pm_dictionary files.

For large pm_dictionary files, validation may take up to several minutes (average ~ 17s).
The popup informs the user that the system is still working properly.

Issue-ID: SDC-3390
Change-Id: Ia9ef211f2cab8a557aa1631d311ed06439fb3c26
Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
3 years agoHandle ETSI versions in NSD Plugin 58/117058/2
andre.schmid [Wed, 20 Jan 2021 12:20:40 +0000 (12:20 +0000)]
Handle ETSI versions in NSD Plugin

The plugin now considers the ETSI version in the component metadata
to generate the correct imports of nsd types, i.e., aligned with the
provided version.

Change-Id: I54aee04722a4434eac59ea8b70c4f30f5c81645e
Issue-ID: SDC-3447
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix TOSCA descriptor header version from 1.1 to 1.3 45/117045/2
KrupaNagabhushan [Tue, 19 Jan 2021 15:02:05 +0000 (15:02 +0000)]
Fix TOSCA descriptor header version from 1.1 to 1.3

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

3 years agoFix updating of category specific metadata 22/117022/2
MichaelMorris [Wed, 20 Jan 2021 13:59:46 +0000 (13:59 +0000)]
Fix updating of category specific metadata

When updating a previously set value for a category specific metadata entry, the new value was not being persisted

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

3 years agoFixes for proxy server for onboarding UI 34/116934/2
ilanap [Sun, 17 Jan 2021 15:09:35 +0000 (17:09 +0200)]
Fixes for proxy server for onboarding UI

Issue-ID: SDC-3436
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: Ie7b83b1a6ad0decdea849f7848f7ffd5af05ce23

3 years agoRemove vulnerable log4j dependency 96/116996/5
vasraz [Wed, 20 Jan 2021 21:20:28 +0000 (21:20 +0000)]
Remove vulnerable log4j dependency

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

3 years agoFix empty file list after import service CSAR in VSP 37/117037/4
Tomasz Pietruszkiewicz [Thu, 21 Jan 2021 09:56:15 +0000 (10:56 +0100)]
Fix empty file list after import service CSAR in VSP

Change-Id: Id8e7cb7b71d4cd8d852946b6ff365054e551c005
Issue-ID: SDC-3438
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
3 years agoFix critical bug in sonar in SecurityManagerTest.java 40/117040/2
Tomasz Pietruszkiewicz [Thu, 21 Jan 2021 10:29:13 +0000 (11:29 +0100)]
Fix critical bug in sonar in SecurityManagerTest.java

Change-Id: I2ea2a7c859ea01f86e66440816427f1d5355fa72
Issue-ID: SDC-3444
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
3 years agoPNF CSAR onboarding still works if root CA is removed from SDC directory 31/117031/1
Tomasz Pietruszkiewicz [Thu, 21 Jan 2021 07:40:48 +0000 (08:40 +0100)]
PNF CSAR onboarding still works if root CA is removed from SDC directory

Change-Id: I687c4b9e7e25ca254caefb1746ee6f0984a539a8
Issue-ID: SDC-3442
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
3 years agoAdd handling of individual artifact signature in manifest file. 06/116906/4
Bartosz Gardziejewski [Tue, 19 Jan 2021 12:04:48 +0000 (13:04 +0100)]
Add handling of individual artifact signature in manifest file.

Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Issue-ID: SDC-3397
Change-Id: I0082571a874721998a07aef3ea845de76483d9c7

3 years agoFix error in service substitution 84/116984/3
MichaelMorris [Tue, 19 Jan 2021 16:04:14 +0000 (16:04 +0000)]
Fix error in service substitution

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

3 years agoFix import of services containing artifacts 60/116960/2
MichaelMorris [Mon, 18 Jan 2021 17:53:43 +0000 (17:53 +0000)]
Fix import of services containing artifacts

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

3 years agoRemove dead code 66/116966/4
JulienBe [Tue, 19 Jan 2021 09:54:52 +0000 (10:54 +0100)]
Remove dead code
Remove unused variables
Remove unnecessary statements

Issue-ID: SDC-3428
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: Iddc8ffdc141edd409d50f90c03cb6612f6ebf042
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoFix Blocker BUG 76/116976/2
vasraz [Tue, 19 Jan 2021 13:24:18 +0000 (13:24 +0000)]
Fix Blocker BUG

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

3 years agoAdd basic auth header 77/116477/11
xuegao [Fri, 18 Dec 2020 09:37:23 +0000 (10:37 +0100)]
Add basic auth header

Add basic auth header for sdc-backend-init python scripts.

Issue-ID: OJSI-273
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I3559d5792509db0f65b202a731545083c7c91c96
Signed-off-by: xuegao <xue.gao@intl.att.com>
3 years agoAdd basic auth 63/116263/12
xuegao [Wed, 9 Dec 2020 15:01:22 +0000 (16:01 +0100)]
Add basic auth

Adding basic auth for SDC apis.

Issue-ID: OJSI-90
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: Ie84e6bab8d8526f7f4d21a36bba52d8fe9abebbb
Signed-off-by: xuegao <xue.gao@intl.att.com>
3 years agoFix signature validation in SDC (PNF package onboarding) 81/116881/9
Tomasz Pietruszkiewicz [Thu, 14 Jan 2021 16:03:31 +0000 (17:03 +0100)]
Fix signature validation in SDC (PNF package onboarding)

Change-Id: Ief8bf62e48a23a091e9084333c2523d8490fdcd2
Issue-ID: SDC-3386
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
3 years agoMap VSP PM_DICTIONARY Type to VF PM_DICTIONARY Type 18/116918/10
Adam Wudzinski [Fri, 15 Jan 2021 16:38:30 +0000 (17:38 +0100)]
Map VSP PM_DICTIONARY Type to VF PM_DICTIONARY Type

File defined in ZIP VSP package as PM_DICTIONARY will be now mapped to PM_DICTIONARY type in VF. Also PmDictionaryValidator is run on files with PM_DICTIONARY type in ZIP Manifest file, instead of file naming convention.

Issue-ID: SDC-3390
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: I2e21353b9e80b6bb68c4c6d408ad1ffa33314e7b

3 years agoInitial support for relationship_templates 64/116864/3
andre.schmid [Wed, 18 Nov 2020 18:13:58 +0000 (18:13 +0000)]
Initial support for relationship_templates

Change-Id: Ia246b9f11a77815c0585abfa0b3de5433728001a
Issue-ID: SDC-3435
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoCreate inputs independent of properties 02/116602/3
KrupaNagabhushan [Thu, 19 Nov 2020 14:28:00 +0000 (14:28 +0000)]
Create inputs independent of properties

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

3 years agoEnable updating of categories 50/116750/3
MichaelMorris [Tue, 5 Jan 2021 13:44:34 +0000 (13:44 +0000)]
Enable updating of categories

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

3 years agoFix sdc-modal-type-error component. 92/116792/1
Maciej Malewski [Wed, 13 Jan 2021 13:47:38 +0000 (14:47 +0100)]
Fix sdc-modal-type-error component.

For many pm_dictionary validation errors, component was not fully visible. It has been fixed, by edit css styles.

Issue-ID: SDC-3390
Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
Change-Id: I388655ece619f6b327a2138b31ea4a1cd9bfa8ef

3 years agoImprove test coverage 65/116665/5
Julien Bertozzi [Thu, 7 Jan 2021 11:19:52 +0000 (12:19 +0100)]
Improve test coverage

Issue-ID: SDC-3428
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Change-Id: I48b6991fbbea31279246d92692760fc6375c7eb5
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
3 years agoSupport for category specific metadata 25/116625/7
MichaelMorris [Tue, 15 Dec 2020 16:12:59 +0000 (16:12 +0000)]
Support for category specific metadata

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

3 years agoRemove NSD subst. mappings prop. and attr. 29/116729/2
andre.schmid [Tue, 15 Dec 2020 13:47:47 +0000 (13:47 +0000)]
Remove NSD subst. mappings prop. and attr.

Remove from the NSD generation the substitution_mappings properties and
attribute generation. It is not part of the Network Service Descriptor
SOL001 specification.

Change-Id: Ieab0a5d571d5b7afe999d74a103a563a2abc72ed
Issue-ID: SDC-3434
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix Inputs Value field to allow null value 01/116601/2
KrupaNagabhushan [Fri, 4 Dec 2020 12:54:44 +0000 (12:54 +0000)]
Fix Inputs Value field to allow null value

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

3 years agoFix NPE 96/116696/7
Jan Malkiewicz [Fri, 8 Jan 2021 13:28:15 +0000 (14:28 +0100)]
Fix NPE

Fix NPE during the onboarding of a helm package.
NPE was thrown in HeatTreeManager.handleOrphans():
 *  tree.getHeat()::contains

Issue-ID: SDC-3185
Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com>
Change-Id: I9e0461cfe18705b6fb53ae318e473bd4e2651305

3 years agoUpdate ETSI NFV Network Service category 87/116487/2
andre.schmid [Thu, 10 Dec 2020 18:00:32 +0000 (18:00 +0000)]
Update ETSI NFV Network Service category

Change-Id: Idbc88a7a047e539d1826997e8d98af23c3ee9bbd
Issue-ID: SDC-3416
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoAdd PM_Dictionary artifact type for VNF/CNF packages 64/116564/1
Adam Wudzinski [Mon, 4 Jan 2021 14:48:17 +0000 (15:48 +0100)]
Add PM_Dictionary artifact type for VNF/CNF packages

Issue-ID: SDC-3390
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: I4726a786c1fd466b71c4fd1f55cec6ab0598bab3

3 years agoIntegration tests for validating PM_Dictionary. 26/116426/7
Maciej Malewski [Thu, 10 Dec 2020 13:38:00 +0000 (14:38 +0100)]
Integration tests for validating PM_Dictionary.

Checking compliance content of the PM_Dictionary file against it's schema.

Issue-ID: SDC-3390
Change-Id: I8e20f977c7d6838005bc84fc6c7c8ab197152a53
Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
3 years agoRelease SDC 1.8.0 29/116029/3
Joanna Jeremicz [Wed, 2 Dec 2020 15:13:27 +0000 (16:13 +0100)]
Release SDC 1.8.0

Issue-ID: SDC-3390
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I3b4c28185e91b91ba42436dc2da91587ac379a52

3 years agoAdd metadata to topology inputs 74/116174/2 1.8.0
MichaelMorris [Fri, 27 Nov 2020 17:26:46 +0000 (17:26 +0000)]
Add metadata to topology inputs

Change-Id: If57e16003532d59552fa0b5cacc69a792e5b877a
Issue-ID: SDC-3399
Signed-off-by: MichaelMorris <michael.morris@est.tech>
3 years agoSet directives and node_filters in any node type 90/116290/2
aribeiro [Wed, 28 Oct 2020 14:55:59 +0000 (14:55 +0000)]
Set directives and node_filters in any node type

Allows to set directives and node_filters in any node type.

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

3 years agoAdd artifact status notification message 41/116341/4
Michal Banka [Thu, 10 Dec 2020 14:05:24 +0000 (15:05 +0100)]
Add artifact status notification message

- Added column Message in consumer's artifacts view with shorten errorReason
- Added full errorReason to artifacts's statuses view

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: SDC-3401
Change-Id: I6d29ad67838010fc2896bb97fa72af07e912ebb2

3 years agoRemove tosca.entity.Root from interface definition 65/116165/2
MichaelMorris [Mon, 7 Dec 2020 11:15:51 +0000 (11:15 +0000)]
Remove tosca.entity.Root from interface definition

No definition of type tosca.entity.Root is present meaning the derived from reference in tosca.interfaces.Root to tosca.entity.Root cannot be resolved. I cannot find any definition of tosca.entity.Root in the tosca spec so I am proposing to remove the "derived from" from this interface definition. This is consistent with tosca.nodes.root which does not contain the derived from even though in the tosca spec it is derived from tosca.entity.Root

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

3 years agoAllow substitution_filter for a VF 40/114640/3
KrupaNagabhushan [Wed, 28 Oct 2020 19:14:54 +0000 (19:14 +0000)]
Allow substitution_filter for a VF

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

3 years agoFixing issue with nested services 79/115179/3
KrupaNagabhushan [Thu, 12 Nov 2020 16:17:46 +0000 (16:17 +0000)]
Fixing issue with nested services

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

3 years agoSupport interface input during import VFC 85/114685/3
andre.schmid [Wed, 14 Oct 2020 19:56:11 +0000 (20:56 +0100)]
Support interface input during import VFC

Change-Id: I097ce258a7dadbedf1aff6ce53dd1286da074552
Issue-ID: SDC-3372
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years agoFix operation with external artifact creation 22/116122/2
andre.schmid [Thu, 3 Dec 2020 15:45:04 +0000 (15:45 +0000)]
Fix operation with external artifact creation

Change-Id: I728534bbc0e1c29800ae57300aa3c6a4710ac887
Issue-ID: SDC-3396
Signed-off-by: andre.schmid <andre.schmid@est.tech>
3 years ago[SDC] Validate PMDictionary content in Deployment artifacts tab 39/116039/5
Adam Wudzinski [Wed, 2 Dec 2020 17:07:22 +0000 (18:07 +0100)]
[SDC] Validate PMDictionary content in Deployment artifacts tab

Validate PMDictionary file content when adding or updating PMDictionary in Deployment artifacts tab. Fix dependencies conflict.

Issue-ID: SDC-3390
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: I6f6bb196ef061419a309a8ded5fdbe116982a037

3 years agoFix Req & capabilities tab for component instance 81/115181/3
KrupaNagabhushan [Thu, 12 Nov 2020 15:58:00 +0000 (15:58 +0000)]
Fix Req & capabilities tab for component instance

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

3 years agoValidate PMDictionary contents 86/115486/9
Maciej Malewski [Fri, 20 Nov 2020 13:33:04 +0000 (14:33 +0100)]
Validate PMDictionary contents

Validate contents against schema for .csar packs compliant with NFV-SOL 004.

Issue-ID: SDC-3390
Signed-off-by: Maciej Malewski <maciej.malewski@nokia.com>
Change-Id: Ib768821ad8215105ca4a33953fa9974a63ed76f7

3 years ago[SDC] PM_Dictionary file validation for ZIP onboarding 84/115484/10
Adam Wudzinski [Fri, 27 Nov 2020 11:50:27 +0000 (12:50 +0100)]
[SDC] PM_Dictionary file validation for ZIP onboarding

Use PM_Dictionary validator from VNF-SDK to validate PM_Dictionary files when onboarding ZIP package

Issue-ID: SDC-3390
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: I03fd622393d675977527b9845b6cf8b87b2ec0a3

3 years agoUpdate .gitignore 58/115558/1
vasraz [Mon, 30 Nov 2020 17:55:36 +0000 (17:55 +0000)]
Update .gitignore

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

3 years agoTrim inputs in Property assignment 84/115384/4
Joanna Jeremicz [Wed, 25 Nov 2020 13:03:01 +0000 (14:03 +0100)]
Trim inputs in Property assignment

Remove white spaces around input value
Add unit test

Issue-ID: SDC-3390
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I53feef6b6171262ebf0ec53c20c0a4df1bb6d4b2

3 years agoFix doc issues 91/114991/7
ChrisC [Tue, 17 Nov 2020 10:35:34 +0000 (11:35 +0100)]
Fix doc issues

Update links

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

3 years agoFix import VFC with attributes 54/114954/3
aribeiro [Tue, 17 Nov 2020 10:52:41 +0000 (10:52 +0000)]
Fix import VFC with attributes

Fix import VFC with default attribute value
Fix Update, create and delete attribute action
Make attribute definition tosca compliant

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

3 years agoWhen submitting the service CSAR file import, duplicate key null appears in the log 79/114979/2
zhaoxiangjun666 [Tue, 17 Nov 2020 03:11:32 +0000 (11:11 +0800)]
When submitting the service CSAR file import, duplicate key null appears in the log

Issue-ID: SDC-3382
Change-Id: I7679cd7677f9e9bb6e7c8efd8f081fba4972d1bd
Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com>
3 years agoFix doc issues 26/114926/2
ChrisC [Mon, 16 Nov 2020 14:01:03 +0000 (15:01 +0100)]
Fix doc issues

Update with Guilin content

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

3 years agoFix node filter capability filters 59/114259/4
aribeiro [Mon, 5 Oct 2020 09:45:11 +0000 (10:45 +0100)]
Fix node filter capability filters

Issue-ID: SDC-3335
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I6ffc1e0fb079ac0e33262f16a62deefda97f7616
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
3 years agoFix deployment artifact not shown 80/114880/2
sebdet [Fri, 13 Nov 2020 15:18:15 +0000 (16:18 +0100)]
Fix deployment artifact not shown

Fix deployment artifact not shown when clicking on the composed resource defined in a service.

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

3 years agoUpdate Documentation 78/114878/2
ChrisC [Fri, 13 Nov 2020 14:04:38 +0000 (15:04 +0100)]
Update Documentation

Update local SDC doc with Guilin Content

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

3 years agoAdd type field 64/114764/5
xuegao [Tue, 10 Nov 2020 14:05:47 +0000 (15:05 +0100)]
Add type field

Add type field for AttributeDataDefinition so that the type column is not empty in Catalog Attribute UI.

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

3 years agoUpgrade the zusammen lib 63/114663/3
sebdet [Fri, 6 Nov 2020 14:47:58 +0000 (15:47 +0100)]
Upgrade the zusammen lib

Upgrade zusammen lib as an attempt to fix concurrency issue in onboarding be

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

3 years agoFix import service csar label sticking out 74/114674/1
Satoshi Fujii [Sat, 7 Nov 2020 10:11:20 +0000 (19:11 +0900)]
Fix import service csar label sticking out

Changed the button label to be shorter

Issue-ID: SDC-3371
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
Change-Id: Icd5ceec9418f51bd21713701d25ac4a76d5a17ca

3 years agoModify the get service Abstract status interface and add the tonode judgment 20/114620/2
sebdet [Thu, 5 Nov 2020 11:02:07 +0000 (12:02 +0100)]
Modify the get service Abstract status interface and add the tonode judgment

Fix code

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

3 years agoAdd substitution_mapping attributes mapping 19/114219/4
vasraz [Tue, 20 Oct 2020 17:16:28 +0000 (18:16 +0100)]
Add substitution_mapping attributes mapping

Add support of mapping the outputs to attributes in substitution_mapping

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

3 years agoUpdate release-notes.rst 52/114452/3
ChrisC [Fri, 30 Oct 2020 17:07:02 +0000 (18:07 +0100)]
Update release-notes.rst

Update with Guilin content

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

3 years agoModify the get service Abstract status interface and add the tonode judgment 25/114425/2
zhaoxiangjun666 [Fri, 30 Oct 2020 01:20:53 +0000 (09:20 +0800)]
Modify the get service Abstract status interface and add the tonode judgment

Issue-ID: SDC-3346
Change-Id: Ib61d54394d6c4f0d20c39824e9265fc4bff995c1
Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com>