summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src
AgeCommit message (Collapse)AuthorFilesLines
2022-07-29Centralize TOSCA function validationandre.schmid2-3/+4
The validation happening in the component instance properties, should also be applied for the Group instance properties and Policy instance properties. Fixes some other problems related to the TOSCA function. Change-Id: I4b69da57a8444b78c72561f49146d32c6911482e Issue-ID: SDC-4114 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-07-29Support a custom yaml value in tosca functionandre.schmid16-34/+305
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-26Bug fix for the group property value was not readableimamSidero3-4/+10
Adding a stylesheet for group-or-policy-properties-tab component to make it readable in next line Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4084 Change-Id: Ia2443f5edcaece63d1d0d446bfbdf37dac24a77b
2022-07-22Save button disabled in update property in composition viewJvD_Ericsson1-2/+2
when adding a tosca function Issue-ID: SDC-4110 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ifab34b81bc2546698344db2f0f7c07aab592cbdb
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.schmid22-487/+1222
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-18Allow set values in properties of type timestampfranciscovila4-6/+19
Issue-ID: SDC-4080 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I4c03e660e64118a388beb1d0db3527f9a1427c3f
2022-07-15Support Outputs during Import Servicevasraz2-12/+10
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4d58576b70ef738d6fa7545cd268ec030b43f95c Issue-ID: SDC-4051
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-07-11Save/discard button not showing for an instance attributesJvD_Ericsson1-0/+4
Issue-ID: SDC-4088 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia2d07bfa53a34761c181eef1282dbc29de789fd3
2022-07-11Node Filters displayed incorrectlyJvD_Ericsson1-7/+6
Issue-ID: SDC-4087 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I57936124dc5845033c71b4089c1098684e10b048
2022-07-04Fix directives drop down list cut shortJvD_Ericsson1-1/+1
Issue-ID: SDC-4063 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I100f4371598922aa87e2520bf5a6d4e9fbc1fd11
2022-06-24Make instance count optionalMichaelMorris1-2/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4065 Change-Id: I8f80f813ef1d1d6ab01b8730bc0075ddd66235f4
2022-06-24Service Import - Read metadata from csarJvD_Ericsson7-5/+234
Also exports metadata to the tosca template and fixes service metadata not being set when the create button is clicked Issue-ID: SDC-4044 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I6f8428d9ed385335c05e7b994e622229ea00342b
2022-06-23Fix Interface Operation mandatory fieldsJvD_Ericsson3-60/+38
and remove unnecessary methods Issue-ID: SDC-4061 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I91da5127592563cfab33b00c410f5380f088f6d6
2022-06-22Support TOSCA get_attribute functionandre.schmid4-43/+78
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-22Block interface operation edit in checkedin VFCandre.schmid1-21/+16
VFC interface operation could be edited even when checked in, due to an incorrect viewOnly input passed to the modal component. Blocks edition also in the backend, by verifying if the component can be edited. Change-Id: I816e28897273aaa677237ca55794bb3dc8460975 Issue-ID: SDC-4058 Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-06-21Fix interface name and operation not being disabled on editJvD_Ericsson1-0/+1
Issue-ID: SDC-4059 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic52ad385c76595280a9c8f726e6285f2933d07fb
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-20Fix VFC map or list property updateandre.schmid2-7/+2
Fixes two problems in the update of VFC map or list properties. One was related to a schema validation in the backend. The other is related to setting the property value when the default value was being edited. Change-Id: Icd85346144c8763ced1b8fbcd750c9baf783f6a6 Issue-ID: SDC-4050 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-06-20Allow to delete an interface operation from VFCandre.schmid3-9/+35
Issue-ID: SDC-4055 Change-Id: I43e79315dce12e2060f8b1dbdfcae29da46fc02e Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> 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-13Rearrange Interface Operation Implementationstasys106-76/+83
Name and File fields now called Artifact File URI. Add Artifact To Implementation renamed to Add Artifact Details, it was also added to localization. Artifact File URI is made always visible, and Add Artifact Details moved underneath it. Issue-ID: SDC-3982 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: I4cbe864347d156137a2ab4746500e5fd454a2b26
2022-06-13Disable save for invalid TOSCA functionandre.schmid3-8/+17
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 component workspace metadata not being setandre.schmid2-1/+6
The component metadata was not being initialized when the Component constructor was being used. Also, during the component checkout, instead of setting the ComponentMetadata to the workspaceService, the code was setting the component itself, causing issues in functionalities that uses the metadata after a component checkout. Change-Id: Ie9bb187ea04a2f4711d4df00ea335d531840378e Issue-ID: SDC-4046 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.schmid5-153/+334
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.schmid8-96/+128
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-07Fix instance req and capabilities not updatingKrupaNagabhushan1-0/+4
Issue-ID: SDC-4030 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I02c61e306087be24fb63b64b6a9c2fa27d52c0e4
2022-06-02Support of get_property for instance propertiesandre.schmid9-63/+217
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.schmid16-192/+457
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-26Fix Component Instance versions not updatingKrupaNagabhushan4-38/+49
Issue-ID: SDC-4021 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Iea32227714504b445689f0d934fdb7d79dd7b09d
2022-05-23Fix exception while loading VF "General" pageandre.schmid1-1/+3
The exception is thrown when accessing a VF General page from a VF that is not associated to a CSAR file (Imported from CSAR file). The code is trying to access the CSAR file that does not exist. Change-Id: I0df34e75911e4a912f50ff8993637952e32d48c6 Issue-ID: SDC-4013 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-18Fix UI not displaying directives list correctly1.11.3KrupaNagabhushan1-1/+8
Issue-ID: SDC-4010 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: Ie67972b14e973ea0415383732b07cb8c10075638
2022-05-17Fix delete of entry from list of mapsMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4007 Change-Id: Idf60ceabe5a992ece44553d7dc85e63b6ad6fec3
2022-05-17Datatypes for a property are not specific to the VFC modelfranciscovila1-21/+17
Fix Datatypes dropdown represented values as those were not treated in an asyncrhonous way Issue-ID: SDC-3998 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: If551b1f6a2fa5573dce19ada36e24879ead9102d
2022-05-17Generalise Select Input button in Properties Assignment viewKrupaNagabhushan8-53/+98
Issue-ID: SDC-3996 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idb7ff3552ffb68748c688c374625b216ac273499
2022-05-17Support list of map properties in compositionandre.schmid8-45/+89
Supports editing list<map<string, string> properties in the edit properties dialog in the composition screen. Fixes entry schema of type map not being shown. Change-Id: Iea1732f51148ae88dedd2242b3b19d19c4548eb4 Issue-ID: SDC-4001 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-05-12Fix edit operation artifact and data typesMichaelMorris3-12/+19
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4000 Change-Id: I62d1be04c4995ccf5385ec6c5fd6e5673ac5c85c
2022-05-09Fix inputs/policy tabs view for self and instancesKrupaNagabhushan5-6/+11
Issue-ID: SDC-3983 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I2b1f0e5c7f6e55765f35ac807926725343a8aa9e
2022-04-28Fix check to restrict deletion for system deployed VFCsKrupaNagabhushan1-1/+1
Issue-ID: SDC-3986 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I4d0f91640f6603c5029a88cb902c959bc8522455
2022-04-28Fix Editing/Deletion of directives when not permittedJvD_Ericsson1-2/+3
Fix Edit/Delete options for directives not being disabled when service is checked in / certified Issue-ID: SDC-3985 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic4c6820b8b276c6474acc6d6b46a75eb9ee886f2
2022-04-27Add UI feedback when saving a interface operationJvD_Ericsson1-3/+6
Issue-ID: SDC-3969 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic75765473ddca16e351f9cde27a5e8d336413325
2022-04-26UI support for deleting servicesJvD_Ericsson4-0/+61
Issue-ID: SDC-3962 Change-Id: Ib72a0c43b067cff31609bb47759497802a420511 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-04-25Add <= and >= operators to node filterMichaelMorris2-3/+9
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3979 Change-Id: I2814157e8fafd02c094afd8270a20c0e47687b18
2022-04-04Implement adding Interface to VFCvasraz17-365/+2142
Change-Id: I7cd8b82c306294d897d37d486aa3eeff7ca4206d Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3893 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-31Update Interface definition on VFCvasraz8-197/+355
Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I13678c92ae6088016a78554ffaf0da47b82f7e65 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3893 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Fix unable to update 'Interface Name' in VFKrupaNagabhushan1-2/+2
Issue-ID: SDC-3928 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Id020da4531380859de41d528f89b135d9acd707a
2022-03-22Fix assigning substitution filter property to service propertyJvD_Ericsson2-11/+8
Issue-ID: SDC-3916 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I313c3ca7ef2492ee686bd7351d9477631665c722