summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib
AgeCommit message (Collapse)AuthorFilesLines
2022-05-18Step version to 1.11.3-SNAPSHOTMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3980 Change-Id: Ib1a7cae9f32c347c97157020e58188d802fd6068
2022-04-26Replace deprecated GEventEvaluator with JaninoEventEvaluatorvasraz2-12/+6
Change-Id: I21bfd0aaa66a32ecc1755cbe1efd78b0cd4254cf Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3984
2022-04-25Step version to 1.11.2-SNAPSHOTMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3959 Change-Id: I684a792fa6cd7357da6754baa9edd1d723ecc08d
2022-04-21Support deletion of archived VLMs in onboardingstasys101-1/+1
Issue-ID: SDC-3968 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I3f8a77e2ab40f7607920a781ac7ad2bb3c56741d
2022-04-21Check if VLM is used before deletingandre.schmid5-37/+62
Checks if the VLM is in use by any VSP before allowing to delete it. Add unit tests for the delete method, considering the restriction. Applies minor refactors with related code. Change-Id: I4ff6ddf3959a4ca92ab68b29c8913fc6f0ebdb3c Issue-ID: SDC-3966 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-04-08Step version to 1.11.1-SNAPSHOTMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3951 Change-Id: Ifee66e777462161952765dcbb84c3a8fb1634cd2
2022-04-04Log partial VSP deletionandre.schmid6-7/+27
Adds entries to the VSP activity log identifying the VSP versions deleted from the MinIO client, and also if the deletion was fully complete. If the VSP deletion from the database fails, there will be registry of what happened with the MinIO deletion. Do some refactor in the VendorSoftwareProductsImpl in relation to the VSP deletion flow and responses. Issue-ID: SDC-3931 Change-Id: I75cb9d7fb74a48db01b242a5f70fefa0a88faa0d Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-31Fix package storage and reducer config reloadandre.schmid2-3/+5
The package storage configuration was not being reloaded when a configuration file change was made. Increases OrchestrationTemplateCandidateImpl coverage by testing the upload to the artifact storage. Issue-ID: SDC-3934 Change-Id: I533b3c3a92cdadb60a375890da85ee053364e8af Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-31Fix isPmDictionary nullsafetyJozsef Csongvai1-1/+1
Issue-ID: SDC-3937 Change-Id: I24e7f6c64772b501b592e93c712cd8a9fbb78202 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2022-03-29Restrict deletion of archived VSPs if used in VFfranciscovila3-1/+51
Verify if a VSP is used in a VF in SDC-BE before proceeding with the deletion of a VSP Issue-ID: SDC-3894 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I7c8bdd55516a51cf8693cfdb8c109a7c20e7ea84
2022-03-28Copy entry_defintion_type to TOSCA.metafranciscovila11-55/+204
Copy "entry_defintion_type" from the manifest file of ASD package into the generated TOSCA.meta for the VSP package Issue-ID: SDC-3884 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I35c4d0180529e8c60edc714aecadd0150cbd2c03
2022-03-28Create onboarding validator for ASD VSPsfranciscovila12-120/+762
Create a new validator in SDC onboarding that will be used for ASD VSPs Issue-ID: SDC-3859 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ida192122a95414f7d18855fe2a993b269c55a91d
2022-03-28Implement VSP deletion from Storagevasraz1-0/+1
Change-Id: I06d86696570b2751f152dffc06fd580ef8c0c705 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3924
2022-03-23Step version to 1.11.0-SNAPSHOTMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3909 Change-Id: I6d20e041b68afdc7ed6ffb900dcb372c1e600ee8
2022-03-22Step version to 1.10.3-SNAPSHOT1.10.3MichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3909 Change-Id: I7bb06e974320433d9f423be6f099d7811982eac0
2022-03-08Rename ControlLoop to AutomationCompositionSirisha_Manchikanti1-2/+2
This commit is to keep ControlLoop nomenclature in SDC aligned to changes in https://jira.onap.org/browse/POLICY-3938 where "Control Loop" is renamed as "Automation Composition" Issue-ID: SDC-3891 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I8be013e564b780e9196c116d31b5c4c4d4b72662
2022-02-26Implement improved MinIo clientvasraz1-10/+13
Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3886
2022-02-09Step version to 1.10.2-SNAPSHOTMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3868 Change-Id: I8dc7701d6290bc95cf4ec90dae8653722a5c453f
2022-02-02Step version to 1.10.1-SNAPSHOTMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3868 Change-Id: Ie6509f8b0d2fa0e67a78295d3b49689bc2931b8b
2022-01-31Obtain and control VSP package upload statusandre.schmid2-1/+16
Obtain the upload status and control the upload from the frontend perspective. Change-Id: Idcc921cf592efea33df35c557afcfae827af3a39 Issue-ID: SDC-3862 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-01-25Fix use of Optional in TranslatorHeatToToscaPropertyConverterfranciscovila1-2/+6
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaPropertyConverter class Issue-ID: SDC-3834 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I92f9153adea8be4225c0a181fd31b9f7090bde96
2022-01-25Update onboarding upload status during processingandre.schmid2-0/+4
Updates the onboarding upload status during the VSP package processing Change-Id: Idc705220ad26e62577b52c6f9126aeae51a33fe0 Issue-ID: SDC-3848 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-01-24Fix use of Optional in TranslatorHeatToToscaParameterConverterfranciscovila1-2/+4
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaParameterConverter class Issue-ID: SDC-3833 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I133b47aadfa11b42736fe2b68bee4fba78847f00
2022-01-21Onboarding upload controlandre.schmid11-9/+555
Brings the initial structure to control asynchronously a VSP package upload during the onboarding. Instead of blocking the UI, the upload and processing status will be controlled by the backend, so the frontend can query it and control the behaviour of the UI. Updates the upload endpoint to obtain/verify an upload lock, and creates a second endpoint to check for the upload status. Change-Id: If1c43fb4f0b11e1d8a5627578bafc75f266393c2 Issue-ID: SDC-3826, SDC-3827 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-01-17Fix use of Optional in ToscaAnalyzerServiceImplfranciscovila1-19/+19
Checking the Optionals are present before getting their values in the ToscaAnalyzerServiceImpl class Issue-ID: SDC-3836 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I206877115abf36d8b80a8d38dac2415407828c4b
2022-01-17Fix use of Optional in EntitlementPoolZusammenDaoImplfranciscovila1-3/+6
Checking the Optionals are present before getting their values in the EntitlementPoolZusammenDaoImpl class Issue-ID: SDC-3835 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9e2ead4b88510499ae6c8377c95bba3be21935a7
2022-01-13Improve testing stabilityvasraz32-38/+31
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6 Issue-ID: SDC-3839
2022-01-13Fix use of Optional in TranslatorHeatToToscaParameterConverterfranciscovila1-1/+1
Checking the Optionals are present before getting their values in the TranslatorHeatToToscaParameterConverter class Issue-ID: SDC-3833 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6721c028c420734f3a02f78468e4b22acbfb5be8
2022-01-11Remove test-jar generationvasraz1-2/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icc9f423b93a01fbcca3f45c4e8783d40aa6d6936 Issue-ID: SDC-3840
2022-01-07Update property to identify SOL004 packagesaribeiro1-1/+1
Issue-ID: SDC-3837 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I2af0628cddbbddd790ff9874e2f393a2f31f7407
2022-01-05Fix use of Optional in HeatToToscaUtilfranciscovila3-2/+122
Checking the Optionals are present before getting their values in the HeatToToscaUtil class. Adding a new test class for this purpose Issue-ID: SDC-3018 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9fbfbb6f9ebff1f0259b9c9113da6730bfa01cfa
2021-12-21Identify SOL004 packagesaribeiro3-9/+48
Issue-ID: SDC-3819 Signed-off-by: MichaelMorris <michael.morris@est.tech> Change-Id: I7ea36ebc27753e8068791cffc3340db30adc4662 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-12-07Fix vulnerable dependencyvasraz6-1/+21
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3795 Change-Id: Ib6f7902b2f8380ad9febcc2fad0374e8070af15c
2021-11-29Add VNFD to NSD when using S3 storagevasraz3-28/+29
Change-Id: I8eb810fadfe54b335647e71e21115514963b4be7 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3792
2021-11-05Large csar handling - object storevasraz2-41/+21
Change-Id: I4e88bd7bfcc1fdbc93d67da2682f2e873ba243c6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3754
2021-10-01Step version for JakartaMichaelMorris77-77/+77
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3738 Change-Id: Id008db63021d07278bd17a6603d992a905237e41
2021-09-20Updated SDC version to 1.9.2-SNAPSHOT1.9.2MichaelMorris77-77/+77
Updated to release bug fixes on 1.9.1 for I release Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3694 Change-Id: Ifda88730a17f2ecabab0ac29128aaa23618bc4f8
2021-09-13Update SDC version to 1.9.1-SNAPSHOT1.9.1MichaelMorris77-77/+77
Update version for M4 for I release Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3694 Change-Id: Ib7ea2917e57496ebd89a27693de60d4ea1aedc70
2021-09-01Fix setting vendor release for VSP with modelandre.schmid1-2/+3
When a model is selected, the vendor release should not be set based on the compatible_specification_version of the manifest metadata. Change-Id: I7a01941c47a8a7f1d3a7f69bfa0830db3d11fb0c Issue-ID: SDC-3708 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-27Add a CSAR validator for model ETSI SOL001 2.5.1andre.schmid9-47/+121
Change-Id: I8e67b46f95bb45e0dd91d29eef6be7a0a8d645be Issue-ID: SDC-3686 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-26Remove usage of outdated library JMockit (catalog-dao)vasraz1-6/+0
Move JanusGraph to correct folder Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I726b2a714e0b59422865ef6ca2e7ba9f5881353b Issue-ID: SDC-3379
2021-08-17Handle VSP package upload for multi-modelandre.schmid13-53/+243
Change-Id: Iceca3f160eaeb1a6431fc3c5bbab92847e95ae4d Issue-ID: SDC-3667 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-08-12Specify a model while creating a VSPandre.schmid4-17/+159
Change-Id: I6ed0a3c979e14c62ecd6488dfd70589df40636e9 Issue-ID: SDC-3656 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-07-28Upgrade springframework to latest version (5.3.8)vasraz13-0/+137
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5611f4f275f7a81a7f1b65fde36b2c84894f4619 Issue-ID: SDC-3648
2021-07-21Remove dependency vulnerabilityvasraz3-1/+8
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia703de3d5bad1780e63be401ce0b435cb665f505 Issue-ID: SDC-3572
2021-07-21Support handling of 'Large CSARs'vasraz4-20/+94
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-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-06-10Add parameter for Zip Validationsebdet1-1/+2
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 classsebdet11-271/+288
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-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