aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-18Fix security risk 'Improper Input Validation'vasraz3-4/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6a52148aec3b567db43ec57109214e52d106f73c Issue-ID: SDC-4189
2022-10-17Increase character limit of VFC property name to 100 and allow @ characterimamSidero6-20/+25
VFC property name character limit is increased to 100 and allowing @ special character Signed-off-by: imamSidero <imam.hussain@est.tech> Issue-ID: SDC-4210 Change-Id: If7f0be254a62effe34ad426ba24eeb31f034dd3f
2022-10-17Fix cant set properties on an instance in the composion viewJvD_Ericsson1-1/+4
Issue-ID: SDC-4218 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I58e1c60ea3f79abefe45700c3194f17875d74418
2022-10-17Add data type properties workspaceandre.schmid10-8/+465
Implements the properties workspace for a data type, with the list and filter feature. Change-Id: I2ec337a0481bddd5fe32e45644abdc88e197fa49 Issue-ID: SDC-4214 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-10-14Support viewing of VFC property details when checked inJvD_Ericsson5-21/+27
Issue-ID: SDC-4208 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4c16ca4058716bfee6a52b37604a045ecabc975c
2022-10-05Add data type view/workspaceandre.schmid27-117/+1144
Implements a data type workspace, based on the Service/VF workspace, where it is possible to view a data type information. Issue-ID: SDC-4193 Signed-off-by: André Schmid <andre.schmid@est.tech> Change-Id: Ica341efa43e70b4ac85d42d22a1397e0ab6e2794
2022-09-23Fix show add button for Req and Capabilities in VFKrupaNagabhushan2-3/+8
Issue-ID: SDC-4188 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I9f59ce340fb10e0cde7416a0236a528df52c052f
2022-09-19Support TOSCA functions in Node Capability Filtersandre.schmid19-699/+478
Adds support to use TOSCA functions as value in the node capability filters. Removes the current capability filter component to reuse, with a few changes, the node property filters component. Fixes problems with the edition and deletion of node capability filters. Change-Id: Ic91242d6cbc24e2ce0f60b84c63e104575bef8a9 Issue-ID: SDC-4173 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-16Add unit test cases for UI componentsimamSidero6-168/+684
Unit test cases are added for app.component, utils, entity-filter.pipe from pipes and headers-interceptor from http-interceptor Signed-off-by: imam.hussain <imam.hussain@est.tech> Issue-ID: SDC-4066 Change-Id: Iccc66f6b255ea790d6c58061d5129e4804a04457
2022-09-16Fix types not refreshing after model changefranciscovila2-23/+14
Loads the capability, requirement and node types based on the current VFC model. Removes the frontend cache that was being hold by the ReqAndCapabilitiesService. Issue-ID: SDC-4175 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6ab9d1781c6d65e0d78ff69baf468fb9d24f9afd
2022-09-15Handle CSAR reading errors in Service ImportKrupaNagabhushan3-25/+46
Issue-ID: SDC-4162 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I13c2d053991f4a2b12e4c845dcd0da6e1c00adae
2022-09-09Temp fix to allow tosca functions in op propsMichaelMorris1-11/+0
Temporary measure to unblock using tosca function values in operation implementation properties. To be removed when SDC-4170 is implemented Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4171 Change-Id: Id5925c286a76ea60d5bf9ce97124a4cbbd1ca216
2022-09-08Support TOSCA functions in Node Filtersandre.schmid31-536/+671
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 propertiesMichaelMorris9-7/+129
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 functionvasraz3-21/+29
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib35d5d1e3d83ed8e87ce45c20e9cc1a641c5bde2 Issue-ID: SDC-4149
2022-08-30Service Import - general page validationKrupaNagabhushan1-2/+3
Issue-ID: SDC-4137 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ib0d81722f699f7521465dc313d538e4b08912d4d
2022-08-26Fix error adding category through UIMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4144 Change-Id: I9227131ad89c3135f5ab3eceed4d34ff8fd1627d
2022-08-15Fix new data types not found in UIMichaelMorris3-2/+12
Also, fixed issue with data type sorting when there are mutliple layers in dependency hierarchy Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4129 Change-Id: I4d535420953237efd610a3fb1dd6b9d40883e514
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-11Fix unable to delete default value for a complex propertyKrupaNagabhushan2-6/+1
Issue-ID: SDC-4127 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Id63294cf01b0576fbb4d3d34ab11952b3579c24f
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-08-03Fix outputs of complex type display and deleteKrupaNagabhushan3-13/+1
Issue-ID: SDC-4121 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I811ecf8240eb1e8ab9ce3c714f0e12600ee73f10
2022-08-02Fix for the text overlay on value fieldimamSidero1-2/+2
Style changes to resize the columns to make all headers readable Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4116 Change-Id: I24a48526319bdffd3207327d0a98207dcf4a2593
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>