summaryrefslogtreecommitdiffstats
path: root/catalog-model/src
AgeCommit message (Collapse)AuthorFilesLines
2023-09-07Implement 'Update Service by importing Tosca Model'-storyvasraz3-24/+28
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I34414caeb53c4dcc6499d3639e4ea8f80407a6f6 Issue-ID: SDC-4579
2023-09-06Provide user to specify the ouput name while declaring the atrributesimamSidero1-0/+1
User specified output name is provided on declare output functionality Issue-ID: SDC-4616 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ic0cd50f9dde2482f5fbb2363cdc83d8fcf09f48f
2023-09-05Improve handling 'empty'/null string in Service fieldsvasraz2-3/+5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib301280fe1be2896e2d80e208349ac3c4ff763ec Issue-ID: SDC-4608
2023-08-17Fix 'Import use case fails when interfaces in template do not exist in ↵vasraz3-74/+15
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'-storyvasraz2-55/+46
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ia2842c49cc81eb30174d783805261d0e73835e48 Issue-ID: SDC-4576
2023-07-25Fix 'Unable to drag a VFC on to composition if an existing VFC instance has ↵vasraz1-7/+17
the same name'-bug Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I8140a2908fc0bfefa3724fdc9eb4697d8fb6490e Issue-ID: SDC-4583
2023-07-14Fix 'Import service with JUEL-function produces wrong UI representation'vasraz2-2/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icc37f2892fa5630df04d32e8496a57fc25ad7ad2 Issue-ID: SDC-4573
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 constrainteschcam2-4/+186
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_Ericsson5-13/+59
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 mapMichaelMorris5-11/+20
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_Ericsson6-8/+127
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_Ericsson4-42/+107
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 typevasraz3-38/+73
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 versionvasraz2-39/+21
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'-bugvasraz9-635/+639
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_Ericsson4-7/+140
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