summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26Improve test coverageJvD_Ericsson2-748/+807
- Added some tests to - ToscaExportHandlerTest.java - ToscaExportHandlerTest.java - Removed unused code Issue-ID: SDC-4654 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Iee23e3a148005e960eb9c986b7b0605e4f7c8337
2023-10-24Milestone updatesJvD_Ericsson2-6/+4
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I43c91fbeb476acea8a8c05c249dcfb01618ddb7b Issue-ID: SDC-4666
2023-10-23Unable to import service template with interfaceJvD_Ericsson2-7/+58
Issue-ID: SDC-4661 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic7146428502a3f3eb976f6d347a5611b301776ed
2023-10-13Increase unit test coverage for backendfranciscovila2-0/+172
Provided some Junit test coverage for backed Issue-ID: SDC-4654 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I91b3f4326256312ab998d32fce9eb13b3e39b8d1
2023-10-11No properties found when trying to add a node filter to a VFJvD_Ericsson1-40/+110
Issue-ID: SDC-4607 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I5df11e156f4bc20ff1d4f19b7af8dfe798631077
2023-10-09Import service with milestonesMichaelMorris2-2/+5
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4647 Change-Id: I23ceb41a90a887774396d5caf8fb6eac8aa318a6
2023-10-09Fix error updating milestoneMichaelMorris1-0/+7
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4648 Change-Id: Iff21ecf1e0b999301baf6b7a2c26218fee8856da
2023-09-27Remove legacy certificate handlingMichaelMorris5-345/+0
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4621 Change-Id: I834f2a0a4f73693dbb656dfa9186506bf88c62c1
2023-09-25Fix 'Substitution Node not updated during import'-bugvasraz2-18/+37
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3b99e4c60a5971916ed593b8d4161da58ddab6d6 Issue-ID: SDC-4633
2023-09-25Support setting interfaces on instancesJvD_Ericsson1-0/+121
Issue-ID: SDC-4620 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4f78eb5e017e79120d61870ecc3b7268f83b4206
2023-09-22Backend support for operation milestone filtersJvD_Ericsson1-0/+43
Issue-ID: SDC-4590 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If291bd79871eee590c8826800127f543a6ba4b0c
2023-09-22Backend support for operation milestones with activity inputsJvD_Ericsson1-1/+33
Issue-ID: SDC-4582 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I625ec9bb05790bb5f9e78ed9d65abda8f8af5ec3
2023-09-22Backend support for operation milestones with activitiesJvD_Ericsson3-20/+98
Issue-ID: SDC-4577 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I6a8dab0e48da542424faa017a1dea384ebb2376f
2023-09-07Create plugin point for csar generationvasraz2-122/+54
Issue-ID: SDC-4578 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I3bb280ce4e442780598464216145abc130765539 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2023-09-05Improve handling 'empty'/null string in Service fieldsvasraz4-26/+7
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib301280fe1be2896e2d80e208349ac3c4ff763ec Issue-ID: SDC-4608
2023-09-04Import service with outputs mapped to implicit attributesJvD_Ericsson1-6/+15
Issue-ID: SDC-4613 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Icd02e0ee1e9f4d649db25b36077cfffb94e4d562
2023-08-31Remove unused code (ServiceUtils)vasraz1-66/+0
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iab91c1873ea53690e0a2a8e796816d990e2e8c1a Issue-ID: SDC-4563
2023-08-17Fix 'Import use case fails when interfaces in template do not exist in ↵vasraz3-22/+16
system'-bug (p.2) No interfaces defined on the VFC: - SDC create the basic interface operations on the VFC - Create / Delete etc - with no implementation details - Add the implementations to the interface on the Service side If interfaces are defined on the VFC with no implementation details defined: - SDC import successfully and add the implementation details to the interface on the Service side Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: If966a64b865791eed0cf29c8da8f04e44eb32e50 Issue-ID: SDC-4591
2023-07-28Implement 'Update Service by importing Tosca Template'-storyvasraz6-73/+42
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia2842c49cc81eb30174d783805261d0e73835e48 Issue-ID: SDC-4576
2023-07-13Service import issuesJvD_Ericsson3-4/+9
Issue-ID: SDC-4568 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ife2c4cc78a16d0f93f3a6a24d5bfdd48263d43a5 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2023-07-10Include version in metadatavasraz8-613/+210
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia7278b7e6a751c69a4fc50c66697c14c4025f178 Issue-ID: SDC-4558
2023-06-29Fix unable to set tosca function on complex type on input operationJvD_Ericsson1-7/+13
Issue-ID: SDC-4527 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Icc7166978c13f3692dc25d9f33a7613d64f87f6a
2023-06-29Implement YAML Validatorvasraz2-76/+131
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0365d4160984e4d68906959fb801ec7da5449b77 Issue-ID: SDC-4537
2023-06-28Fix bugvasraz1-130/+136
Certifying a template with two connected services results in error (using service proxy in the relationship) Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3abd7e497ad07573a873f1b0c44de4e42141caf1 Issue-ID: SDC-4529
2023-06-20Improve test coveragevasraz1-143/+146
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib5c265567973369a9061ce611ab018857016bff1 Issue-ID: SDC-4536
2023-06-20Disable DMaaP if Kafka activevasraz7-291/+299
DMaaP healthcheck cannot succeed when using Kafka, which in turn causes distribution to fail Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia6e1e35b9a2e819e38e62caeb797342948f34e92 Issue-ID: SDC-4542
2023-06-16Support additional metadata in external assets apivasraz3-312/+247
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ibae9ae54f0c5e4751a9ada8ee93f169da3a017ee Issue-ID: SDC-4520
2023-06-15Node filter boolean values output as stringsfranciscovila1-0/+125
Issue-ID: SDC-4535 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Iaa5d1f8f5e389ac31bab81317cd8ef2591f345fd
2023-06-08Update external query api with new query paramsvasraz1-51/+53
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib4970d4f57f9e236f520ca1925915d288c9c5236 Issue-ID: SDC-4409
2023-06-02Revert "[SDC-BE] Add kafka ssl config"MichaelMorris3-24/+34
This reverts commit 3405456c46937352863ce19c39266a51dd7760db. Reason for revert: deployment issues with TLS Change-Id: I58aa51f7d563cf74d3747a5ff59104906b294d18 Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4476
2023-06-02Support INDEX in node filter tosca functionsfranciscovila1-10/+50
Issue-ID: SDC-4517 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I36e33821ef72c3375d9525513f2394b9b772c696
2023-06-01Fix formatting error for operation input of complex typeJvD_Ericsson1-175/+83
Issue-ID: SDC-4523 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I3dff94cee1d1dbcb26099d02505a679249a6b46e
2023-05-25Support TOSCA functions in operation inputsfranciscovila1-2/+2
Issue-ID: SDC-4442 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I1e6135da6f41d512a7758d5494df12da874d7146
2023-05-22Provide index token to tosca function for nested listsimamSidero1-1/+1
Index token capability is provided in tosca function for all nested levels of list and custom types Issue-ID: SDC-4505 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: If21c0078e0d17c44b5a31b00d6fac3e18ff6831d
2023-05-18UI support for default custom function names with get_input structureJvD_Ericsson1-0/+42
Issue-ID: SDC-4493 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Iba3eda9bb5d57aabbe86045b6150564e17a0ff3e
2023-05-15Fix error in userId handlingMichaelMorris6-0/+25
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4468 Change-Id: Iccc61e54876fea732d82334d0bf21bc485b9e1bb
2023-05-12Enable using substitution mapping type directlyshikha02031-0/+1
Issue-ID: SDC-4435 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: Ia3120eb6f03ad861dc87de64a2cb81a61e048f4e
2023-05-04Support service import with custom tosca functionsJvD_Ericsson1-12/+37
Issue-ID: SDC-4479 Change-Id: I1a98c8a191fc255cb3b2b328b0ea1e72977252d2 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2023-04-26VFC Property default value enforced forced to comply with restraintsfranciscovila1-0/+14
Issue-ID: SDC-4477 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ib9115aae9019e2d36990147dc0ec9f4058352d88
2023-04-25[SDC-BE] Add kafka ssl configefiacor3-34/+24
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I9e7c0e44566c46bd6225397a680015bf1c0f1c0b Issue-ID: SDC-4476
2023-04-03Add robustness to type creation on service importMichaelMorris5-5/+13
Change-Id: I2c6bf2a13f8972c3c336ee032d4d0fda22f90938 Issue-ID: SDC-4355 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2023-03-31Support to change substitution mapping node or version after service creationJvD_Ericsson4-100/+228
Before changing check for service property usage in sub mapping node change Issue-ID: SDC-4439 Issue-ID: SDC-4430 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia0f24c626ac836f0b4e7ffbe0004e7ab30089b25
2023-03-21Certifying a template with two connected services results in errorfranciscovila1-0/+3
Issue-ID: SDC-4437 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Iad53c2204b0db48e115f4133c0a68b1f722626fc
2023-02-17Support for copy/paste tosca functions into operation inputsJvD_Ericsson1-162/+201
Issue-ID: SDC-4394 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4aedb641e950419677d2509f4944fcf778c2efd8
2023-02-09Consider model in generic substitution type queryandre.schmid1-2/+5
Change-Id: I9905b5f6b1bd658befb88b2dbb6903dfaa1f0f8a Issue-ID: SDC-3794 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2023-02-09Improve getting Service with specific versionvasraz2-16/+5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia788649016fe261802a081788b8844a80bbc3dcc Issue-ID: SDC-4358
2023-02-07Dont add to additional_types on import failureMichaelMorris2-6/+55
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4369 Change-Id: Iaf4a03293ecdb097981bde126aa7376ba237f20d
2023-02-02Fix 'in_range constraints missing from TOSCA template'-bugvasraz1-2/+2
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icec2183849a8852621ec98f3ca1d94ac7c4dae31 Issue-ID: SDC-4357
2023-02-01Revert and fix temporary fix of SDC-4352JvD_Ericsson1-3/+3
Revert https://gerrit.onap.org/r/c/sdc/+/133049 and fix initial issue described by SDC-4352 Fix floats not being imported correctly Fix not being able to use equal constraint with bool type Issue-ID: SDC-4352 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I90641838aa40bea211f57f47fe65d09bf0573453
2023-01-27Add TCs to cover Constraintsvasraz2-41/+128
Fix wrong Comparable Property Type and Comparable Constraint Type Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I59968861834a0f8859fcaf3e590c83bbf223338f Issue-ID: SDC-4347