summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-07-12Support occurrences and instance count in importMichaelMorris1-0/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4566 Change-Id: I884082253e3b3a9c20da68ab064f4ae6528f6fe0
2023-06-28Fix bugvasraz1-12/+7
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-16Support additional metadata in external assets apivasraz1-2/+2
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ibae9ae54f0c5e4751a9ada8ee93f169da3a017ee Issue-ID: SDC-4520
2023-06-14Fix different issues when adding propertiesfranciscovila1-1/+0
Issue-ID: SDC-4522 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6408570e5a3b571f3222f31ae30910061736a6c9
2023-06-13[BUG] Fix error when adding valid_values constrainteschcam1-4/+21
Issue-ID: SDC-4515 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: Id8f951053581337504b8d75c76d2409ebd71940e
2023-06-13Prevent NPE reading component instance propertieskafka-configMichaelMorris1-0/+4
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4530 Change-Id: If7afa572fe8b0a3a8bfc39815c6c561d6b8f3092
2023-06-08Update external query api with new query paramsvasraz2-29/+32
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib4970d4f57f9e236f520ca1925915d288c9c5236 Issue-ID: SDC-4409
2023-05-29Remove need for USER_ID headervasraz1-11/+12
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I5dd1e34343bebec8a26786f402dc2b9b818e7f10 Issue-ID: SDC-4508
2023-05-26Fix invalid json being set on propertyConstraintsJvD_Ericsson1-10/+6
Issue-ID: SDC-4503 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic506ebb3f1358bb5e3f6b110c2df67bbb24fc901
2023-05-25Update vulnerable dependenciesvasraz1-4/+2
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifedc08763f6d46e3bcba0367a81edc8e219865d0 Issue-ID: SDC-4504
2023-05-25Support TOSCA functions in operation inputsfranciscovila3-9/+17
Issue-ID: SDC-4442 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I1e6135da6f41d512a7758d5494df12da874d7146
2023-05-17Disabling archive functionality for normativesJvD_Ericsson1-0/+7
Issue-ID: SDC-4497 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: If7ce7205543682697a2b787aebfd4c8a3da25db7
2023-05-16Fix interface operation input complex valuesMichaelMorris1-1/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4502 Change-Id: I09323c1c122fe726e287f31786f0285dd3913217
2023-05-16Support additional operands for node filtersfranciscovila4-1/+60
Issue-ID: SDC-4395 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I66b172d100ffd2757de88bc7640761f31fd20c28
2023-05-12Enable using substitution mapping type directlyshikha02032-0/+16
Issue-ID: SDC-4435 Signed-off-by: shikha0203 <shivani.khare@est.tech> Change-Id: Ia3120eb6f03ad861dc87de64a2cb81a61e048f4e
2023-04-26VFC Property default value enforced forced to comply with restraintsfranciscovila3-3/+3
Issue-ID: SDC-4477 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ib9115aae9019e2d36990147dc0ec9f4058352d88
2023-04-25Fix constraints on custom datatype not formatted correctly in CSARKrupaNagabhushan1-1/+48
Issue-ID: SDC-4481 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ie1befaa7b2f09e9d1445a7797c74415cbc7488a4
2023-04-03Add robustness to type creation on service importMichaelMorris1-1/+1
Change-Id: I2c6bf2a13f8972c3c336ee032d4d0fda22f90938 Issue-ID: SDC-4355 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2023-03-21Allign properties import during service importKrupaNagabhushan1-0/+2
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_Ericsson3-9/+40
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 inputKrupaNagabhushan1-16/+6
Issue-ID: SDC-4385 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I2b71e04b97ba69195380d2aa29d9d98a3bd5e981
2023-02-24Fix valid values for list and mapMichaelMorris4-10/+19
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4412 Change-Id: I672193784c51250173b7e5c4c43354a0b9852c21
2023-02-22Fix error validation equals constraintMichaelMorris3-19/+31
Error thrown when validating value for list property with an equal constraint, even when valid valid is given Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4399 Change-Id: Iec1746561351acc026050bf8571c060cc5705c2e
2023-02-22Support delete non-normative data typesJvD_Ericsson2-8/+42
Issue-ID: SDC-4411 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I246e50d848a17178369bfb643989d5447a887017
2023-02-22Fix incorrect behaviour for list valid_valuesMichaelMorris3-13/+56
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4398 Change-Id: Ic8c8a6565089000d1517110283e4bb7c6f989c27
2023-02-17Support for copy/paste tosca functions into operation inputsJvD_Ericsson3-42/+47
Issue-ID: SDC-4394 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4aedb641e950419677d2509f4944fcf778c2efd8
2023-02-10Fix valid_values constraint problemMichaelMorris1-14/+18
Not able to set a value on a property of a instance in a service if the property has a valid vales constraint Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4382 Change-Id: I6d9b540b671c34a155ec639afe59d00b90d099d4
2023-02-10Add support for delete property from non-normative data typevasraz2-37/+72
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I668b1e7f7d00e97b7827d759766e105fdd53ed53 Issue-ID: SDC-4378
2023-02-09Edit properties of non-normative data typesfranciscovila2-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-09Improve getting Service with specific versionvasraz1-35/+15
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia788649016fe261802a081788b8844a80bbc3dcc Issue-ID: SDC-4358
2023-02-08Constraints in data type viewfranciscovila3-6/+29
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-07Fix setting input values destroys constraintsMichaelMorris1-2/+0
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4374 Change-Id: I7cfb377cc8008ab042a38824a4aad3d1b74723c0
2023-02-07Validate service input default values against constraintsvasraz6-6/+6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifd4e3cc5c8dd93282233e4c6bb77fa763d52f922 Issue-ID: SDC-4366
2023-02-02Fix 'in_range constraints missing from TOSCA template'-bugvasraz4-31/+55
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_Ericsson2-15/+45
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 nodevasraz2-3/+4
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-0/+2
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-27Error importing data type in the UIfranciscovila1-2/+8
Fix error importing a file with 'tosca_definitions_version' tag Issue-ID: SDC-4351 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I61f6dba8c15dd73de99cbf2cfb857e271f37665d
2023-01-27Add TCs to cover Constraintsvasraz2-6/+6
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-27Fix added datatype property not include in model definitionsJvD_Ericsson2-2/+67
Issue-ID: SDC-4349 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ie94d697a64816f83be4783f1e52657b7fdd77b8c
2023-01-26Import data type in UIfranciscovila2-1/+17
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-26Fix 'Property Constraint error when uprading VFC instance version in ↵vasraz2-13/+11
service'-bug Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I72b813073645909e37937373178b823e0ca694f9 Issue-ID: SDC-4345
2023-01-25Implement hiding mechanismvasraz2-14/+19
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I799af15e31b724ca394eebe435223c03186fb6d3 Issue-ID: SDC-4344
2023-01-24Error creating in_range constraint for non integer propertiesJvD_Ericsson1-7/+7
Issue-ID: SDC-4334 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I5474eb29e1a8100aeb85bd96b5f6752331aa11f2
2023-01-23Disable editing of normative data typesMichaelMorris1-1/+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/+16
Issue-ID: SDC-4339 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ibc5b57a042ffc4e7f914d46ad264a0e16081b863
2023-01-19Download data type from UIKrupaNagabhushan1-0/+14
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-13/+6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic20f7c5a0784c2107061f268c5c2e03ab34c13cc Issue-ID: SDC-4338
2023-01-17Improve test coveragevasraz1-7/+4
- 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-10Fix resource property constraint values mutable in Service designJvD_Ericsson11-1/+26
Issue-ID: SDC-4290 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ica942b7a8bb1f03cbf6baec709135287e31def06