xuegao [Thu, 11 Mar 2021 15:18:22 +0000 (16:18 +0100)]
Adding unit tests
Adding unit tests to improve test coverage.
Issue-ID: SDC-3428
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: Icea75db44575c2ea9e6b51a34730e83b0d35f03f
vasraz [Wed, 10 Mar 2021 16:36:07 +0000 (16:36 +0000)]
Restrict XpathSelector's visibility
Change-Id: Ie2fc1a038240966df3666225b7712ca5b7593254
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3503
vasraz [Wed, 10 Mar 2021 17:27:24 +0000 (17:27 +0000)]
Remove redundant code
Change-Id: I51382491b6633a49eb5e534439ee3258447c5bfe
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3503
davsad [Fri, 19 Feb 2021 17:13:51 +0000 (17:13 +0000)]
Fix requirement external toggle when deselecting and reselecting node
Issue-ID: SDC-3501
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: Ib4b1913adc54fb15277af324e8eaf5bbd82c0f95
xuegao [Mon, 1 Mar 2021 08:19:39 +0000 (09:19 +0100)]
Fix sonar bugs
Fix the bugs indicated by Sonar in YamlUtilTest.
Issue-ID: SDC-3428
Change-Id: Ic0a4b9e4ee45d047414bb14929abcd5d390466d4
Signed-off-by: xuegao <xue.gao@intl.att.com>
andre.schmid [Fri, 26 Feb 2021 18:19:50 +0000 (18:19 +0000)]
Add ETSI 2.5.1 Network Service design UI Test
Change-Id: I3b008020601c2e5ecdcc3de594fc40d692b2cd8d
Issue-ID: SDC-3498
Signed-off-by: andre.schmid <andre.schmid@est.tech>
vasraz [Sun, 7 Mar 2021 12:49:44 +0000 (12:49 +0000)]
Disable unstable CliFallbackAndLookupTest
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
Change-Id: I48f502125c3fb23f880f7c318f540b4396b5754e
vasraz [Fri, 5 Mar 2021 13:42:48 +0000 (13:42 +0000)]
Fix SONAR coverage drop
Change-Id: I3f0d002fda21000b968d4c226346847a08a28d0d
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3297
ChrisC [Fri, 5 Mar 2021 13:50:20 +0000 (14:50 +0100)]
Release 1.8.3
release H dockers
Issue-ID: SDC-3479
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I5bfb9c5350dd1ec9d8559526e379839908012287
ChrisC [Thu, 4 Mar 2021 14:39:21 +0000 (15:39 +0100)]
Update to 1.8.3
Update Version to prepare for release
Issue-ID: SDC-3464
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: Ie23d18d3124ec8cf8edb77a468538c8548a11375
MichaelMorris [Thu, 4 Mar 2021 12:25:35 +0000 (12:25 +0000)]
Fix issue with invariantUUID in exported tosca
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3496
Change-Id: If12426466d2e9f8cfd97cef888f8a710e46afb01
suzhenyu [Thu, 7 Jan 2021 10:45:49 +0000 (18:45 +0800)]
Add test code for Test Topology Auto Design
Issue-ID: SDC-3297
Change-Id: I63013b88ceeed52938fa206de25c3ba5e58d7daa
Signed-off-by: suzhenyu <zysuh@isoftstone.com>
Remigiusz Janeczek [Tue, 2 Mar 2021 09:28:28 +0000 (10:28 +0100)]
Add negative integration test cases for helm package onboarding
Issue-ID: SDC-3185
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I76d372b9556c31af77e8f770b996398aec0145df
vasraz [Thu, 25 Feb 2021 20:24:02 +0000 (20:24 +0000)]
Disable unstable NodeSpecificCliTest
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
Change-Id: I0f491942225860b08b767444e831ba10f0f923d4
vasraz [Mon, 1 Mar 2021 20:58:10 +0000 (20:58 +0000)]
Improve test coverage
- remove unused code
- use lombok
Change-Id: I8c52584249347c7ca2102022457225401f95b9a5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
aribeiro [Fri, 26 Feb 2021 16:28:59 +0000 (16:28 +0000)]
Increase unit test coverage
Increase ComponentInstance unit test coverage
Issue-ID: SDC-3493
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Ife5a9b9cc41e5210005c37d368a094c86fa26db8
vasraz [Sat, 27 Feb 2021 12:55:48 +0000 (12:55 +0000)]
Improve test coverage
- remove unused code
- use lombok
Change-Id: I7f6591785243ecb866f4c4b2cf428ae8f3c5172b
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
vasraz [Fri, 26 Feb 2021 15:29:10 +0000 (15:29 +0000)]
Remove transitive snakeyaml dependency
Change-Id: Ice0c07efb9771409d6dc52e24014ad43941a125e
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3492
andre.schmid [Thu, 25 Feb 2021 18:00:48 +0000 (18:00 +0000)]
Update guava version
Change-Id: I5b233162a180a29d9c7ba79fb0fa480f8f0e0da9
Issue-ID: SDC-3491
Signed-off-by: andre.schmid <andre.schmid@est.tech>
xuegao [Tue, 23 Feb 2021 15:16:42 +0000 (16:16 +0100)]
Adding unit tests
Adding unit tests to improve test coverage.
Issue-ID: SDC-3428
Change-Id: I64ed1937fb95b16f8af2df20aa10a6d7c45e42e8
Signed-off-by: xuegao <xue.gao@intl.att.com>
vasraz [Mon, 15 Feb 2021 19:36:59 +0000 (19:36 +0000)]
Implement Attributes/Outputs BE (part 3)
This commit includes unit test for new/changed code
Change-Id: I619039f99c4a09484df098375067bdceee4636b0
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3448
andre.schmid [Thu, 25 Feb 2021 17:51:43 +0000 (17:51 +0000)]
Fix signature extension of NSD CSAR package
The signature of the NSD signed package should have the extension .cms, not .sig.cms.
Change-Id: I82d7dcb286da462c289114b1a450a83263652655
Issue-ID: SDC-3489
Signed-off-by: andre.schmid <andre.schmid@est.tech>
vasraz [Thu, 25 Feb 2021 20:30:39 +0000 (20:30 +0000)]
Improve test coverage
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3490
Change-Id: Idb71d433834a8612a5434c84c7f0fdef5573cea2
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
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
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
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
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
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
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
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
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>
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
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>
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
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
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
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>
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
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
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>
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
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>
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
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
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
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
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
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
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>
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>
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
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
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
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
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
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
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
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
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
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>
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
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>
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
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>
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>
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
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
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
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
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>
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>
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>
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
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
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
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>
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
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>
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>
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>
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
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>
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
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
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
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>
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
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>
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
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
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>
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
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>
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
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>
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
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
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
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