aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/properties-assignment/tosca-function/tosca-function.component.ts
AgeCommit message (Collapse)AuthorFilesLines
2023-07-25Enable save capability in node filter for yaml/concat optionimamSidero1-0/+2
Provided save capability for node filter yaml/concat option Issue-ID: SDC-4581 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Iba406221745bccbb644565ce8dd89dbd9b2d829b
2023-07-19Provide tosca function capability to list/map of complex type fields in ↵imamSidero1-1/+10
composition view Tosca function capability is provided to list/map entries of complex type fields in composition view Issue-ID: SDC-4562 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I38355f5ab399e1504ad433037d0d547fe07e9bfa
2023-07-04Provide tosca function capability to complex type fields in composition viewimamSidero1-7/+30
Tosca function capability is provided to all complex type fields in composition view Issue-ID: SDC-4528 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I4742c2a46ac7a9ed0fd47677aac5b4be9ad612a1
2023-06-23Revert "Provide tosca function capability to complex type fields in ↵MichaelMorris1-7/+7
composition view" This reverts commit fc3869ca4c430cc29e46bb42125f5672230b83f0. Reason for revert: Looks to be causing an issue with setting node filter using custom tosca function (save button disbaled) Change-Id: I684aae7a23d30ed5a20aa4630cd658997b4628a5 Issue-ID: SDC-4528 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2023-06-23Provide tosca function capability to complex type fields in composition viewimamSidero1-7/+7
Tosca function capability is provided to all complex type fields in composition view Issue-ID: SDC-4528 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I3bd0c5b5a44b502d2d5b4a249ce6165db24db8d3
2023-05-29Fix various bugs related to tosca custom functionsJvD_Ericsson1-6/+4
Issue-ID: SDC-4512 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia501b124ddf0c77c97ca0c14bbaa18be39b8f631
2023-05-18UI support for default custom function names with get_input structureJvD_Ericsson1-1/+6
Issue-ID: SDC-4493 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Iba3eda9bb5d57aabbe86045b6150564e17a0ff3e
2023-05-16Support additional operands for node filtersfranciscovila1-6/+11
Issue-ID: SDC-4395 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I66b172d100ffd2757de88bc7640761f31fd20c28
2023-05-04UI support for default custom function namesJvD_Ericsson1-4/+49
Issue-ID: SDC-4473 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ie4d002989857029300f0cc88123a5616a453aef0
2023-04-13UI support for custom functionsJvD_Ericsson1-1/+19
Issue-ID: SDC-4466 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I8ff794be8783dc31efecbd1f6abe2efefec6b819
2023-04-03Provide tosca function capability to all nested levelsimamSidero1-10/+1
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-02-16Provide tosca function to list of map valuesimamSidero1-1/+4
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-01-13Provide tosca function as map primitive type entry values in composition viewimamSidero1-0/+13
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-03Provide tosca function to custom datatypes of list and mapimamSidero1-3/+9
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 entriesimamSidero1-1/+1
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-05Provide tosca function to map valuesimamSidero1-3/+3
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-09-08Support TOSCA functions in Node Filtersandre.schmid1-12/+46
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 propertiesMichaelMorris1-1/+20
Change-Id: Ibfd95c928bbb10089cfc9749ae4e7b05270e3d68 Issue-ID: SDC-4151 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-07-29Support a custom yaml value in tosca functionandre.schmid1-3/+18
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-18Support for concat TOSCA functionandre.schmid1-366/+70
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-06-22Support TOSCA get_attribute functionandre.schmid1-13/+48
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-13Disable save for invalid TOSCA functionandre.schmid1-6/+10
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.schmid1-31/+75
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.schmid1-36/+141
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.schmid1-45/+124
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 viewKrupaNagabhushan1-0/+120
Issue-ID: SDC-3996 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idb7ff3552ffb68748c688c374625b216ac273499