summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp
AgeCommit message (Collapse)AuthorFilesLines
2022-04-19Fix encoding/decoding issuevasraz1-9/+1
Change-Id: If7a770548702cb9e6bb2d9e866c99c0396f74ee4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3967 (cherry picked from commit eb8de3664309f577362df7710d6cd93d00a734e2)
2022-04-05Fix 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 (cherry picked from commit 8c565b9d5396e86d431f51952b476007ff4fbe8e)
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> (cherry picked from commit 88fdc6dd75f1119ffa8e54dbfd721b6ed722b779)
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-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-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-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 modelMichaelMorris2-5/+7
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 typesvasraz1-1/+1
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-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-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-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
2021-11-15Fix critical cross site scriptingvasraz1-0/+15
Change-Id: I66a220f71a2e950055107a725191b46bcbe8c6a6 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3607 Issue-ID: SDC-3755
2021-11-12Fix broken TC (ExternalRefsServletTest)vasraz2-6/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3776 Change-Id: Iac19fea2b6f8a36dc29f4a8d5cea277d226342b2
2021-11-11Fix auth failure to dmaap after upgradevasraz1-0/+8
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3756 Change-Id: I58e6f99156e1e64443cd79c2e08f73987329b88d (cherry picked from commit 9e81c0f8d1c759cfe54312fed69b9ba263f4e52e) Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2021-11-05Add UI support for adding tosca artifact typesaribeiro6-46/+109
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 typesaribeiro5-19/+208
Issue-ID: SDC-3763 Change-Id: Ideb63cbb3eb4e383adebaa11de49e91414a2c9a7 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-11-02Import VSP with non-standard policy typesdavsad5-50/+117
Issue-ID: SDC-3715 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I48e9831b8a27341db2d33d85125cb9d42043e71b
2021-10-21Make Service base type optionalandre.schmid8-73/+156
Issue-ID: SDC-3759 Change-Id: I8adf112966ee9303fc965a74cec7203274acd735 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-15Import multiple node types in a single endpointandre.schmid3-39/+142
Change-Id: I7aa914d459a083146b92ef82197c8df265b8c5b6 Issue-ID: SDC-3752 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-12Add a display name for the category metadataKeys entriesdavsad1-0/+1
Issue-ID: SDC-3737 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ia9547f02267fd380feeef6be6af10beadd30457b
2021-10-08Allow importing service with no instancesKrupaNagabhushan2-14/+16
Issue-ID: SDC-3751 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I383d9fd8901b9c3e968ba18bfc31a520a490be0b
2021-10-05Filter categories by model namearibeiro1-14/+15
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-10-05Allow multiple base types for a servicevasraz2-36/+29
Change-Id: I2e37818a432295a6e9f795f38d730d60f66eef78 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3727
2021-10-01Expand allowed chars in property names to include colonvasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ie49630306b44f0a38b35ddee46144295651282f4 Issue-ID: SDC-3729
2021-09-29Fixing distribution to AAI/SO issueMichaelMorris1-1/+41
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3740 Change-Id: Ib39125eac6011c393f6ee643e3997e1bff6f43c3