summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app
AgeCommit message (Collapse)AuthorFilesLines
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.schmid7-95/+126
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.schmid8-63/+216
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.schmid15-191/+451
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 updatingKrupaNagabhushan3-37/+48
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 viewKrupaNagabhushan7-51/+95
Issue-ID: SDC-3996 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idb7ff3552ffb68748c688c374625b216ac273499
2022-05-17Support list of map properties in compositionandre.schmid7-45/+84
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_Ericsson3-0/+55
Issue-ID: SDC-3962 Change-Id: Ib72a0c43b067cff31609bb47759497802a420511 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-04-25Add <= and >= operators to node filterMichaelMorris1-2/+8
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
2022-03-21Fix default value for interface operation inputandre.schmid1-1/+1
Fixes default value in interface operation input definitions. The value is now correctly JSON stringfied. Fixes required value that was always being set to false. Fixes UI reporting that false values are empty. Change-Id: I6ce8eba03d659a091e49180f1d2cc057f4a805f2 Issue-ID: SDC-3920 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-21Fix unchecked artifact implementation being persistedandre.schmid1-5/+13
Fixes the problem of an interface operation artifact implementation being persisted even if it is not selected. After checking that the interface operation has an artifact implementation and filling up the artifact information, the values were being persisted if the option is unchecked afterwards. There was no way to remove the artifact implementation information once it was persisted for the first time. Change-Id: I4fdf4027919fdc04d688805bcf0b37fa6869b2e8 Issue-ID: SDC-3918 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-21Fix instance count not being added correctly to node templateJvD_Ericsson1-3/+1
Issue-ID: SDC-3919 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I161561f13d6a28c8c9fbf524a351ed603ba274c8
2022-03-16Node filters not loading while editing the select directive listKrupaNagabhushan1-0/+1
Issue-ID: SDC-3922 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: If01b2c467bfcc046ee103fb5c69600dc43568424
2022-03-16Fix map entry deletion in inputs of map<complex>andre.schmid1-0/+3
Fixes map entry delete icon not showing for inputs of type map<complex> in an interface operation. Change-Id: I4d1f4a0e60e860b33f16d6ef68980b4d566c93c7 Issue-ID: SDC-3921 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-14Fix cannot set node filter cap using get_propertyMichaelMorris1-3/+3
Change-Id: I92fd4016b19e03e22622cf6e476f17b49e3d6a47 Issue-ID: SDC-3904 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-03-14Fix update node filter capabilityMichaelMorris1-7/+7
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3905 Change-Id: If7629a20e4eb6034d14faf736cf3a9bec91d9d28
2022-03-14Support instance count on node templateJvD_Ericsson4-6/+50
Issue-ID: SDC-3887 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I45593ee2e0e3eea358ae9344d7432e37e1467915
2022-03-11Fix mouse in/out exceptions in node paletteandre.schmid1-2/+0
The event handling methods were removed in Change-Id: Ib45b4a1b650a7d5959e4a6ff70d46d6dee0586c2, but were still being referenced in the palette html. Change-Id: I17d48dfee9f35728b02b53db784ced20b2294845 Issue-ID: SDC-3907 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-11Support complex types in artifact propertiesandre.schmid7-22/+66
Adds support to complex types in artifact properties of an interface operation implementation. Change-Id: I7a82a3652541b35230fe4ce87bf703a1dbe72d50 Issue-ID: SDC-3899 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-11Support complex types in interface operation inputsandre.schmid30-309/+1553
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-10Support occurrences on node templatesJvD_Ericsson4-4/+141
Issue-ID: SDC-3711 Change-Id: I9f25454faa8be6987f336b7efd3821cfa09585a1 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-03-08Support property of type List<Map<String,String>>MichaelMorris4-7/+31
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3898 Change-Id: Ifc9ea422e0eafcf84b5b7e47a9108f62925e2ea0
2022-03-02Support for multiple directivesKrupaNagabhushan10-45/+173
Issue-ID: SDC-3861 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ie63c4879c28567b2d87e5fb08975b46014cf3660
2022-02-02fix policy and group drag and drop bugstasys1012-275/+13
Issue-ID: SDC-3864 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech> Change-Id: Ib45b4a1b650a7d5959e4a6ff70d46d6dee0586c2
2022-01-27Add a display name for the categorystasys103-1/+6
Issue-ID: SDC-3858 Change-Id: Ic818b3b4bc4f4e91c9da0cdacb40549a3f071c68 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-01-26View Interface definition on VFCaribeiro16-11/+737
Add Interface support to VFC view UI Issue-ID: SDC-3850 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Icd195c939af39d40ae8c617e740323dd3e70fc15
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-12-09Fix generated tosca and Required fields validationaribeiro1-5/+12
Fix Incorrect properties entry on the interface operation implementation definition and Required fields validation. Issue-ID: SDC-3796 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ib6624fb884181612b2d94970d3cca28af839151d
2021-12-07Fix Node Filter faultsaribeiro3-32/+38
Issue-ID: SDC-3798 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: If8f3cbed8bf63bc1667e279b48ac0c2488d6a350
2021-12-06Add node filter with getInput functionaribeiro7-73/+127
Support get_input functions for creating node and substitution filters Issue-ID: SDC-3793 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ie00f621be8418b4a9c88afcbbc07d80c22165e9b
2021-11-25Fix incorrect vsp version id in upgradeandre.schmid1-0/+1
During the upgrade of a VF through a VSP, the VSP version id passed to the backend is always the current VF version id, not the one to upgrade. Even passing the correct VSP version id, the backend was not persisting the latest version id in the metadata, keeping always the previous one. Change-Id: Ife2b92789d47a63ba5358c6ed8db8279db94ed46 Issue-ID: SDC-3790 Signed-off-by: andre.schmid <andre.schmid@est.tech> Signed-off-by: krupa.nagabhushan <krupa.nagabhushan@est.tech>
2021-11-15Fix archive and restore actionsaribeiro5-16/+17
Issue-ID: SDC-3784 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia2d556913834fb65570470ed1dd79095f7b0411d