andre.schmid [Wed, 18 Aug 2021 13:34:33 +0000 (14:34 +0100)]
Validate the Resource Model before importing VSP
Validates the Resource Model selected during the Import VSP.
This model must be aligned with one of the models that the
imported VSP relates to.
Fix VSP package retrieval to get the exact version from the
VSP chosen during the Import VSP process.
Introduces a client in the Catalog to retrieve from the
Onboarding backend a VSP information using its Id and
version Id.
Change-Id: Ic8fb52b6daadc0e7203c81a9c15c3e46d5b9fffb
Issue-ID: SDC-3675
Signed-off-by: andre.schmid <andre.schmid@est.tech>
andre.schmid [Mon, 23 Aug 2021 18:41:50 +0000 (19:41 +0100)]
Dynamically load CSAR validators for models
Change-Id: I88ece0936e8a2814ef13dfa23eecda56de3dc6fe
Issue-ID: SDC-3683
Signed-off-by: andre.schmid <andre.schmid@est.tech>
vasraz [Thu, 26 Aug 2021 00:24:51 +0000 (01:24 +0100)]
Fix broken build
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I513b244dec9d420cd9314468647191f91314a3e0
Issue-ID: SDC-3687
andre.schmid [Mon, 23 Aug 2021 10:59:28 +0000 (11:59 +0100)]
Define a CSAR validator API for models
Change-Id: Ibdbedcc7cfe3660221f35667902f2e4eadc19725
Issue-ID: SDC-3682
Signed-off-by: andre.schmid <andre.schmid@est.tech>
MichaelMorris [Mon, 16 Aug 2021 16:28:10 +0000 (17:28 +0100)]
Import VSP with non-standard data types
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3673
Change-Id: I0fd16410788da3a82c74b1d38ffa4458e85e6ccc
MichaelMorris [Tue, 24 Aug 2021 11:58:48 +0000 (12:58 +0100)]
Fix service csar with model download failure
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3681
Change-Id: I824b38de5d0669db8aa3d47530fa02dcdf0d4871
davsad [Thu, 12 Aug 2021 07:34:20 +0000 (08:34 +0100)]
Update backend-init to use new endpoints allowing specific model
Issue-ID: SDC-3676
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I5e77185dcaa0f3172958ac93198ae2df2f17366b
KrupaNagabhushan [Sun, 22 Aug 2021 01:04:29 +0000 (02:04 +0100)]
Fix artifact name invalid error message
Issue-ID: SDC-3680
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I859953a9a0d8065437589cd7592137b14b29c7e5
davsad [Mon, 23 Aug 2021 04:54:13 +0000 (05:54 +0100)]
Filter catalog in UI based on model
Issue-ID: SDC-3679
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: Icd0eeb13dbfb1cc27745c7adf6a3212210e00a4a
KrupaNagabhushan [Thu, 19 Aug 2021 10:17:36 +0000 (11:17 +0100)]
Load model default imports during CSAR Generation
Issue-ID: SDC-3674
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I89dc555a2a90f1ac44b44655e36a75a79ac38bd0
stasys10 [Thu, 19 Aug 2021 16:10:31 +0000 (17:10 +0100)]
Fix composition view palette filter
Issue-ID: SDC-3677
Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
Change-Id: I9025ccdf1aa56fb7b6aee08d1028250c86af1f5a
andre.schmid [Mon, 16 Aug 2021 16:08:17 +0000 (17:08 +0100)]
Select a Model when Importing a VSP
Change-Id: I7537af4c7279636de7e450ec398210ace376eade
Issue-ID: SDC-3670
Signed-off-by: andre.schmid <andre.schmid@est.tech>
vasraz [Wed, 18 Aug 2021 15:16:14 +0000 (16:16 +0100)]
Fix the license issue - javax.jms: 1.1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I3cc500def5309467a091d581f56f4fb94e7a1600
Issue-ID: SDC-1877
vasraz [Wed, 18 Aug 2021 12:54:08 +0000 (13:54 +0100)]
Align all SDC dependencies versions
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Iba19bd39ba5a136436ac1e9ca0a7dcc164d6f7bf
Issue-ID: SDC-2875
KrupaNagabhushan [Fri, 13 Aug 2021 11:53:23 +0000 (12:53 +0100)]
Fix license key group and entitlement pools required fields
Issue-ID: SDC-3664
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ic426cc57861673002f03e2fe4fee81c25474c4e0
andre.schmid [Wed, 18 Aug 2021 13:37:18 +0000 (14:37 +0100)]
Remove and ignore yarn.lock
Removes and ignores from git a build generated file yarn.lock.
Change-Id: I263d951ad266d758d149b5057a90c94d56d89608
Issue-ID: SDC-3672
Signed-off-by: andre.schmid <andre.schmid@est.tech>
KrupaNagabhushan [Wed, 4 Aug 2021 07:50:25 +0000 (08:50 +0100)]
Validate model exists when associating types
Issue-ID: SDC-3665
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I44de1c5bbd8854d02ae512f65833507aa3cbed6d
andre.schmid [Thu, 29 Jul 2021 09:14:19 +0000 (10:14 +0100)]
Handle VSP package upload for multi-model
Change-Id: Iceca3f160eaeb1a6431fc3c5bbab92847e95ae4d
Issue-ID: SDC-3667
Signed-off-by: André Schmid <andre.schmid@est.tech>
vasraz [Mon, 16 Aug 2021 12:45:06 +0000 (13:45 +0100)]
Fix broken build
Change-Id: If2bfe79cf3df43e4678fe1282b68753fa198d130
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3671
MichaelMorris [Thu, 12 Aug 2021 08:14:21 +0000 (09:14 +0100)]
Support models extending models
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3668
Change-Id: Iad4d2a28c1c982e55e8835d4f30a9a212aefb6be
andre.schmid [Thu, 12 Aug 2021 22:05:15 +0000 (23:05 +0100)]
Implement simple onboarding cassandra upgrade
Introduces a folder to hold cql scripts to upgrade the onboarding
cassandra. The files will be copied to the docker and executed in
alphabetical order.
The suggested pattern for the file names is YYYYMMDD-changeName.cql.
Change-Id: Ia32a63ec5ab4417cf0df8bb5536c7f041e2327c9
Issue-ID: SDC-3669
Signed-off-by: andre.schmid <andre.schmid@est.tech>
aribeiro [Thu, 12 Aug 2021 09:46:14 +0000 (10:46 +0100)]
Fix Zip slip blocker issues
Issue-ID: SDC-3630
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Iaed91de8f039a6e120bfd5abc3ad3331f00ba367
MichaelMorris [Fri, 30 Jul 2021 12:06:11 +0000 (13:06 +0100)]
Update base types based on model
Also made some changes where model was not being considered
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3666
Change-Id: I450c5261239cf4104c494abe6711cb61368a2b4a
sebdet [Wed, 11 Aug 2021 09:20:05 +0000 (11:20 +0200)]
Fix license fields disabled
The license fields are disabled in the VSP settings when the external license feature is disabled and when the user click on the general tab just after the ZIP validation to define the license fields.
Issue-ID: SDC-3663
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I73528bc44552ee0bc1f373cacf5318691ffc2712
andre.schmid [Thu, 22 Jul 2021 10:54:07 +0000 (11:54 +0100)]
Specify a model while creating a VSP
Change-Id: I6ed0a3c979e14c62ecd6488dfd70589df40636e9
Issue-ID: SDC-3656
Signed-off-by: André Schmid <andre.schmid@est.tech>
andre.schmid [Fri, 6 Aug 2021 15:04:50 +0000 (16:04 +0100)]
Fix local build of onboarding-fe
dox-sequence-diagram-ui/package.json:
- upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not
compatible or recommended with the webpack version.
openecomp-ui/package.json:
- upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not
compatible or recommended with the webpack version.
- upgrades babel-core from 6.24.0 to 6.26.0.
Code and config fixes:
- fixes i18n openecomp-ui/src/nfvo-utils/i18n/i18n.js. The previous code
was calling an non-existent attribute of the intl-format-cache.
- fixes dox-sequence-diagram-ui path in openecomp-ui/webpack.config.js.
The previous path configuration was causing compilation problems in the
openecomp-ui (folder not found problem).
Updates README.md with used procedure to run onboarding-fe.
Change-Id: I28f7b78a1f30b5f904b3f7214f72e9741253622d
Issue-ID: SDC-3661
Signed-off-by: André Schmid <andre.schmid@est.tech>
aribeiro [Mon, 9 Aug 2021 21:08:42 +0000 (22:08 +0100)]
Fix critical cross site scripting
xss (cross site scripting) issue identified in sonarcloud
Issue-ID: SDC-3607
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I729f14587154a02759ec62d5134cd115ac6eff38
aribeiro [Thu, 15 Jul 2021 08:18:37 +0000 (09:18 +0100)]
Retrieve data types based on component model
Issue-ID: SDC-3660
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I09c533eb39277532b29e581e4dd57e9df952e8e6
davsad [Sat, 24 Jul 2021 18:40:56 +0000 (19:40 +0100)]
Consider component model when retrieving interface types
Issue-ID: SDC-3414
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: Ie16a2604cfdff042e32bfa4f9a3a509b5da22226
vasraz [Tue, 27 Jul 2021 10:19:48 +0000 (11:19 +0100)]
Fix Security Hotspot
Fix for https://sonarcloud.io/project/security_hotspots?id=onap_sdc&hotspots=AXrLK9lDm75TRpHZ3DAu
Change-Id: I6427d02bb76618a4b7383e427ce9f762adf73e97
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3657
vasraz [Thu, 29 Jul 2021 13:41:18 +0000 (14:41 +0100)]
Implement 'Signed Large CSAR' support
Change-Id: I33cc381b86c6a10e20d521c0d3dcc76c28344b8f
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3652
Issue-ID: SDC-3653
Signed-off-by: André Schmid <andre.schmid@est.tech>
davsad [Fri, 16 Jul 2021 08:44:22 +0000 (09:44 +0100)]
Disable locking during deployment
Issue-ID: SDC-3643
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I1a04c253d70bf5aebf33bba7b2b9f83bd559ae64
Joanna Jeremicz [Wed, 4 Aug 2021 08:37:32 +0000 (10:37 +0200)]
Update helm-validator version 1.2.0 -> 1.2.2
Issue-ID: SDC-3647
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I2c0b5eeb8db993bddb66cb0bf66b0fe5910ba415
MichaelMorris [Fri, 16 Jul 2021 08:05:12 +0000 (09:05 +0100)]
Import VSP top. template handling non SDC model
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3649
Change-Id: I2e2004187f5694f92d65b73139436fc990e7a6af
KrupaNagabhushan [Mon, 26 Jul 2021 11:50:21 +0000 (12:50 +0100)]
Consider component model when retrieving group and policy types
Issue-ID: SDC-3659
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I6d58e51e70085adf114e6efd0c29b00b14358b39
Tomasz Wrobel [Tue, 3 Aug 2021 11:02:39 +0000 (13:02 +0200)]
Fix deleting screenshot of test suites
Issue-ID: SDC-3654
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I820d57f798d098d4b10ae3038e1739790d4e36b4
KrupaNagabhushan [Fri, 30 Jul 2021 10:02:06 +0000 (11:02 +0100)]
Fix init upgrade fail for polictyTypes
Issue-ID: SDC-3658
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I13a0d97c543213bda289157f602b019c74811cbc
aribeiro [Fri, 23 Jul 2021 14:10:54 +0000 (15:10 +0100)]
fix security vulnerability
Issue-ID: SDC-3607
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I935898fcf1ae74dc8f162153ff2cf4744b8f2f99
vasraz [Fri, 11 Jun 2021 18:02:58 +0000 (19:02 +0100)]
Fix broken swagger
Change-Id: I402a999d66405eb29532aa30e7a8464fe8954f25
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3650
vasraz [Sat, 26 Jun 2021 13:23:12 +0000 (14:23 +0100)]
Upgrade springframework to latest version (5.3.8)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I5611f4f275f7a81a7f1b65fde36b2c84894f4619
Issue-ID: SDC-3648
KrupaNagabhushan [Thu, 15 Jul 2021 14:29:02 +0000 (15:29 +0100)]
Consider component model when retrieving capability types
Issue-ID: SDC-3642
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ie09b5f8d64b95fc2db14f19d3857a9935075b2fe
Tomasz Wrobel [Thu, 22 Jul 2021 07:10:51 +0000 (09:10 +0200)]
Fix helm-validator integration tests.
- Skip helm-validator tests when helm validator is disabled,
- Align expected validation message.
Issue-ID: SDC-3646
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Ia6d415e44545748e23b6130de1ad1d6946730265
vasraz [Mon, 26 Jul 2021 14:01:06 +0000 (15:01 +0100)]
Remove dependency vulnerability
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id6f1a33b86369b54af70094686d3a15d4dca3b15
Issue-ID: SDC-3572
vasraz [Fri, 23 Jul 2021 11:30:04 +0000 (12:30 +0100)]
Fix intermittent 'Tooltip integration test failure'
Change-Id: Ib1a494a7f9f36e4744f79e12c7a7eea5ec6715fa
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3651
vasraz [Sat, 26 Jun 2021 14:56:07 +0000 (15:56 +0100)]
Reduce usage of outdated library JMockit (catalog-be)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I9a0e4cb7a5853e7f0d9e4eb819d4e63dacadfdf2
Issue-ID: SDC-3379
andre.schmid [Wed, 14 Jul 2021 20:33:45 +0000 (21:33 +0100)]
Fix upgrade for different vendor release
Change-Id: Id5769b45c4b41fd40b7bac25407c046b8fe787e7
Issue-ID: SDC-3644
Signed-off-by: André Schmid <andre.schmid@est.tech>
aribeiro [Mon, 12 Jul 2021 14:10:19 +0000 (15:10 +0100)]
Fix security vulnerabilities
Issue-ID: SDC-3634
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I2ad864179cea8021773a9ea80953d995d75d36d0
andre.schmid [Thu, 15 Jul 2021 12:19:04 +0000 (13:19 +0100)]
Remove commented code from PolicyBusinessLogic
Change-Id: I171a9b613625fd9d34fcfbd6aed8cd44f9fc1892
Issue-ID: SDC-3645
Signed-off-by: André Schmid <andre.schmid@est.tech>
vasraz [Tue, 20 Jul 2021 22:22:45 +0000 (23:22 +0100)]
Remove dependency vulnerability
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ia703de3d5bad1780e63be401ce0b435cb665f505
Issue-ID: SDC-3572
KrupaNagabhushan [Wed, 14 Jul 2021 13:21:47 +0000 (14:21 +0100)]
Consider component model when retrieving relationship types
Issue-ID: SDC-3640
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Change-Id: Ic06a9085b8aa2f44b8d33d7de12eadf691106131
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
davsad [Wed, 16 Jun 2021 09:36:24 +0000 (10:36 +0100)]
Support for associating interface types to models
Issue-ID: SDC-3639
Change-Id: I5eaa9ffbe3c88416bf17ff9a94e76faad79fe888
Signed-off-by: davsad <david.sadlier@est.tech>
KrupaNagabhushan [Fri, 25 Jun 2021 15:01:25 +0000 (16:01 +0100)]
Support for associating policy and group types to models
Issue-ID: SDC-3641
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I68f5d13dd41b577cf76555b11d9c90d7a5cc4832
vasraz [Thu, 8 Jul 2021 17:54:19 +0000 (18:54 +0100)]
Support handling of 'Large CSARs'
If artifact storage is enabled, stores original onboarded package,
leaving a reference in the VSP, instead of the original onboarded
package itself. Strips files from configured folders in order to reduce
the package size and onboard it. To retrieve the package, one needs to
read the reference and go to the artifact storage to retrieve.
If disabled, it just goes through the current onboarding process.
Change-Id: I3dce0ab8422ea736c8a1ffaeb1136cf8b12a2af4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Signed-off-by: André Schmid <andre.schmid@est.tech>
Issue-ID: SDC-3635
aribeiro [Mon, 5 Jul 2021 08:49:28 +0000 (09:49 +0100)]
Display model name
Issue-ID: SDC-3632
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I7c6ec805298dee7b8327769b48c157f2bf0c30f9
xuegao [Thu, 15 Jul 2021 06:56:52 +0000 (08:56 +0200)]
Fix typo issue
Use "license" instead of "licence" to be consistent with the variable used in features.properties.erb
Issue-ID: SDC-3618
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I11ae8aa6039778136913819d366f97cd9a209efb
aribeiro [Thu, 24 Jun 2021 10:19:45 +0000 (11:19 +0100)]
Allow only types from selected model in service creation
Issue-ID: SDC-3629
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I98edb8a1133b2df8d884782f3fb2758b42b94158
aribeiro [Wed, 16 Jun 2021 22:21:04 +0000 (23:21 +0100)]
Specify model at service creation
Allows a user to select a model when designing a service
Issue-ID: SDC-3621
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I386e43ddeb649a4ba0805f153e4b47e8a528cff0
xuegao [Thu, 15 Jul 2021 06:56:52 +0000 (08:56 +0200)]
Fix type issue
Use "license" instead of "licence" to be consistent with the variable used in features.properties.erb
Issue-ID: SDC-3618
Change-Id: I58948ee8bcc4c4d2ad2d0b544e829869c05ae527
Signed-off-by: xuegao <xue.gao@intl.att.com>
marine [Thu, 8 Jul 2021 09:57:27 +0000 (11:57 +0200)]
Exposing new parameters in chef config for SDC
Issue-ID: SDC-3633
Change-Id: Ib59ecbe151b3d7fb5b52241102f5c7dfc520003b
Signed-off-by: xuegao <xue.gao@intl.att.com>
aribeiro [Tue, 18 May 2021 19:57:07 +0000 (20:57 +0100)]
Support for associating node types to models
Issue-ID: SDC-3597
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Change-Id: Icd0066240b78ba98d8f0efab66d11756f18cb251
andre.schmid [Mon, 21 Jun 2021 21:25:28 +0000 (22:25 +0100)]
Create REST endpoint to retrieve models
Change-Id: Ifca0095d84d5da4ab4b055942d893e9c6a259eb7
Issue-ID: SDC-3622
Signed-off-by: André Schmid <andre.schmid@est.tech>
vasraz [Sat, 19 Jun 2021 12:53:06 +0000 (13:53 +0100)]
Reduce usage of outdated library JMockit (catalog-dao)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3379
Change-Id: I6b46049b71eafbfedfd3d40c68c743efff13ef54
vasraz [Thu, 17 Jun 2021 19:12:04 +0000 (20:12 +0100)]
Update NODE/NPM versions
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I2c4b6e7bbc388d24259695ce1a34989faabc9751
Issue-ID: SDC-3600
vasraz [Thu, 24 Jun 2021 13:09:30 +0000 (14:09 +0100)]
Remove usage of outdated library JMockit (openecomp-be)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3379
Change-Id: I7430deaa5993e67293e0f290700274dc2fff2db1
vasraz [Sat, 19 Jun 2021 10:07:12 +0000 (11:07 +0100)]
Remove usage of outdated library JMockit (catalog-model)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I3888fb6f9a4c89aefc3dcb124529abd726c400d9
Issue-ID: SDC-3379
KrupaNagabhushan [Wed, 9 Jun 2021 21:11:46 +0000 (22:11 +0100)]
Refactor Substitution filters structure
The refactor removes unnecessary component id from the substitution filters structure, as the substitution filters belongs to and only to the component.
This also avoid any copying issues during the new version creation, as there is not need to update the structure with a new component id.
Issue-ID: SDC-3619
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Ibcfd9be0c8ceb95d5c1c3bd3f21c3dec26c398f7
marine [Fri, 18 Jun 2021 15:51:46 +0000 (17:51 +0200)]
External license as "toggleable feature"
Code modification in onboarding BE and onboarding UI so that the External License can be seen as a toggleable feature. By default this will set to true but could be disabled.
Issue-ID: SDC-3618
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I01690c4cb44d3df590987bb340e8fbb58fe960e0
Signed-off-by: marine <marine.de.dorlodot@intl.att.com>
andre.schmid [Mon, 21 Jun 2021 14:12:57 +0000 (15:12 +0100)]
Remove the obsolete DmaapPublisher module
The module is not part of the SDC repo build and not being used in the
project. It also does not build in its current state.
Change-Id: Ide1bcde26c2781cba9d0baa3a3da1b9c96ba5144
Issue-ID: SDC-3620
Signed-off-by: André Schmid <andre.schmid@est.tech>
vasraz [Wed, 16 Jun 2021 12:53:58 +0000 (13:53 +0100)]
Fix CRITICAL xxe (XML External Entity) issues
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ic33527d54a5245430e41b5a4261810922f7b4fb1
Issue-ID: SDC-3608
KrupaNagabhushan [Wed, 12 May 2021 12:50:12 +0000 (13:50 +0100)]
Integration Test - Add Input independent of properties
Issue-ID: SDC-3617
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I333a793f6c6ae5c6f4c1f5af6fce3f86d2bf9219
Piotr Marcinkiewicz [Wed, 26 May 2021 07:45:45 +0000 (09:45 +0200)]
Add test cases for Helm validation
Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: Ic68907aa385e5a735d0948ca2177e6aac12b2e7b
andre.schmid [Fri, 28 May 2021 18:10:30 +0000 (19:10 +0100)]
Init ONAP model imports using the model API
Creates a client for the model endpoint in the catalog init scripts.
Introduces the directory structure to provide the models along its
imports, separated by init/upgrade phase.
Each model structure will be zipped and uploaded to the endpoint,
based on the model directory name.
Change-Id: I0392c1e6d3a29b30567b11016041a8e9cccbc745
Issue-ID: SDC-3615
Signed-off-by: André Schmid <andre.schmid@est.tech>
andre.schmid [Fri, 14 May 2021 19:38:45 +0000 (20:38 +0100)]
Add models imports endpoint and persistence structure
Create the structure to persist the model imports.
Changed create model API, allowing to create a model along its TOSCA
descriptor import structure.
Introduced an endpoint to update the imports of a model.
Change-Id: Ic775ef544051c29c721cacc20b37c2fb20338be9
Issue-ID: SDC-3614
Signed-off-by: André Schmid <andre.schmid@est.tech>
MichaelMorris [Fri, 28 May 2021 11:29:13 +0000 (12:29 +0100)]
Support adding capability types to model
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3612
Change-Id: I5d3713ba420c2392dd232b5651aef4d51560ab4a
sebdet [Thu, 10 Jun 2021 16:26:19 +0000 (18:26 +0200)]
Dead resource files
Dead resource files cleanup
Issue-ID: SDC-3616
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I2fdffed67cf207c1066105ef4e57a04429610725
sebdet [Fri, 4 Jun 2021 15:56:49 +0000 (17:56 +0200)]
Add parameter for Zip Validation
Add a onboarding config parameter to enable or disable the Zip Validation
Issue-ID: SDC-3603
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I83f539caccd29799f613d4e0bb65c7d7e6b97b45
sebdet [Fri, 4 Jun 2021 15:49:31 +0000 (17:49 +0200)]
Create a common ConfigurationManager class
Create a common ConfigurationManager class as some classes have the same logic
Issue-ID: SDC-3616
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: I44aeb3a4baf45753c3c43f7b4d202253ae4186eb
sebdet [Fri, 4 Jun 2021 15:28:49 +0000 (17:28 +0200)]
Dead Code removal
Removal of dead code found during Config manager analysis
Issue-ID: SDC-3616
Change-Id: I50c15dfcba7518c32af953fe481ef013aa393ca5
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
MichaelMorris [Tue, 25 May 2021 08:32:31 +0000 (09:32 +0100)]
Support adding data types to model
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3611
Change-Id: Ia9fd2437b71a2cd4fc853ff6a1f4fd37fe09a685
MichaelMorris [Wed, 19 May 2021 16:23:13 +0000 (17:23 +0100)]
Support adding of relationship type to model
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3610
Change-Id: If315e21fa40e491cb1977dd9ceaf3e9b607e2f6f
KrupaNagabhushan [Wed, 21 Apr 2021 15:18:12 +0000 (16:18 +0100)]
Integration Tests - Add inputs to a base service
Issue-ID: SDC-3609
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: Iaf281999d29317e5c8caff2f2da765551571dc0f
vasraz [Mon, 31 May 2021 22:08:39 +0000 (23:08 +0100)]
Fix dependencies with Critical Violations
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ic4fb2577c260c80e0204bc68df508f41d9835734
Issue-ID: SDC-3572
Piotr Marcinkiewicz [Wed, 2 Jun 2021 11:37:32 +0000 (13:37 +0200)]
Improve handling exception path for HelmValidator
- Change log level for exception in HelmValidatorHttpClient
- Correct exception message and logging in HelmValidator
Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: If6391e9e95d420108e4dd4d9ecf5541df607329f
Remigiusz Janeczek [Fri, 21 May 2021 12:50:40 +0000 (14:50 +0200)]
Add maven profiles and testsuite for helm validator
Issue-ID: SDC-3185
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: Ic6706c64b887fb589d3638fee5de51bf15f59e23
vasraz [Wed, 19 May 2021 22:52:26 +0000 (23:52 +0100)]
Update node/npm
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ibb2ffc1c27ea7699afa4f078cd2d0326939b8de9
Issue-ID: SDC-3600
aribeiro [Tue, 18 May 2021 15:31:28 +0000 (16:31 +0100)]
Add Support for creating model type
Add new vertex type called "model" was added to represent models
Add new edge type called MODEL_ELEMENT was added to connect a tosca type to a model
Add new edge type called MODEL was added to connect a resource/service to the model it is based on
Issue-ID: SDC-3596
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I310e14d0cf5a9ca0eb0bda592efe8a3baf73749c
davsad [Wed, 28 Apr 2021 08:46:46 +0000 (09:46 +0100)]
Add IT Tests Adding Metadata to property input
Issue-ID: SDC-3586
Signed-off-by: davsad <david.sadlier@est.tech>
Change-Id: I554ff2e226520b1af7af865f394c8af5aaf15469
vasraz [Wed, 19 May 2021 17:22:12 +0000 (18:22 +0100)]
Update vulnerable package dependencies
org.apache.commons.lang -> org.apache.commons.lang3:3.10
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I5806fd786394d278244fd88ea4925a91c2f05622
Issue-ID: SDC-3572
xuegao [Tue, 25 May 2021 08:32:31 +0000 (10:32 +0200)]
Update README.md
Update the explanation to start onboard UI locally.
Issue-ID: SDC-3606
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I02a2f82d3a27da934a1722c96129890ac986d6ca
sliard [Wed, 19 May 2021 15:45:17 +0000 (17:45 +0200)]
[SDC] Fix sonar issues
Fix all blocker issues for catalog-be
Issue-ID: SDC-3598
Signed-off-by: sliard <samuel.liard@gmail.com>
Change-Id: I53907c1be4cac5dd94b6f20ab4e5848f6fcebed9
Tomasz Wrobel [Tue, 18 May 2021 14:04:25 +0000 (16:04 +0200)]
Add Documentation of SDC-Helm-Validator container
Issue-ID: SDC-3185
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I85972698bb4e0b42694acf1d97980e45cda0d81d
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Piotr Marcinkiewicz [Tue, 18 May 2021 07:23:47 +0000 (09:23 +0200)]
Release 1.9.0
Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: I3845e941db81a2223a39f6f60f0fa1822d611874
Piotr Marcinkiewicz [Wed, 19 May 2021 13:07:43 +0000 (15:07 +0200)]
Change group/owner for HelmValidatorConfiguration
Issue-ID: SDC-3599
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: I14243301f722409f5e1c136395f615f98a1ab417
aribeiro [Thu, 13 May 2021 10:29:50 +0000 (11:29 +0100)]
Fix to avoid tool tip to be handed over
When creating a relationship between nodes the qtip-content tip
should not be visible once the test step is finished
Issue-ID: SDC-3585
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I048ccf5b65d1c1111a5dcb0986237386ca734a3f
aribeiro [Mon, 10 May 2021 08:01:24 +0000 (09:01 +0100)]
Update Interface Operation UI test
Issue-ID: SDC-3582
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I2f5f451d96e520c89b6754ec1982282615115c44
vasraz [Tue, 11 May 2021 11:44:06 +0000 (12:44 +0100)]
Update vulnerable package dependencies
handlebars -> 4.7.7
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I65d2ddf2574c3c0e0201c2ea76dc8c19ee68aed3
Issue-ID: SDC-3572
vasraz [Wed, 12 May 2021 12:56:51 +0000 (13:56 +0100)]
Update vulnerable package dependencies
commons-io -> 2.7
org.freemarker -> 2.3.30
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ie18bd3abffdb64017ab49331864325beea8aa2c4
Issue-ID: SDC-3572
vasraz [Tue, 11 May 2021 17:05:30 +0000 (18:05 +0100)]
Improve test coverage
Change-Id: I2b02d85d9d395d9092d43bd54e21179aff29df91
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3584
andre.schmid [Wed, 5 May 2021 14:31:04 +0000 (15:31 +0100)]
Support for selection of capabilities
Change-Id: Ib1a3e3e1a59fc84c62620932c408e231acf77024
Issue-ID: SDC-3580
Signed-off-by: André Schmid <andre.schmid@est.tech>
Joanna Jeremicz [Wed, 21 Apr 2021 11:59:12 +0000 (13:59 +0200)]
Integrate helm validator with SDC-BE
- Read helm validator configuration
- Add call to helm validator during Helm validation
- Add JUnit tests
- Fix display message when CNF upload is unsuccessful
- Show warning messages from validation after CNF upload
Issue-ID: SDC-3185
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: If197d557e6ddef4a07bef986d7cf133aedcb2cc5
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>