summaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2023-03-31Support to change substitution mapping node or version after service creationJvD_Ericsson9-114/+428
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-27Add rollback on import failJvD_Ericsson3-1/+4
Issue-ID: SDC-4451 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I745c15b88135145669f9fb347e9ada97472d4779
2023-03-21Certifying a template with two connected services results in errorfranciscovila2-0/+6
Issue-ID: SDC-4437 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Iad53c2204b0db48e115f4133c0a68b1f722626fc
2023-03-21Allign properties import during service importKrupaNagabhushan6-39/+50
Issue-ID: SDC-4438 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Iefb3fd84d5087f7e114cd61f762bedfcafe864ec
2023-03-10Support for delete of non normative interface typesJvD_Ericsson2-13/+114
Issue-ID: SDC-4423 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic41a8d0e792f4f0c6effd7eb6c9bd74887a0506c
2023-03-10Provide input name when declaring service property as inputKrupaNagabhushan4-3/+62
Issue-ID: SDC-4385 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I2b71e04b97ba69195380d2aa29d9d98a3bd5e981
2023-03-09Fix instance declared inputs mapped to substitution mappingKrupaNagabhushan2-43/+45
Issue-ID: SDC-4410 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I7514f197628ace6aff22b51724b9acea0e21944f
2023-03-08Fix undeclarePropertiesAsInput in UI after Service ImportKrupaNagabhushan1-0/+3
Issue-ID: SDC-4428 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I8cf97b676e82db135b8850bea0efa23d562f38af
2023-03-08Add backend support for VFC property metadatavasraz8-295/+38
Remove empty tags from tosca file Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0c446b537934ffd19c1162326e075e13845db23e Issue-ID: SDC-4424
2023-03-08Update vulnerable dependency - javax.servlet:javax.servlet-apivasraz1-7/+16
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iad407eb6c950e43e692830d595fdca680366e863 Issue-ID: SDC-4426
2023-03-02Step version to 1.12.3-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4417 Change-Id: I3f84b40fb0ac4aa868d958430496bd0a9c706ac5
2023-03-01VFC operation not clearing artifact details when uncheckedJvD_Ericsson1-1/+1
Issue-ID: SDC-4420 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I338eda3e714782585a69cf15347afdebe467e312
2023-03-01PortalRestApiCentralServiceImpl- Add null test before using nullable valuesshikha02031-2/+8
Issue-ID: SDC-4415 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: I4fa7db7e6def7448fe3ae81923d83a6ec325bf3f
2023-03-01Operation implementation name not formatting correctlyJvD_Ericsson1-3/+17
Issue-ID: SDC-4421 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I6699029dff4e78760163d01691b6a1964aacbc0e
2023-02-24Type list of floats not generated correctly in toscaJvD_Ericsson1-10/+16
types of list/map and sub types of int/float were generated as strings in tosca instead of numbers Issue-ID: SDC-4418 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I9d58d89a03cee212e92e5fe775a28118aee86645
2023-02-24Fix valid values for list and mapMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4412 Change-Id: I672193784c51250173b7e5c4c43354a0b9852c21
2023-02-22Fix compilation error when buildingJvD_Ericsson1-1/+1
isPropertyNotMappedAsInput function renamed to isValueAToscaFunction Issue-ID: SDC-4413 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I63cd5c17c8e39ed5634eb0a206128dfc86d6b5e6
2023-02-22Support delete non-normative data typesJvD_Ericsson1-1/+30
Issue-ID: SDC-4411 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I246e50d848a17178369bfb643989d5447a887017
2023-02-22Fix constraint validation for yaml valuesMichaelMorris1-7/+10
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4401 Change-Id: I955b12b099c1f72641d97b274864c33288ba88ad
2023-02-22Fix incorrect behaviour for list valid_valuesMichaelMorris2-7/+7
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4398 Change-Id: Ic8c8a6565089000d1517110283e4bb7c6f989c27
2023-02-21Fix issue on adding values to complex properties in Property AssignmentimamSidero1-11/+13
value field for complex types are restored and validation for the complex type is fixed Issue-ID: SDC-4400 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I320b2f2bdb8c8e236e7cd232902a4a07d0c245c8
2023-02-20Fix NPE when setting complex type valueMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4403 Change-Id: I8194ccce7d0c48588e3dd8b1903be22ba92ac955
2023-02-17AbstractTemplateServlet- fix null test for "tags"shikha02031-1/+7
Issue-ID: SDC-4397 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: Ia95e76c5ddbed740cbfbab581b0d8fdc56e90194
2023-02-17AttributeServlet- Add null test before using nullable valuesshikha02031-0/+8
Issue-ID: SDC-4396 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: I41f9e072f9caa601c3a135e0d3205b9676638e8b
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-16Bug fix for tosca function map values in property assignment pageimamSidero1-1/+2
Disabled add/edit/delete operations of property when overall checkbox is checked and fixed for integer key values Issue-ID: SDC-4392 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I3d299195ecc6215b1b99eb159391cdb79f59cb86
2023-02-16Provide tosca function to list of map valuesimamSidero1-7/+19
Providing the capability to add tosca function for list of map values Issue-ID: SDC-4379 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Iec404ec27431eb2b5e085d3f9474e61fadab8d45
2023-02-14Omit tenant metadata when not setMichaelMorris1-1/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4384 Change-Id: I11a389efcc8327bc26831a9331220e018d296c9f
2023-02-10Add support for delete property from non-normative data typevasraz2-16/+49
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I668b1e7f7d00e97b7827d759766e105fdd53ed53 Issue-ID: SDC-4378
2023-02-10Fix inconsistencies in interface property removalMichaelMorris2-17/+19
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4377 Change-Id: Iaeebddfbc7c9e2d7249040db031ccda93746e9b3
2023-02-09Edit properties of non-normative data typesfranciscovila1-0/+40
Develop all necessary changes in the UI to allow editing of non-normative data types Issue-ID: SDC-4373 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I37749fd3d2992f3134a09c07bb43c0208ce12a23
2023-02-09Consider model in generic substitution type queryandre.schmid2-10/+26
Change-Id: I9905b5f6b1bd658befb88b2dbb6903dfaa1f0f8a Issue-ID: SDC-3794 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2023-02-09Improve getting Service with specific versionvasraz3-39/+10
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia788649016fe261802a081788b8844a80bbc3dcc Issue-ID: SDC-4358
2023-02-08Constraints in data type viewfranciscovila1-0/+4
Develop all necessary changes in the UI to allow managing data type constraints Issue-ID: SDC-4331 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I337438ba088e4f2f4978a1aff2408eda8157b892
2023-02-08Enable UI component to display property constraintsKrupaNagabhushan1-0/+1
Issue-ID: SDC-4360 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I63510720a260b830baea3813ff0adb304fa480e4
2023-02-07Validate service input default values against constraintsvasraz2-4/+9
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifd4e3cc5c8dd93282233e4c6bb77fa763d52f922 Issue-ID: SDC-4366
2023-02-07Dont add to additional_types on import failureMichaelMorris7-12/+61
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4369 Change-Id: Iaf4a03293ecdb097981bde126aa7376ba237f20d
2023-02-02Fix NPE when deleting interface operationMichaelMorris1-4/+5
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4364 Change-Id: If4072bd37e2fd361a59eb5c3e503c152c93b5d96
2023-02-02Fix 'in_range constraints missing from TOSCA template'-bugvasraz4-44/+23
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icec2183849a8852621ec98f3ca1d94ac7c4dae31 Issue-ID: SDC-4357
2023-02-02Step version to 1.12.2-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4353 Change-Id: I6c600039f8354a3ba794512b0fd5e84d5a9dedca
2023-02-02Fix Blocker Bug reported by Sonarvasraz1-17/+17
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4eaa68dc8c5d6b0e2d09a2787da9bbbee1da123c Issue-ID: SDC-4359
2023-02-01Revert and fix temporary fix of SDC-4352JvD_Ericsson2-24/+28
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-02-01Stop auto-generation of inputs from substitution mapping nodevasraz5-43/+47
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0ecdfe1f22790b0fc23fa99b9a85cdaca3b23515 Issue-ID: SDC-4361
2023-01-27Fix int and float constraints generating as stringseschcam1-9/+66
Convert integers and float constraints before generating TOSCA file Issue-ID: SDC-4318 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: Iba412930fe8782ac2cee5b5ce99faae545ca0d57
2023-01-27Provide add/edit constraints capability to inputs in properties pageimamSidero2-1/+5
Providing the capability to add or edit constraints to inputs in properies of a service Issue-ID: SDC-4346 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I56261441022751a191fe057aafa4c681c8db96c5
2023-01-27Add TCs to cover Constraintsvasraz4-55/+154
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
2023-01-27Temporary fix for unable to set values on props of a VFC in a serviceJvD_Ericsson1-1/+1
Issue-ID: SDC-4352 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4dc65a341445e38a33bfe438413b67c4c7fae098
2023-01-27Fix added datatype property not include in model definitionsJvD_Ericsson1-12/+13
Issue-ID: SDC-4349 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ie94d697a64816f83be4783f1e52657b7fdd77b8c
2023-01-27Fix invalid property values provided for tosca functionsJvD_Ericsson1-2/+2
Issue-ID: SDC-4343 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If4f192adcac87a461bc47c2accff53d8ce9a9f36
2023-01-26Import data type in UIfranciscovila3-5/+76
Develop all necessary changes in the UI to allow importing a data type from a yaml file Issue-ID: SDC-4279 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Id413386fad8b362e8c4a1d25c859a22178189074