aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main
AgeCommit message (Collapse)AuthorFilesLines
2022-04-04Implement adding Interface to VFCvasraz3-10/+141
Change-Id: I7cd8b82c306294d897d37d486aa3eeff7ca4206d Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3893 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-04-01Fix NPE in service import logic for service filtersMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3939 Change-Id: I2faedf1654db5073dffd4b711cdf8657a63a74a7
2022-04-01Add ASD artifact type to SDC AID modelstasys101-0/+31
Issue-ID: SDC-3948 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I927f7d57dad12bfe06aee450675b4363998f58b1
2022-03-31Update Interface definition on VFCvasraz6-39/+161
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.schmid4-76/+73
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-28Create onboarding validator for ASD VSPsfranciscovila1-0/+1
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-25Create vfModules for ASDKrupaNagabhushan1-5/+70
Issue-ID: SDC-3906 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I37560a6d672d3ec07af23b3405bbcb7ab195c9dc
2022-03-22Fix assigning substitution filter property to service propertyJvD_Ericsson1-4/+2
Issue-ID: SDC-3916 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I313c3ca7ef2492ee686bd7351d9477631665c722
2022-03-21Fix default value for interface operation inputandre.schmid1-25/+43
Fixes default value in interface operation input definitions. The value is now correctly JSON stringfied. Fixes required value that was always being set to false. Fixes UI reporting that false values are empty. Change-Id: I6ce8eba03d659a091e49180f1d2cc057f4a805f2 Issue-ID: SDC-3920 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-14Fix cannot set node filter cap using get_propertyMichaelMorris2-12/+35
Change-Id: I92fd4016b19e03e22622cf6e476f17b49e3d6a47 Issue-ID: SDC-3904 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-03-14Support instance count on node templateJvD_Ericsson3-3/+42
Issue-ID: SDC-3887 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I45593ee2e0e3eea358ae9344d7432e37e1467915
2022-03-11Support complex types in artifact propertiesandre.schmid3-34/+106
Adds support to complex types in artifact properties of an interface operation implementation. Change-Id: I7a82a3652541b35230fe4ce87bf703a1dbe72d50 Issue-ID: SDC-3899 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-11Support complex types in interface operation inputsandre.schmid3-16/+14
Issue-ID: SDC-3897 Change-Id: Ieac2d74ad340de1d9f6e4cd3ac830e2ec8c35d5b Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: vasraz <vasyl.razinkov@est.tech> Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-03-10Support occurrences on node templatesJvD_Ericsson3-1/+16
Issue-ID: SDC-3711 Change-Id: I9f25454faa8be6987f336b7efd3821cfa09585a1 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-03-09Fix node filter capability issueMichaelMorris1-3/+7
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3901 Change-Id: I877fcf99d154939eafe765073ecddf38bc7d9ba7
2022-03-08Rename ControlLoop to AutomationCompositionSirisha_Manchikanti14-145/+206
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-03-07Update esapi dependency for sec vulnerabilityMichaelMorris1-1/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3895 Change-Id: I457f6865f081faf9474e2f63006b339b7c1512ea
2022-03-03Update vulnerable dependenciesvasraz1-1/+1
Change-Id: Id1098d2e0aceb3fb507e32994925d36f23ad8517 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3895
2022-02-28Fix error when no derived_from typeMichaelMorris1-5/+8
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3889 Change-Id: I1f272a658137a79a545ec90e9256267e8ef7325e
2022-02-26Implement improved MinIo clientvasraz1-0/+1
Change-Id: Ic9abd6b0bdaa17e9deff2279a64416d81f7ad606 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3886
2022-02-02Improve service import supportMichaelMorris1-0/+3
Add support for category specific metadata and substitution mapping in service import Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3867 Change-Id: Ib71404942a4a8f174025ccb1b8343164216d8f58
2022-01-31Add controlloop components to SDC designSirisha_Manchikanti10-0/+1605
This commit will add controlloop components like Participant, ControlLoopElement and ControlLoop to SDC. Addition of these components in SDC will enable to build a CSAR with controloop components and establish a controlloop by distributing the CSAR to policy-distribution and thereby to CLAMP. Issue-ID: SDC-3842 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I6f417f7a635f6f0dec3ce6163c5b41ada374567a
2022-01-28Add artifact types to ETSI SOL001 v2.5.1 modelJvD_Ericsson5-0/+2204
Issue-ID: SDC-3855 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I9d8b7fa03505b52db7b17b43843a0b04133c5757
2022-01-28Fix issue in artifact type updateMichaelMorris1-18/+19
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3860 Change-Id: Idad3cde460f8ce8c88914a2ddde63c1950f9536b
2022-01-28Fix decrypt errors in sdc-be logsJvD_Ericsson1-1/+12
Will check if userId is a base64 encoding before trying to decrypt Issue-ID: SDC-3851 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I437bf9cc5952f4d21e5bda60875ada27dcc9cd66
2022-01-27Add a display name for the categorystasys101-0/+1
Issue-ID: SDC-3858 Change-Id: Ic818b3b4bc4f4e91c9da0cdacb40549a3f071c68 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-01-24Fix issues creating control loop modelMichaelMorris3-5/+8
Change-Id: I38812f812fdf082aaadf13b79b8b05d26a481b15 Issue-ID: SDC-3856 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-01-21Support node template artifact propertiesJvD_Ericsson4-0/+19
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-17Add sdc-be-init support for artifact typesvasraz4-50/+65
Change-Id: Id9fdaf7b7bf0cd5d583434fbe97741dd9836df9d Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3845
2022-01-13Fix use of Optional in ComponentBusinessLogicfranciscovila1-2/+6
Checking the Optionals are present before getting their values in the ComponentBusinessLogic class Issue-ID: SDC-3829 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I9ec1825dfa0489875933728fa708fc79f0991751
2022-01-13Fix use of Optional in ComponentInstanceInputsMergeBLfranciscovila1-5/+9
Issue-ID: SDC-3830 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I3504f3fdb449e2b236501eaa31dbe4e2cbda1247
2022-01-07Fix NPE in ArtifactsBusinessLogicfranciscovila1-1/+1
Sonar reflects: NullPointerException will be thrown when invoking method validateOrSetArtifactGroupType() Issue-ID: SDC-3828 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ic228dedb9719f10be57278ae485a24250e412eab
2022-01-04Fix inputs created incorrectly.MichaelMorris2-3/+12
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3822 Change-Id: I6ea226fe3f0e18c41700b79f6fa96907a1d81709
2021-12-20Fix unable to set node topology interfaceMichaelMorris1-1/+2
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3800 Change-Id: I30857b342e04ab2fe4c66505277848ea1cc89c93
2021-12-20Fix set value of custom data typeMichaelMorris1-3/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3799 Change-Id: I68c7e67080edcc912cc882198192802c96a27f9b
2021-12-17Allows custom property type namesaribeiro1-2/+9
When onboarding a VSP with private data types SDC shall allow custom property type name on its declaration. Issue-ID: SDC-3805 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I3d9de6936653cf857082e970213f584cdc6e54fb
2021-12-09Fix generated tosca and Required fields validationaribeiro2-5/+4
Fix Incorrect properties entry on the interface operation implementation definition and Required fields validation. Issue-ID: SDC-3796 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib6624fb884181612b2d94970d3cca28af839151d
2021-12-09Improve fast-build profilevasraz1-1/+1
Remove docker build from 'fast-build' profile Change-Id: I90b79bc05ecd159b5c6ff62f195507476dcdaa38 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3804
2021-12-08Allow space and single quote in prop namesaribeiro1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3802 Change-Id: I9017083e1e26794b006abffe4db9472b5b788ca1 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-12-07Fix vulnerable dependencyvasraz1-8/+3
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3795 Change-Id: Ib6f7902b2f8380ad9febcc2fad0374e8070af15c
2021-12-07Update import service to import substitution filtersKrupaNagabhushan4-6/+91
Issue-ID: SDC-3774 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I7f747a07c82db6cec80db7ec1cb69fe9a5c8743a
2021-12-07Fix Node Filter faultsaribeiro1-2/+3
Issue-ID: SDC-3798 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: If8f3cbed8bf63bc1667e279b48ac0c2488d6a350
2021-12-06Update import service to import node filterKrupaNagabhushan3-2/+114
Issue-ID: SDC-3775 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ide75c9319ad321d796a1ead34cbf425ad8de5504
2021-12-06Add node filter with getInput functionaribeiro1-4/+29
Support get_input functions for creating node and substitution filters Issue-ID: SDC-3793 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ie00f621be8418b4a9c88afcbbc07d80c22165e9b
2021-12-06Fix import service to persist its model nameKrupaNagabhushan1-0/+1
Issue-ID: SDC-3801 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ibf3fc8b1a2a8871058e763d915accec5c72375ec
2021-11-29Add VNFD to NSD when using S3 storagevasraz1-0/+11
Change-Id: I8eb810fadfe54b335647e71e21115514963b4be7 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3792
2021-11-26Set default base type when none is providedandre.schmid2-3/+38
Sets a default base type (substitution type) when no base type is provided during the creation of a service with a category that requires a base type. Previous to the introduction of the optional base type, the system would always add a base type to a Service. Change-Id: I32e892fc23719fd569062ee806eb0be7b5af4ac6 Issue-ID: SDC-3791 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-11-25Fix incorrect vsp version id in upgradeandre.schmid1-3/+0
During the upgrade of a VF through a VSP, the VSP version id passed to the backend is always the current VF version id, not the one to upgrade. Even passing the correct VSP version id, the backend was not persisting the latest version id in the metadata, keeping always the previous one. Change-Id: Ife2b92789d47a63ba5358c6ed8db8279db94ed46 Issue-ID: SDC-3790 Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: krupa.nagabhushan <krupa.nagabhushan@est.tech>
2021-11-22Fix test cases failing incorrectlyvasraz1-6/+6
https://gerrit.onap.org/r/c/sdc/+/124980 Change-Id: I9fbd8a0b5b83d04928feea7624e593b45441ac9b Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3757
2021-11-17Update service import to import self propertiesKrupaNagabhushan3-3/+37
Issue-ID: SDC-3764 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I6d6c3a40484b0a5df2611c036740ad9965e6a73d