summaryrefslogtreecommitdiffstats
path: root/common-be
AgeCommit message (Collapse)AuthorFilesLines
2022-04-04Implement restore of partially deleted VSPvasraz4-5/+63
Change-Id: I790b6cd8494e8f35c3b9891304f15272e9769a68 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3935
2022-03-31Fix package storage and reducer config reloadandre.schmid3-27/+26
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-31Update Interface definition on VFCvasraz1-5/+2
Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I13678c92ae6088016a78554ffaf0da47b82f7e65 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3893 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Fix Service/VF set value to list/map propertiesandre.schmid2-4/+28
In the Service Property Assignment page, setting a value to a property of type list<complex> or map<complex> was having the type replaced by the schema type and the value incorrectly set. Add test cases to cover the problem. Include small refactors. Issue-ID: SDC-3926 Change-Id: I1257dbb02e18b103118672ec52d663707d53229c Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Check if the bucket exists before deleting VSPandre.schmid2-4/+26
Checks if the bucket exists before deleting VSP, ignoring the deletion if the bucket isn't present anymore. This avoids problems in case the artifact was already deleted from the artifact storage, but for some reason the VSP still present in the system. Change-Id: I7e88f227cc6786b451ca74519fa0dfe0659895c6 Issue-ID: SDC-3930 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Implement VSP deletion from Storagevasraz3-8/+103
Change-Id: I06d86696570b2751f152dffc06fd580ef8c0c705 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3924
2022-03-23Step version to 1.11.0-SNAPSHOTMichaelMorris1-1/+1
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.3MichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3909 Change-Id: I7bb06e974320433d9f423be6f099d7811982eac0
2022-03-14Support instance count on node templateJvD_Ericsson2-0/+10
Issue-ID: SDC-3887 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I45593ee2e0e3eea358ae9344d7432e37e1467915
2022-03-10Support occurrences on node templatesJvD_Ericsson2-1/+22
Issue-ID: SDC-3711 Change-Id: I9f25454faa8be6987f336b7efd3821cfa09585a1 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-02-26Implement improved MinIo clientvasraz4-102/+46
Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3886
2022-02-09Step version to 1.10.2-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3868 Change-Id: I8dc7701d6290bc95cf4ec90dae8653722a5c453f
2022-02-02Step version to 1.10.1-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3868 Change-Id: Ie6509f8b0d2fa0e67a78295d3b49689bc2931b8b
2022-01-27Add a display name for the categorystasys102-13/+33
Issue-ID: SDC-3858 Change-Id: Ic818b3b4bc4f4e91c9da0cdacb40549a3f071c68 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-01-21Support node template artifact propertiesJvD_Ericsson1-0/+3
Add properties variable to relevant classes and update functions to set these vaules Added properties to an artifact in ETSI-VNF-SAMPLE.csar Issue-ID: SDC-3847 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id4f835826be7556cd97403da2018644c6dfea95b
2022-01-21Onboarding upload controlandre.schmid1-2/+16
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-20Improve error logging in MinIo clientvasraz2-10/+32
Change-Id: I50b558be2825f59672ffae85518f351ae7a38c84 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3849
2022-01-13Improve testing stabilityvasraz2-2/+2
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6 Issue-ID: SDC-3839
2022-01-11Remove test-jar generationvasraz2-117/+6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icc9f423b93a01fbcca3f45c4e8783d40aa6d6936 Issue-ID: SDC-3840
2022-01-07Upgrade min.io to latest version (8.3.4)vasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ibdb51617d5c43ee2d7d246d5dbb27c2db496097a Issue-ID: SDC-3754
2022-01-05Make configurable UI versionvasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I410eaaf40106d869a8d50bdd547031430f4f1693 Issue-ID: SDC-3824
2021-12-07Fix vulnerable dependencyvasraz1-0/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3795 Change-Id: Ib6f7902b2f8380ad9febcc2fad0374e8070af15c
2021-12-07Update import service to import substitution filtersKrupaNagabhushan1-1/+1
Issue-ID: SDC-3774 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I7f747a07c82db6cec80db7ec1cb69fe9a5c8743a
2021-11-29Add VNFD to NSD when using S3 storagevasraz2-5/+33
Change-Id: I8eb810fadfe54b335647e71e21115514963b4be7 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3792
2021-11-16Fix potential NPEvasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I9138d498fce81692b286ec01b75e94e029b06c95 Issue-ID: SDC-3785
2021-11-05Large csar handling - object storevasraz16-534/+880
Change-Id: I4e88bd7bfcc1fdbc93d67da2682f2e873ba243c6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3754
2021-11-05Add UI support for adding tosca artifact typesaribeiro1-5/+14
UI support for adding artifacts to an interface operation implementation Issue-ID: SDC-3768 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I71b3e49a160521e35a45515ad7adef836f901e78
2021-11-02Support for adding artifact typesaribeiro2-1/+52
Issue-ID: SDC-3763 Change-Id: Ideb63cbb3eb4e383adebaa11de49e91414a2c9a7 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-11-02Import VSP with non-standard policy typesdavsad1-1/+1
Issue-ID: SDC-3715 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I48e9831b8a27341db2d33d85125cb9d42043e71b
2021-10-21Make Service base type optionalandre.schmid2-18/+0
Issue-ID: SDC-3759 Change-Id: I8adf112966ee9303fc965a74cec7203274acd735 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-12Add a display name for the category metadataKeys entriesdavsad2-1/+3
Issue-ID: SDC-3737 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ia9547f02267fd380feeef6be6af10beadd30457b
2021-10-05Filter categories by model namearibeiro1-0/+2
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-10-01Step version for JakartaMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3738 Change-Id: Id008db63021d07278bd17a6603d992a905237e41
2021-09-20Error re-importing VSPKrupaNagabhushan1-0/+4
Issue-ID: SDC-3728 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Signed-off-by: André Schmid <andre.schmid@est.tech> Change-Id: I22d6186b8e6922511a7ede584d009cfae041fabd
2021-09-20Updated SDC version to 1.9.2-SNAPSHOT1.9.2MichaelMorris1-1/+1
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-20Fix update VSP missing VSP version idandre.schmid1-0/+1
Fills the gaps of persisting and loading the VSP version id Change-Id: I4d6c63bd2309777fdfb337cf98c1a0f9daaa434b Issue-ID: SDC-3731 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-13Update SDC version to 1.9.1-SNAPSHOT1.9.1MichaelMorris1-1/+1
Update version for M4 for I release Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3694 Change-Id: Ib7ea2917e57496ebd89a27693de60d4ea1aedc70
2021-08-31Fix additional types import file generationandre.schmid1-0/+3
The additional_type_definitions.yaml is missing types entries and header. Also, the solution is not considering the types entries, i.e. 'data_types:', 'policy_types:', etc., when replacing types and generating the new file, which renders the solution broken. This change aims to fix the related problems. Change-Id: I412683b49966c09dd067ecbf8a1d778155b23fa6 Issue-ID: SDC-3703 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-27Support querying of model by typeMichaelMorris2-1/+39
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3678 Change-Id: I5fd19eefe475113df501901628b2ee8669004399
2021-08-26Validate the Resource Model before importing VSPandre.schmid4-135/+22
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>
2021-08-06Retrieve data types based on component modelaribeiro3-5/+10
Issue-ID: SDC-3660 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I09c533eb39277532b29e581e4dd57e9df952e8e6
2021-08-06Fix Security Hotspotvasraz4-0/+21
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
2021-08-05Implement 'Signed Large CSAR' supportvasraz5-31/+177
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>
2021-08-04Import VSP top. template handling non SDC modelMichaelMorris2-2/+9
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3649 Change-Id: I2e2004187f5694f92d65b73139436fc990e7a6af
2021-07-28Upgrade springframework to latest version (5.3.8)vasraz1-0/+15
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5611f4f275f7a81a7f1b65fde36b2c84894f4619 Issue-ID: SDC-3648
2021-07-21Remove dependency vulnerabilityvasraz1-0/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia703de3d5bad1780e63be401ce0b435cb665f505 Issue-ID: SDC-3572
2021-07-21Support handling of 'Large CSARs'vasraz12-0/+648
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-05Support for associating node types to modelsaribeiro4-7/+17
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-05External license as "toggleable feature"marine2-3/+6
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-14Add models imports endpoint and persistence structureandre.schmid1-0/+40
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>