aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
AgeCommit message (Collapse)AuthorFilesLines
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
2021-09-10Fix create a service with SDC AID modelandre.schmid3-30/+17
Change-Id: Ia5f0fa1304f6eab609862dd76f9b9f3485f468d1 Issue-ID: SDC-3723 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-09-02Move position of Model on create screenaribeiro1-17/+15
Issue-ID: SDC-3712 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I8e2ed84dbedef897588a621a4f627bc75f4a7281
2021-08-27Support querying of model by typeMichaelMorris1-3/+9
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3678 Change-Id: I5fd19eefe475113df501901628b2ee8669004399
2021-08-20Select a Model when Importing a VSPandre.schmid3-23/+66
Change-Id: I7537af4c7279636de7e450ec398210ace376eade Issue-ID: SDC-3670 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2021-08-12Update base types based on modelMichaelMorris4-5/+23
Also made some changes where model was not being considered Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3666 Change-Id: I450c5261239cf4104c494abe6711cb61368a2b4a
2021-08-06Retrieve data types based on component modelaribeiro5-5/+13
Issue-ID: SDC-3660 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I09c533eb39277532b29e581e4dd57e9df952e8e6
2021-07-21Display model namearibeiro2-8/+8
Issue-ID: SDC-3632 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I7c6ec805298dee7b8327769b48c157f2bf0c30f9
2021-07-15Specify model at service creationaribeiro2-2/+35
Allows a user to select a model when designing a service Issue-ID: SDC-3621 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I386e43ddeb649a4ba0805f153e4b47e8a528cff0
2021-05-06Increase Import VFC UI test coveragevasraz2-194/+195
Change-Id: Ie51411304fefe6b8ee3aa437b980f1e12bbc4707 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3566
2021-04-20Fix VSP update for checked-in resourcesandre.schmid1-21/+18
Checkout the VF (if checked-in) related to the VSP before loading the VF workspace. Change-Id: I9576fd5b429fdae2ac00de5bfbd38e183b93be59 Issue-ID: SDC-3560 Signed-off-by: André Schmid <andre.schmid@est.tech>
2021-04-19Fix add property to a VFCaribeiro2-10/+9
Added properties to a VFC were not being displayed on the UI Issue-ID: SDC-3559 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iede582ada4a25ddfb8f5ca5936c71e5c2b25e50b
2021-03-26Revert "Fix 46 CRITICAL BUGs"Vasyl Razinkov1-2/+2
This reverts commit eb57d1efc197968a4073b331b2dc8f40d8109847. Reason for revert: some UI components are broken Change-Id: I533a827e9913250d5cb29ed2cc4736fd8c57a8e5 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3529
2021-03-24Fix 46 CRITICAL BUGsvasraz1-2/+2
Change-Id: Id354491665a1d8c25a7c1f3e83fcb4d146ca2f37 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3529
2021-03-24Enable selection of base type of servicevasraz2-1/+87
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3506 Change-Id: Iaba39955fac9056cb0d0f1eccd223c05dfb9c5b4 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2021-03-17Support default value for category specific metadatadavsad2-12/+26
Issue-ID: SDC-3513 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I4697b66c6d59c1464cf81f9c68fe76b6ca24472c
2021-03-12Restrict metadata valid values per categorydavsad2-51/+132
Issue-ID: SDC-3504 Signed-off-by: davsad <david.sadlier@est.tech> Change-Id: I95c4769b231de8e681a2f0ff5eb84cc01c2d4367
2021-02-17Implement Attributes/Outputs FEvasraz3-0/+317
Change-Id: I014bb0ebc07f3fea4266a4f295172eadee546705 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3448
2021-01-12Support for category specific metadataMichaelMorris2-2/+116
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3412 Change-Id: I87392cc21dc25253b558bdc1d453d99659d049fa
2020-09-21Support for Test Topology Auto Design- Service Importzhaoxiangjun6662-3/+23
Add some test code and use lombok in catalog-model Test Topology Auto Design (NFV Testing Automatic Platform) Delete useless test code and add test code for new function Issue-ID: SDC-3179 Issue-ID: SDC-3085 Signed-off-by: zhaoxiangjun666 <xjzhaop@isoftstone.com> Change-Id: I7f555633a00848c273014caa18ea0e30d0b22113
2020-04-06Fix when adding a VFaribeiro2-10/+11
Remove duplicated field when adding VF, fix label names and fix field that appears mandatory even though its not Issue-ID: SDC-2865 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iac0866ebcd1b90570949fe9c851fec1f861818af
2020-03-24Fixed updating VFCk.kedron1-11/+14
Added checking that newProperty.path isn't null. Also added refreshing the returned property from the backend. Issue-ID: SDC-2800 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I82449d04f3151b5233cd99fb919b47f6d05a83fa
2020-03-05Fix update the policy in SDC UIk.kedron1-4/+9
Refresh the property.value which is sent to the backend to properly update the policy property. Issue-ID: SDC-2797 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If87c7acb5324cf933e9c8a4ebd5616a11d8b4c71
2020-01-22Catalog alignmentys9693143-15799/+722
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
2019-12-20Disabled manual service creation for PartnerNilay Ranjan2-1/+44
Changes to disable/hide Partner Domain Service category to disable manual creation of such services Issue-ID: SDC-2382 Change-Id: Ie15732360d78542f41101e315fa4aa803531b5f2 Signed-off-by: Atif Husain <atif.husain@team.telstra.com>