summaryrefslogtreecommitdiffstats
path: root/common-be/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-06-02Support INDEX in node filter tosca functionsfranciscovila1-34/+88
Issue-ID: SDC-4517 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I36e33821ef72c3375d9525513f2394b9b772c696
2023-05-29Fix various bugs related to tosca custom functionsJvD_Ericsson1-6/+9
Issue-ID: SDC-4512 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia501b124ddf0c77c97ca0c14bbaa18be39b8f631
2023-05-25Fix NPE using concat TOSCA functionsMichaelMorris1-3/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4509 Change-Id: I57173758bdb8293ffeb774e4dfac3f18ab4abae8
2023-05-25Support TOSCA functions in operation inputsfranciscovila1-0/+20
Issue-ID: SDC-4442 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I1e6135da6f41d512a7758d5494df12da874d7146
2023-05-22Provide index token to tosca function for nested listsimamSidero2-24/+41
Index token capability is provided in tosca function for all nested levels of list and custom types Issue-ID: SDC-4505 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: If21c0078e0d17c44b5a31b00d6fac3e18ff6831d
2023-05-18Fix error importimg service with custom fnsMichaelMorris1-2/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4507 Change-Id: I412e411a6d19cfb83d92c0d1184de8a69f75b42f
2023-05-18UI support for default custom function names with get_input structureJvD_Ericsson2-5/+47
Issue-ID: SDC-4493 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Iba3eda9bb5d57aabbe86045b6150564e17a0ff3e
2023-05-16Support additional operands for node filtersfranciscovila4-2/+35
Issue-ID: SDC-4395 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I66b172d100ffd2757de88bc7640761f31fd20c28
2023-05-09Support for addition of INDEX token to tosca functionsimamSidero2-2/+40
Providing the capability to add the index token to th tosca function of all types Issue-ID: SDC-4472 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ib7ac80f31710101f50de76bdb7c79abdc637cfe3
2023-04-13Backend support for custom functionsJvD_Ericsson3-7/+93
Issue-ID: SDC-4455 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Idb0fd38681066ba9d541f8564c85e316cf03e927
2023-03-31Support to change substitution mapping node or version after service creationJvD_Ericsson1-0/+5
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-10Support for delete of non normative interface typesJvD_Ericsson1-10/+11
Issue-ID: SDC-4423 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ic41a8d0e792f4f0c6effd7eb6c9bd74887a0506c
2023-01-27Add TCs to cover Constraintsvasraz1-1/+6
Fix wrong Comparable Property Type and Comparable Constraint Type Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I59968861834a0f8859fcaf3e590c83bbf223338f Issue-ID: SDC-4347
2023-01-26Fix 'Property Constraint error when uprading VFC instance version in ↵vasraz1-2/+0
service'-bug Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I72b813073645909e37937373178b823e0ca694f9 Issue-ID: SDC-4345
2023-01-25Implement hiding mechanismvasraz3-7/+3
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I799af15e31b724ca394eebe435223c03186fb6d3 Issue-ID: SDC-4344
2023-01-23Disable editing of normative data typesMichaelMorris1-0/+2
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4341 Change-Id: Id7673624032883c641e05fd6e5e3d599f7da14df
2022-12-21Multitenancy in SDCKartik Hegde4-0/+10
Issue-ID: SDC-4215 Change-Id: Ie24ba38acc9f1998d4a7e722e8f98456dab9201d Signed-off-by: Kartik Hegde <kh00735564@techmahindra.com>
2022-12-01Support addition of pattern constraintJvD_Ericsson1-0/+1
Issue-ID: SDC-4260 Change-Id: I2eccf88472c144d8f595a9d8ec028705e924fd67 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-11-08Interface is formatted using extended notation when no implementation added ↵vasraz2-72/+6
at VFC level Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4e6e6d61b851fe2efaa47c9f8fad0cb546f2fcb7 Issue-ID: SDC-4255
2022-10-25Fix import service with concat function valuesMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4225 Change-Id: Iefc402c5dd6338e5bb13a3d425363e777fbbec04
2022-10-05Implement API for fetching single data typevasraz1-39/+39
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icebf660d67d503250e4f6d4d7fd5a2e169cdc951 Issue-ID: SDC-4184
2022-09-27Service import - Import unknown interface typesKrupaNagabhushan1-1/+2
Issue-ID: SDC-4186 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idfbce90e795136ef2ea1a96f65e458db9206339f
2022-09-26Service import - Import unknown capability typesfranciscovila1-1/+1
When an unknown capability is found in the csar used to import a service, this capability will be added to the model to which the service is being imported Issue-ID: SDC-4187 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: If43b14008e18195bff237c35c5fc1154e57239ff
2022-09-19Import unknown group types during Service importvasraz3-106/+18
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic435ee0c440dd8ed64339bab08e921687d23b9c0 Issue-ID: SDC-4176
2022-09-16Import unknown artifact types on Service ImportimamSidero1-1/+1
creating non existing artifact types added in the import files on service import Issue-ID: SDC-4153 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I477cbc76dece828bc9eee96e66cd24a71fc8c2bb
2022-09-08Support TOSCA functions in Node Filtersandre.schmid16-28/+560
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 propertiesMichaelMorris2-0/+35
Change-Id: Ibfd95c928bbb10089cfc9749ae4e7b05270e3d68 Issue-ID: SDC-4151 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-08-15Service Import - Node Template Interface Definitionsfranciscovila1-0/+6
Add Node Template Interface Definitions when importing a service Issue-ID: SDC-4113 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I28bcb120ebd25b0baa4e62404d3fe38ce3a3706f
2022-08-06Support for TOSCA functions for Service Importandre.schmid2-6/+20
Reads, interprets and persists property values that uses TOSCA functions during a Service import. Change-Id: I6943c447cc743213cb9807d6433cb25fa5effbc3 Issue-ID: SDC-4120 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-08-02Service Import - Node Template Relationship TemplateKrupaNagabhushan1-2/+3
Issue-ID: SDC-4083 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: Ia0f3635df969c44de5aba2d672fad34f0855e4e2
2022-07-29Centralize TOSCA function validationandre.schmid1-8/+5
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.schmid2-5/+22
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-18Support for concat TOSCA functionandre.schmid11-13/+492
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-15Support Outputs during Import Servicevasraz2-3/+3
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4d58576b70ef738d6fa7545cd268ec030b43f95c Issue-ID: SDC-4051
2022-07-13Service Import - Input appearing as a propertyvasraz1-25/+5
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I33fa543e3a1c40b7590334a6396634abbd5b536f Issue-ID: SDC-4079
2022-07-11Fix 'Fail to declare Input for duplicated name of property'vasraz1-4/+3
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib9ef09944b0ae31b1cfd0dc42d9e7026b5a6ba8f Issue-ID: SDC-4081
2022-06-23Fix interface operation update on version changeJvD_Ericsson1-0/+7
Fix interface operation implementation not being updated on version change Issue-ID: SDC-4045 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Idfe15f988f47c50be329354d711f43de8eab2203
2022-06-22Support TOSCA get_attribute functionandre.schmid1-5/+9
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-03Maintain VFC instance attribute outputs on instance version changeJvD_Ericsson2-0/+64
Issue-ID: SDC-4025 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Ia44a6ac73d9a52042caaacf0c5f790e1e2fc73f1
2022-06-03Maintain VFC UI added interface operations after an upgradevasraz1-1/+6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I908a4480a8929f9aeeabf4f5c14049cade6ae22b Issue-ID: SDC-4018
2022-06-02Maintain VFC UI added properties after an upgradevasraz1-2/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3d4c06f3f27057a08a47683d289e87bc6cb90bfa Issue-ID: SDC-4012
2022-05-30Support of get_property in property assignmentandre.schmid4-5/+166
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-13Import VFC with i/f op impl extended notataionMichaelMorris1-0/+9
Support import of VFC with interface operation implementation extended notataion Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3999 Change-Id: Ie2affc2b11d4b65fe87565768406dc6a02f8c74a
2022-04-28Support deletion of archived VFs in SDC BEfranciscovila1-0/+27
Support deletion of archived VFs in SDC BE Issue-ID: SDC-3973 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I0bb18e627c026b794609c2a57806c7a4f925741b
2022-04-21Enable identification of system deployed VFCsMichaelMorris3-0/+8
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3972 Change-Id: Ia3513020f508275827b34111c6eb2921204d9320
2022-04-04Implement restore of partially deleted VSPvasraz2-0/+11
Change-Id: I790b6cd8494e8f35c3b9891304f15272e9769a68 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3935
2022-03-31Fix package storage and reducer config reloadandre.schmid3-27/+26
The package storage configuration was not being reloaded when a configuration file change was made. Increases OrchestrationTemplateCandidateImpl coverage by testing the upload to the artifact storage. Issue-ID: SDC-3934 Change-Id: I533b3c3a92cdadb60a375890da85ee053364e8af Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-31Update Interface definition on VFCvasraz1-5/+2
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 Service/VF set value to list/map propertiesandre.schmid2-4/+28
In the Service Property Assignment page, setting a value to a property of type list<complex> or map<complex> was having the type replaced by the schema type and the value incorrectly set. Add test cases to cover the problem. Include small refactors. Issue-ID: SDC-3926 Change-Id: I1257dbb02e18b103118672ec52d663707d53229c Signed-off-by: andre.schmid <andre.schmid@est.tech>
2022-03-28Check if the bucket exists before deleting VSPandre.schmid1-1/+13
Checks if the bucket exists before deleting VSP, ignoring the deletion if the bucket isn't present anymore. This avoids problems in case the artifact was already deleted from the artifact storage, but for some reason the VSP still present in the system. Change-Id: I7e88f227cc6786b451ca74519fa0dfe0659895c6 Issue-ID: SDC-3930 Signed-off-by: andre.schmid <andre.schmid@est.tech>