summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org
AgeCommit message (Collapse)AuthorFilesLines
2022-06-24Support Groups during Import Servicevasraz3-565/+496
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6752ebf23920fda1395f4cb7f458ecb29f8ecd51 Issue-ID: SDC-4054
2022-06-22Support TOSCA get_attribute functionandre.schmid1-51/+2
Adds support to TOSCA get_attribute function in the Property Assignment TOSCA Function modal. Change-Id: I73dda215a7c9d7fecf0803cc259634279c3bdfb6 Issue-ID: SDC-4053 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-20Service Import - Node Template Node FilterJvD_Ericsson1-0/+2
Issue-ID: SDC-4049 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If0de045f88db44d14936e6fcc55ad623fb235174
2022-06-20Fix VFC map or list property updateandre.schmid1-4/+0
Fixes two problems in the update of VFC map or list properties. One was related to a schema validation in the backend. The other is related to setting the property value when the default value was being edited. Change-Id: Icd85346144c8763ced1b8fbcd750c9baf783f6a6 Issue-ID: SDC-4050 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-20Allow to delete an interface operation from VFCandre.schmid1-205/+211
Issue-ID: SDC-4055 Change-Id: I43e79315dce12e2060f8b1dbdfcae29da46fc02e Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-15Fix getToscaFunction validation for property valueKrupaNagabhushan1-2/+114
Issue-ID: SDC-4039 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I75c7c8338490df235c2b43db88f708dc649a9667
2022-06-03Maintain VFC instance attribute outputs on instance version changeJvD_Ericsson3-0/+233
Issue-ID: SDC-4025 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia44a6ac73d9a52042caaacf0c5f790e1e2fc73f1
2022-06-03Maintain VFC UI added interface operations after an upgradevasraz1-2/+78
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I908a4480a8929f9aeeabf4f5c14049cade6ae22b Issue-ID: SDC-4018
2022-06-02Maintain VFC UI added properties after an upgradevasraz4-2441/+2560
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3d4c06f3f27057a08a47683d289e87bc6cb90bfa Issue-ID: SDC-4012
2022-06-02Support of get_property for instance propertiesandre.schmid1-1/+55
Support of get_property for INSTANCE properties, as currently only SELF properties can be selected. Change-Id: I80611002964a6ebb515134155c321f2d7f87811c Issue-ID: SDC-4026 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-30Support of get_property in property assignmentandre.schmid1-45/+454
Refactors the current way store a get_input function allowing to support different get functions (get_property in this case). The information stored allows recreating and correctly validating the get function. Fix get function schema validation, the schema was being ignored. Improve validation error status and messages. Improve tosca get function dialog. Change-Id: I5de5f96dfba3c7a0fbb458885af5528bea7835aa Issue-ID: SDC-4014 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-27Fix error handling valid yaml property valuesMichaelMorris1-0/+13
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4022 Change-Id: Ic30f29e350d47d29c00744271e1e81b08db3edb9
2022-05-23Include ETSI metadata 'entry_definition_type' in VSP package metadatavasraz1-3/+5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iaa3262d9171cc2a1c6a353191aa4afe5e2124717 Issue-ID: SDC-4011
2022-05-09Fix property validation for data type in modelMichaelMorris2-5/+5
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3990 Change-Id: I702960519cd9ef6ff7a905d837de7ca5b8f29599
2022-04-28Support deletion of archived VFs in SDC BEfranciscovila3-57/+89
Support deletion of archived VFs in SDC BE Issue-ID: SDC-3973 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I0bb18e627c026b794609c2a57806c7a4f925741b
2022-04-25Support deletion of archived services in SDC BEJvD_Ericsson4-3/+50
Issue-ID: SDC-3936 Change-Id: I75201007c9cf6b71b035f14864e380d78aace12b Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-04-21Enable identification of system deployed VFCsMichaelMorris1-2/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3972 Change-Id: Ia3513020f508275827b34111c6eb2921204d9320
2022-03-31Update Interface definition on VFCvasraz1-2/+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.schmid1-88/+173
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-21Fix default value for interface operation inputandre.schmid1-9/+104
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-36/+47
Change-Id: I92fd4016b19e03e22622cf6e476f17b49e3d6a47 Issue-ID: SDC-3904 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-03-11Support complex types in artifact propertiesandre.schmid1-5/+64
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.schmid2-38/+36
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-01-28Fix decrypt errors in sdc-be logsJvD_Ericsson1-0/+23
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-7/+43
Issue-ID: SDC-3858 Change-Id: Ic818b3b4bc4f4e91c9da0cdacb40549a3f071c68 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-01-24Fix issues creating control loop modelMichaelMorris1-6/+6
Change-Id: I38812f812fdf082aaadf13b79b8b05d26a481b15 Issue-ID: SDC-3856 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-01-13Improve testing stabilityvasraz58-58/+58
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3f631642a97e65d6628816767e0a5408f02f4bc6 Issue-ID: SDC-3839
2021-12-07Fix Node Filter faultsaribeiro1-8/+10
Issue-ID: SDC-3798 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: If8f3cbed8bf63bc1667e279b48ac0c2488d6a350
2021-12-06Update import service to import node filterKrupaNagabhushan3-13/+107
Issue-ID: SDC-3775 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ide75c9319ad321d796a1ead34cbf425ad8de5504
2021-11-26Set default base type when none is providedandre.schmid1-24/+98
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-22Fix test cases failing incorrectlyvasraz10-380/+362
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-6/+43
Issue-ID: SDC-3764 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I6d6c3a40484b0a5df2611c036740ad9965e6a73d
2021-11-12Fix broken TC (ExternalRefsServletTest)vasraz2-145/+87
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3776 Change-Id: Iac19fea2b6f8a36dc29f4a8d5cea277d226342b2
2021-11-05Add UI support for adding tosca artifact typesaribeiro2-8/+7
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 typesaribeiro6-58/+156
Issue-ID: SDC-3763 Change-Id: Ideb63cbb3eb4e383adebaa11de49e91414a2c9a7 Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
2021-11-02Import VSP with non-standard policy typesdavsad5-29/+60
Issue-ID: SDC-3715 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I48e9831b8a27341db2d33d85125cb9d42043e71b
2021-10-21Make Service base type optionalandre.schmid8-473/+440
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.schmid2-104/+249
Change-Id: I7aa914d459a083146b92ef82197c8df265b8c5b6 Issue-ID: SDC-3752 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-15Ignoring test cases failing incorrectlyvasraz2-0/+4
Four test cases are failing on Jenkins but the failures are not related to the code changes and are passing when exectued locally. This change is to ignore those test cases until they can be made more robust Signed-off-by: MichaelMorris <michael.morris@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3757 Change-Id: I7d32b349128027fdeae343967cd7e3734ac03167 (cherry picked from commit a22d38859d780418e13dd9cced57bdffdcfaa309)
2021-10-08Allow importing service with no instancesKrupaNagabhushan1-4/+4
Issue-ID: SDC-3751 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I383d9fd8901b9c3e968ba18bfc31a520a490be0b
2021-10-05Filter categories by model namearibeiro2-26/+23
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-10-05Allow multiple base types for a servicevasraz2-191/+178
Change-Id: I2e37818a432295a6e9f795f38d730d60f66eef78 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3727
2021-09-29Fixing distribution to AAI/SO issueMichaelMorris1-1/+36
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3740 Change-Id: Ib39125eac6011c393f6ee643e3997e1bff6f43c3
2021-09-20Error re-importing VSPKrupaNagabhushan1-0/+6
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-15Increase test coverage (TypesUploadServlet)vasraz1-11/+332
Change-Id: I78abc4872d99d4d4fa37c77a2186421ba5f41724 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3684
2021-09-10Test for GroupBusinessLogic#getNextVfModuleNameCounterstasys101-0/+59
Issue-ID: SDC-3702 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I72e9b838dc29edaf13385eaf3c9a6217c3e169bd
2021-09-10Fix model initaribeiro1-0/+3
When upgrading, the model type for "ETSI SOL001 v2.5.1" is being updated and then the request for retrieving all model types with "NORMATIVE" type returns empty Issue-ID: SDC-3720 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ibc71bd05426532416eb2ac09f598e7456777403b
2021-09-09[SDC-BE] Remove hardcoded MR apiKeyMichaelMorris3-20/+20
Issue-ID: SDC-3714 Change-Id: Ie154a225bc1c47d6d3b504f915a697047e1b0440 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2021-09-03Fix CSAR generation default imports file conflictandre.schmid1-0/+53
When generating a CSAR for a resource that is associated with a derived model, the default imports for the derived and parent model can conflict in path, therefore causing an issue during the CSAR zip generation which can't stand two entries with the same path. The fix adds a logic to rename a file when conflicting, by adding the model id as the file prefix. Change-Id: Ife7168f1c69f90be9c2cfd8ba75efad316c477f6 Issue-ID: SDC-3710 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-02Test for ValidateGenerateVfModuleGroupNamesstasys101-3/+59
Issue-ID: SDC-3702 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: Ib493ed976a7e92844c6822c2537a194bb48d2316