aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
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
2023-01-25Implement hiding mechanismvasraz1-4/+11
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I799af15e31b724ca394eebe435223c03186fb6d3 Issue-ID: SDC-4344
2023-01-23Disable editing of normative data typesMichaelMorris2-4/+6
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4341 Change-Id: Id7673624032883c641e05fd6e5e3d599f7da14df
2023-01-23Fix ability to add property to data type of different modelJvD_Ericsson1-0/+14
Issue-ID: SDC-4339 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ibc5b57a042ffc4e7f914d46ad264a0e16081b863
2023-01-19Download data type from UIKrupaNagabhushan4-1/+123
Issue-ID: SDC-4332 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: If31f7a95eb2d568e716760a33ef2641bad09cf68
2023-01-19Fix 'Primitive types should not be shown under data types in catalog'-bugvasraz1-7/+14
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic20f7c5a0784c2107061f268c5c2e03ab34c13cc Issue-ID: SDC-4338
2023-01-18Fix 'Data type cache not updated when data type updated'-bugvasraz4-11/+26
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I49c50cc95a2594025eab955769cc68e7e7a23acd Issue-ID: SDC-4337
2023-01-17Improve test coveragevasraz1-1/+1
- extract duplicated code - remove redundant and unused code Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I7ae3592951f53bbebf10a80f7cce22d54b2940b6 Issue-ID: SDC-4317
2023-01-16Constraint validation - Policy Properties in a ServiceKrupaNagabhushan2-0/+37
Issue-ID: SDC-4320 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I5f04b630f89b96d7a662fbab8894961670502f52
2023-01-10Fix resource property constraint values mutable in Service designJvD_Ericsson5-3/+52
Issue-ID: SDC-4290 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ica942b7a8bb1f03cbf6baec709135287e31def06
2023-01-04Update openapi files in the docsFiete Ostkamp1-8/+8
- add yaml versions of the spec to the offered apis section - rename swagger files to openapi Issue-ID: SDC-4308 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ie34e562ccf294c8d9f19d3cad30a5a626c3db0ba
2023-01-03Provide tosca function to custom datatypes of list and mapimamSidero3-26/+45
Providing the capability to add tosca function as the custom datatypes of list and map Issue-ID: SDC-4311 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I7ec8943d8008440b091fc4eaa2aba49cdadcda8d
2023-01-03Upgrade testing frameworks to latest not-vulnerable versionsvasraz28-111/+108
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ie68290a79d075132c73e6cc9e82b9dbda92fbe8c Issue-ID: SDC-4313
2023-01-03Improve message for constraints different errorsvasraz1-13/+20
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I8babb10de4f0f25a49998fda077a7bb2554f86ba Issue-ID: SDC-4305
2023-01-03Fix 'NPE thrown in editing constraints'-bugvasraz3-1060/+1068
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ibbd8a3baa2a2bfdbd6e2c235db5a1d59875f3e6e Issue-ID: SDC-4312
2022-12-28Fix broken buildvasraz2-2/+4
Use fixed version of bundler (2.3.26) Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0e62db76e00b9b8932eca4a700db9c89e7e31c17 Issue-ID: SDC-4314