summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
AgeCommit message (Collapse)AuthorFilesLines
2023-03-31Support to change substitution mapping node or version after service creationJvD_Ericsson1-2/+2
Before changing check for service property usage in sub mapping node change Issue-ID: SDC-4439 Issue-ID: SDC-4430 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia0f24c626ac836f0b4e7ffbe0004e7ab30089b25
2023-03-14Fix error setting list default valueMichaelMorris1-0/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4434 Change-Id: Id43ee529b1eccfb1c878a7a13fc4e9a292e7ae4e
2023-03-13Fix issue on list and map property entries in composition viewimamSidero2-2/+4
List and map entries are rendered correctly on composition view Issue-ID: SDC-4404 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I3c640f51fceb96701296b5e561e45d65dcc599c3
2023-02-28Add validation for int and float constraintseschcam3-2/+2
Issue-ID: SDC-4316 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: I6d6172743779291597305583f2a7f4f2145f57fb
2023-02-24Fix handling of default values for VFC propertieseschcam3-18/+8
Issue-ID: SDC-4375 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: Icb3c1dbbf52266c2021c50f491a7e48efdfb9e55
2023-02-15Service Import - general page validationKrupaNagabhushan1-0/+6
Issue-ID: SDC-4371 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ie7340a012feee413a622a8f6ed131f10be5e15e4
2023-02-14Implement option to choose 'None' for not mandatory drop-boxvasraz1-0/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iaf589d577edc1a4bcca22301099ec6bcbb72e24b Issue-ID: SDC-4383
2023-02-08Enable UI component to display property constraintsKrupaNagabhushan1-1/+1
Issue-ID: SDC-4360 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I63510720a260b830baea3813ff0adb304fa480e4
2023-01-30Fix unable to edit VFC property after checkoutJvD_Ericsson1-1/+3
Issue-ID: SDC-4354 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I5e12a80925fa9b1163cb64845c75300e9ec5a236
2023-01-27Provide add/edit constraints capability to inputs in properties pageimamSidero2-9/+33
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-26Import data type in UIfranciscovila1-1/+2
Develop all necessary changes in the UI to allow importing a data type from a yaml file Issue-ID: SDC-4279 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Id413386fad8b362e8c4a1d25c859a22178189074
2023-01-26Fix datatype in model not foundMichaelMorris2-4/+33
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4348 Change-Id: I648ffd91d719982e55d5ddc786a471f641ece088
2023-01-25Implement hiding mechanismvasraz2-629/+622
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I799af15e31b724ca394eebe435223c03186fb6d3 Issue-ID: SDC-4344
2023-01-20Provide tosca function as list primitive type entry values in composition viewimamSidero1-1/+3
Providing the capability to add tosca function as the primitive type entry values of list in composition view Issue-ID: SDC-4333 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Iba1c3e72a1f30c19f4cc136f2d725b738cca47b1
2023-01-13Provide tosca function as map primitive type entry values in composition viewimamSidero3-3/+5
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
2022-12-15Fix 'Not possible to set value on a VFC property with constraint'-bugvasraz1-22/+2
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I04cae965de75037b36003a9fb6d5be579b39626f Issue-ID: SDC-4307
2022-11-30Support addition of scalar type constraintsJvD_Ericsson2-6/+37
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-17Fix wrong Model during import VSPvasraz1-4/+7
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I0cea47f26f5fe3e38b54c94e05dec8649ad58159 Issue-ID: SDC-4268
2022-11-17Create UI Component for viewing property constraintsJvD_Ericsson2-1/+10
Issue-ID: SDC-4219 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia0e40e2ed2fd954749a74ce307f1474380f9ad71
2022-10-25Fix Critical bug reported by Sonarvasraz1-2/+1
Fixes malformed 'calc' expressions reported as critical bug by Sonar Cloud Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Id31765c7b58701cc448b7c4b192db2986090ed79 Issue-ID: SDC-4230
2022-10-25Add default baseType to the substitution typeimamSidero1-5/+11
Enabling default baseType in substitution type to be selected Issue-ID: SDC-4229 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I869ede4c4e030adc3c4418c28ed787b4c10248dd
2022-10-17Increase character limit of VFC property name to 100 and allow @ characterimamSidero4-19/+23
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-14Support viewing of VFC property details when checked inJvD_Ericsson4-19/+22
Issue-ID: SDC-4208 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I4c16ca4058716bfee6a52b37604a045ecabc975c
2022-10-05Add data type view/workspaceandre.schmid1-33/+27
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-15Handle CSAR reading errors in Service ImportKrupaNagabhushan1-15/+30
Issue-ID: SDC-4162 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I13c2d053991f4a2b12e4c845dcd0da6e1c00adae
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-11Fix unable to delete default value for a complex propertyKrupaNagabhushan1-1/+1
Issue-ID: SDC-4127 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Id63294cf01b0576fbb4d3d34ab11952b3579c24f
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.schmid1-3/+3
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-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-18Support for concat TOSCA functionandre.schmid1-4/+4
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-24Service Import - Read metadata from csarJvD_Ericsson1-4/+26
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-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-11Fix component workspace metadata not being setandre.schmid1-1/+1
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-07Support get functions in composition property modalandre.schmid2-140/+260
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-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-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-17Support list of map properties in compositionandre.schmid1-3/+3
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-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-26UI support for deleting servicesJvD_Ericsson2-0/+51
Issue-ID: SDC-3962 Change-Id: Ib72a0c43b067cff31609bb47759497802a420511 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-01-27Add a display name for the categorystasys102-1/+5
Issue-ID: SDC-3858 Change-Id: Ic818b3b4bc4f4e91c9da0cdacb40549a3f071c68 Signed-off-by: stasys10 <stasys.jurgaitis@est.tech>
2022-01-26View Interface definition on VFCaribeiro3-0/+88
Add Interface support to VFC view UI Issue-ID: SDC-3850 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Icd195c939af39d40ae8c617e740323dd3e70fc15
2021-11-15Fix archive and restore actionsaribeiro2-8/+9
Issue-ID: SDC-3784 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Ia2d556913834fb65570470ed1dd79095f7b0411d
2021-10-27Fix model and category change issues on Serviceandre.schmid1-16/+31
During Service creation, when the model value changes, the dependent fields information, category and substitution type, were not correctly being erased. Also, during the Service edition, the category validation that checked if the selected category is allowed for a base type was incorrect. Change-Id: Ibdf63168ad681ade9b500e95beff1bd69c304420 Issue-ID: SDC-3765 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-21Make Service base type optionalandre.schmid2-41/+65
Issue-ID: SDC-3759 Change-Id: I8adf112966ee9303fc965a74cec7203274acd735 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-10-12Add a display name for the category metadataKeys entriesdavsad2-4/+12
Issue-ID: SDC-3737 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: Ia9547f02267fd380feeef6be6af10beadd30457b
2021-10-05Filter categories by model namearibeiro1-86/+111
Issue-ID: SDC-3706 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I457151f09ce0ed2edfa09340e9e08a126e114002
2021-10-05Fix child model being shown in UIKrupaNagabhushan1-1/+11
Issue-ID: SDC-3734 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Iadbbf93dc2a84a14df6b73a191d4c6d3e657f4d1
2021-09-15Integration test for importing VFC with modelaribeiro1-1/+1
Issue-ID: SDC-3724 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: If978ab3630eaca9bb84e7f51fb24bf448f0e0587