summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-28Consider component model when retrieving capability typesKrupaNagabhushan6-11/+18
Issue-ID: SDC-3642 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ie09b5f8d64b95fc2db14f19d3857a9935075b2fe
2021-07-28Fix helm-validator integration tests.Tomasz Wrobel2-2/+3
- 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
2021-07-27Remove dependency vulnerabilityvasraz8-14/+44
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Id6f1a33b86369b54af70094686d3a15d4dca3b15 Issue-ID: SDC-3572
2021-07-24Fix intermittent 'Tooltip integration test failure'vasraz1-4/+4
Change-Id: Ib1a494a7f9f36e4744f79e12c7a7eea5ec6715fa Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3651
2021-07-23Reduce usage of outdated library JMockit (catalog-be)vasraz11-707/+561
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I9a0e4cb7a5853e7f0d9e4eb819d4e63dacadfdf2 Issue-ID: SDC-3379
2021-07-23Fix upgrade for different vendor releaseandre.schmid5-87/+105
Change-Id: Id5769b45c4b41fd40b7bac25407c046b8fe787e7 Issue-ID: SDC-3644 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-07-23Fix security vulnerabilitiesaribeiro27-527/+216
Issue-ID: SDC-3634 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I2ad864179cea8021773a9ea80953d995d75d36d0
2021-07-23Remove commented code from PolicyBusinessLogicandre.schmid1-167/+1
Change-Id: I171a9b613625fd9d34fcfbd6aed8cd44f9fc1892 Issue-ID: SDC-3645 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-07-21Remove dependency vulnerabilityvasraz21-169/+231
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia703de3d5bad1780e63be401ce0b435cb665f505 Issue-ID: SDC-3572
2021-07-21Consider component model when retrieving relationship typesKrupaNagabhushan7-58/+92
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>
2021-07-21Support for associating interface types to modelsdavsad7-32/+114
Issue-ID: SDC-3639 Change-Id: I5eaa9ffbe3c88416bf17ff9a94e76faad79fe888 Signed-off-by: davsad <david.sadlier@est.tech>
2021-07-21Support for associating policy and group types to modelsKrupaNagabhushan13-113/+244
Issue-ID: SDC-3641 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I68f5d13dd41b577cf76555b11d9c90d7a5cc4832
2021-07-21Support handling of 'Large CSARs'vasraz34-138/+1141
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
2021-07-21Display model namearibeiro4-14/+11
Issue-ID: SDC-3632 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I7c6ec805298dee7b8327769b48c157f2bf0c30f9
2021-07-15Fix typo issuexuegao1-5/+5
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
2021-07-15Allow only types from selected model in service creationaribeiro23-120/+220
Issue-ID: SDC-3629 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I98edb8a1133b2df8d884782f3fb2758b42b94158
2021-07-15Specify model at service creationaribeiro25-19/+142
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
2021-07-15Fix type issuexuegao1-1/+1
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>
2021-07-13Exposing new parameters in chef config for SDCmarine4-7/+13
Issue-ID: SDC-3633 Change-Id: Ib59ecbe151b3d7fb5b52241102f5c7dfc520003b Signed-off-by: xuegao <xue.gao@intl.att.com>
2021-07-05Support for associating node types to modelsaribeiro43-121/+823
Issue-ID: SDC-3597 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Signed-off-by: MichaelMorris <michael.morris@est.tech> Change-Id: Icd0066240b78ba98d8f0efab66d11756f18cb251
2021-07-05Create REST endpoint to retrieve modelsandre.schmid7-30/+193
Change-Id: Ifca0095d84d5da4ab4b055942d893e9c6a259eb7 Issue-ID: SDC-3622 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-07-05Reduce usage of outdated library JMockit (catalog-dao)vasraz7-263/+178
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3379 Change-Id: I6b46049b71eafbfedfd3d40c68c743efff13ef54
2021-07-05Update NODE/NPM versionsvasraz4-14/+9
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I2c4b6e7bbc388d24259695ce1a34989faabc9751 Issue-ID: SDC-3600
2021-07-05Remove usage of outdated library JMockit (openecomp-be)vasraz8-192/+157
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3379 Change-Id: I7430deaa5993e67293e0f290700274dc2fff2db1
2021-07-05Remove usage of outdated library JMockit (catalog-model)vasraz3-134/+136
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3888fb6f9a4c89aefc3dcb124529abd726c400d9 Issue-ID: SDC-3379
2021-07-05Refactor Substitution filters structureKrupaNagabhushan11-30/+69
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
2021-07-05External license as "toggleable feature"marine8-11/+102
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>
2021-06-21Remove the obsolete DmaapPublisher moduleandre.schmid16-781/+0
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>
2021-06-21Fix CRITICAL xxe (XML External Entity) issuesvasraz2-132/+128
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic33527d54a5245430e41b5a4261810922f7b4fb1 Issue-ID: SDC-3608
2021-06-17Integration Test - Add Input independent of propertiesKrupaNagabhushan5-3/+163
Issue-ID: SDC-3617 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I333a793f6c6ae5c6f4c1f5af6fce3f86d2bf9219
2021-06-15Add test cases for Helm validationPiotr Marcinkiewicz25-23/+266
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
2021-06-14Init ONAP model imports using the model APIandre.schmid11-34/+2436
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>
2021-06-14Add models imports endpoint and persistence structureandre.schmid27-152/+1220
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>
2021-06-14Support adding capability types to modelMichaelMorris8-29/+144
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3612 Change-Id: I5d3713ba420c2392dd232b5651aef4d51560ab4a
2021-06-10Dead resource filessebdet22-0/+0
Dead resource files cleanup Issue-ID: SDC-3616 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I2fdffed67cf207c1066105ef4e57a04429610725
2021-06-10Add parameter for Zip Validationsebdet3-6/+19
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
2021-06-09Create a common ConfigurationManager classsebdet12-271/+293
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
2021-06-08Dead Code removalsebdet2-108/+6
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>
2021-06-08Support adding data types to modelMichaelMorris15-219/+207
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3611 Change-Id: Ia9fd2437b71a2cd4fc853ff6a1f4fd37fe09a685
2021-06-08Support adding of relationship type to modelMichaelMorris11-100/+365
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3610 Change-Id: If315e21fa40e491cb1977dd9ceaf3e9b607e2f6f
2021-06-08Integration Tests - Add inputs to a base serviceKrupaNagabhushan6-4/+130
Issue-ID: SDC-3609 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Iaf281999d29317e5c8caff2f2da765551571dc0f
2021-06-04Fix dependencies with Critical Violationsvasraz10-1400/+1511
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic4fb2577c260c80e0204bc68df508f41d9835734 Issue-ID: SDC-3572
2021-06-02Improve handling exception path for HelmValidatorPiotr Marcinkiewicz3-5/+5
- 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
2021-06-02Add maven profiles and testsuite for helm validatorRemigiusz Janeczek4-1/+88
Issue-ID: SDC-3185 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ic6706c64b887fb589d3638fee5de51bf15f59e23
2021-05-28Update node/npmvasraz1-20/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ibb2ffc1c27ea7699afa4f078cd2d0326939b8de9 Issue-ID: SDC-3600
2021-05-28Add Support for creating model typearibeiro21-5/+846
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
2021-05-27Add IT Tests Adding Metadata to property inputdavsad5-272/+519
Issue-ID: SDC-3586 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I554ff2e226520b1af7af865f394c8af5aaf15469
2021-05-27Update vulnerable package dependenciesvasraz79-90/+95
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
2021-05-25Update README.mdxuegao1-6/+6
Update the explanation to start onboard UI locally. Issue-ID: SDC-3606 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I02a2f82d3a27da934a1722c96129890ac986d6ca
2021-05-24[SDC] Fix sonar issuessliard38-267/+252
Fix all blocker issues for catalog-be Issue-ID: SDC-3598 Signed-off-by: sliard <samuel.liard@gmail.com> Change-Id: I53907c1be4cac5dd94b6f20ab4e5848f6fcebed9