aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/properties-assignment
AgeCommit message (Collapse)AuthorFilesLines
2023-04-03Provide tosca function capability to all nested levelsimamSidero4-65/+65
Tosca function capability is provided to all nested levels of list, map and custom types Issue-ID: SDC-4445 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I29907bdac83d3cadf90aa0a2ed538002132b4789
2023-03-14Fix valid values constraints not showingMichaelMorris2-4/+4
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4432 Change-Id: I3bc0a2c05e241912872199e7462e7afaf5b4ab53
2023-03-13Fix Property with '::' in name produces wrong InputKrupaNagabhushan2-3/+11
Issue-ID: SDC-4431 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ieaf9b99493511145c2d6a3d5ec31bdf0e36cd8b2
2023-03-13Setting Tosca Function on top of unsaved value causes problemsfranciscovila1-0/+10
Issue-ID: SDC-4405 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I688fafa39338900f6248213c27975ced113f5ee9
2023-03-10Provide input name suggestionKrupaNagabhushan4-6/+49
Issue-ID: SDC-4427 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ib8cebd494f900bd7f338ee4b34c7bc380a6bd07c
2023-03-10Provide input name when declaring service property as inputKrupaNagabhushan7-6/+179
Issue-ID: SDC-4385 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I2b71e04b97ba69195380d2aa29d9d98a3bd5e981
2023-03-07Fix issue on tosca button enable/disable functionalityimamSidero1-0/+2
Fixed tosca button functionality to enabled/disabled as per the main checkbox as well as the child checkbox Issue-ID: SDC-4425 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I9f215432c20a89e90f6c1293835e30b359a05db0
2023-02-28Add validation for int and float constraintseschcam4-267/+491
Issue-ID: SDC-4316 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: I6d6172743779291597305583f2a7f4f2145f57fb
2023-02-16Provide tosca function to list of map valuesimamSidero3-5/+17
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-08Constraints in data type viewfranciscovila1-4/+6
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-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-01Show boolean-type constraint as drop-down listvasraz1-5/+29
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I76dc00a232f8e9b45d6599c801ea46f5c415c473 Issue-ID: SDC-4365
2023-01-27Fix 5 critical SonarCloud bugseschcam1-3/+8
Bugs taken from SonarCloud Change-Id: Ie03e63a0ad4da7358a591c22ee2acf0c8cd97598 Issue-ID: SDC-3529 Signed-off-by: eschcam <cameron.scholes@est.tech>
2023-01-27Provide add/edit constraints capability to inputs in properties pageimamSidero2-1/+6
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-13Provide tosca function as map primitive type entry values in composition viewimamSidero4-8/+25
Providing the capability to add tosca function as the primitive type entry values of map in composition view Issue-ID: SDC-4319 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I5cf67bc94ac5c72be6a962e07160329cd07d302c
2023-01-10Fix resource property constraint values mutable in Service designJvD_Ericsson1-2/+3
Issue-ID: SDC-4290 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ica942b7a8bb1f03cbf6baec709135287e31def06
2023-01-03Provide tosca function to custom datatypes of list and mapimamSidero4-25/+80
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
2022-12-19Provide tosca function to List entriesimamSidero3-7/+18
Providing the capability to add tosca function as the List entries Issue-ID: SDC-4288 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ib2e11945f76b7004dbf8807274ee6333b9d9aa05
2022-12-06Fix constraint not displayed when cycling through propertiesJvD_Ericsson1-21/+23
Issue-ID: SDC-4286 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I8346fe8bd001adf89516c5d5ea886c11b4283b4d
2022-12-05Provide tosca function to map valuesimamSidero5-12/+36
Providing the capability to add tosca function as the map values against it's key Issue-ID: SDC-4264 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ieaa49f9ac18b848bfd3996e9c6e08f9b4a32b999
2022-12-01Support addition of pattern constraintJvD_Ericsson1-0/+8
Issue-ID: SDC-4260 Change-Id: I2eccf88472c144d8f595a9d8ec028705e924fd67 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-11-30Support addition of scalar type constraintsJvD_Ericsson2-39/+134
this also supports the addition of the in_range and the valid_values constraints, and supports delete and editing of current and added constraints Issue-ID: SDC-4223 Change-Id: I5ffb4d17d9f8c2730f650153fb4ff89eccfdd474 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-11-17Create UI Component for viewing property constraintsJvD_Ericsson5-0/+489
Issue-ID: SDC-4219 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia0e40e2ed2fd954749a74ce307f1474380f9ad71
2022-09-08Support TOSCA functions in Node Filtersandre.schmid6-35/+80
Adds support to use tosca functions as value in the node property filters and substitution filters Change-Id: Id242691cc9ddd233245b58f052b9f0e2c7bbd66b Issue-ID: SDC-4128 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-07Support TOSCA functions in sub propertiesMichaelMorris5-5/+95
Change-Id: Ibfd95c928bbb10089cfc9749ae4e7b05270e3d68 Issue-ID: SDC-4151 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-09-02Allow to select properties in the get_attribute functionvasraz1-15/+15
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib35d5d1e3d83ed8e87ce45c20e9cc1a641c5bde2 Issue-ID: SDC-4149
2022-08-12Hierarchical panel loading with current instanceimamSidero1-1/+1
Type of instance in the if check is corrected Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4126 Change-Id: Ifa62457a32fb1ae1713abc43377186110037d865
2022-08-10Property assignment view policy tosca functionMichaelMorris1-3/+22
Enable setting policy properties to a TOSCA function value expression in the property assignment view Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4122 Change-Id: Idd6b08c31995f5f421213075a3981f58edca2f9c
2022-07-29Support a custom yaml value in tosca functionandre.schmid9-5/+234
Allows to add a custom YAML value to properties in the TOSCA function feature. Change-Id: I15e65088a18537d9832428717be826ac0ef6049a Issue-ID: SDC-4099 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-07-19Support tosca functions for group instancesMichaelMorris1-6/+28
Issue-ID: SDC-4090 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I91650050fed57a4243df157034cb68ecd8421413 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-07-18Support for concat TOSCA functionandre.schmid12-413/+1026
Adds support for the concat TOSCA function in an instance property. Refactors the TOSCA function structure so it can be more generic to support other functions in the future. Change-Id: I338e4138d26afe21779da57c4eeb3f2d486c20a9 Issue-ID: SDC-4095 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-07-14Fix for list of map type on SELF propertyimamSidero2-3/+13
Adding the multi value types to the schema type in property-creator component Issue-ID: SDC-4085 Change-Id: I9e6319caa85a99b6be90762698f66435f85811a3 Signed-off-by: Imam Hussain <imam.hussain@est.tech>
2022-06-22Support TOSCA get_attribute functionandre.schmid2-15/+50
Adds support to TOSCA get_attribute function in the Property Assignment TOSCA Function modal. Change-Id: I73dda215a7c9d7fecf0803cc259634279c3bdfb6 Issue-ID: SDC-4053 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-20Fix get_input not working for complex propertiesandre.schmid1-2/+7
In the TOSCA function component, complex types inputs were not being found for a selected complex type property. Change-Id: I4c5c6876d8b64f6fdedf137e0523e4a105a5f921 Issue-ID: SDC-4057 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-16Fix loading issue and double errors in properties assignmentKrupaNagabhushan1-7/+2
Issue-ID: SDC-4038 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Id028501226cf23239e528efbfb49cd60284bad37
2022-06-13Disable save for invalid TOSCA functionandre.schmid2-7/+16
Disable save button for invalid TOSCA functions in the TOSCA function modal. Change-Id: I322f59b20faec17ba0edaa412273ee41c0c2675c Issue-ID: SDC-4047 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-13Consider schema in filtering function propertiesandre.schmid1-5/+22
Considers the selected property/input schema, not only the type, when searching for matching properties/inputs in the TOSCA function. Change-Id: Ie6e3eb8991a1ff9233d8d32109217d59f82f403d Issue-ID: SDC-4043 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-11Fix TOSCA function persistent not found messageandre.schmid1-0/+1
Fixes input/property not found message that remains on the TOSCA function modal even after the TOSCA function dropdown is changed. Change-Id: I6d8c622c462a33786847b857186dae2ba213354e Issue-ID: SDC-4042 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-07Support get functions in composition property modalandre.schmid1-6/+57
Allow to assign get functions values to properties in the composition properties modal. Change-Id: I470be63e2980994f43be255d8056af7392baab75 Issue-ID: SDC-4031 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-07Allow to edit or clear a TOSCA function valueandre.schmid6-95/+111
In the properties assignment view, when a property that has a TOSCA function value is selected, a button "Clear Value" will show allowing to clear the property value. This behaviour was changed to show the TOSCA function button, which, when clicked, will open the TOSCA function modal with the function values loaded, allowing to edit or clear the existing value. Change-Id: Ic365f81921052aa2c5737d2a1ac956a3fb745db6 Issue-ID: SDC-4028 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-02Support of get_property for instance propertiesandre.schmid4-60/+180
Support of get_property for INSTANCE properties, as currently only SELF properties can be selected. Change-Id: I80611002964a6ebb515134155c321f2d7f87811c Issue-ID: SDC-4026 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-30Support of get_property in property assignmentandre.schmid3-157/+255
Refactors the current way store a get_input function allowing to support different get functions (get_property in this case). The information stored allows recreating and correctly validating the get function. Fix get function schema validation, the schema was being ignored. Improve validation error status and messages. Improve tosca get function dialog. Change-Id: I5de5f96dfba3c7a0fbb458885af5528bea7835aa Issue-ID: SDC-4014 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-17Generalise Select Input button in Properties Assignment viewKrupaNagabhushan6-49/+93
Issue-ID: SDC-3996 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idb7ff3552ffb68748c688c374625b216ac273499
2022-05-09Fix inputs/policy tabs view for self and instancesKrupaNagabhushan3-3/+5
Issue-ID: SDC-3983 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I2b1f0e5c7f6e55765f35ac807926725343a8aa9e
2022-03-11Support complex types in interface operation inputsandre.schmid1-23/+26
Issue-ID: SDC-3897 Change-Id: Ieac2d74ad340de1d9f6e4cd3ac830e2ec8c35d5b Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: vasraz <vasyl.razinkov@est.tech> Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-03-08Support property of type List<Map<String,String>>MichaelMorris1-1/+8
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3898 Change-Id: Ifc9ea422e0eafcf84b5b7e47a9108f62925e2ea0
2021-12-20Fix set value of custom data typeMichaelMorris2-4/+4
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3799 Change-Id: I68c7e67080edcc912cc882198192802c96a27f9b
2021-10-21Make Service base type optionalandre.schmid2-2/+9
Issue-ID: SDC-3759 Change-Id: I8adf112966ee9303fc965a74cec7203274acd735 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-19Support get_input for complex data typesaribeiro3-12/+35
Issue-ID: SDC-3760 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I68ceaa47012186533a90f06c2688454f5dde799b
2021-08-12Update base types based on modelMichaelMorris1-4/+3
Also made some changes where model was not being considered Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3666 Change-Id: I450c5261239cf4104c494abe6711cb61368a2b4a