summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
AgeCommit message (Collapse)AuthorFilesLines
2022-09-09Fix node filter API payload retro-compatibility1.11.8andre.schmid1-7/+35
The create/edit API was not converting properly a legacy payload and the request was failing. Also, the create/edit response was not being handled as previously when the legacy payload was given. Change-Id: Ic0832cd31ca450806a053ae96889538bf7e8daca Issue-ID: SDC-4174 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-09Import services with sub prop tosca functionsMichaelMorris4-47/+184
Includes fix for setting sub properties to yaml values other than maps Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4168 Change-Id: I15e3c450c10d4603f882c20f2da80cb7b5d80bb6
2022-09-08Support TOSCA functions in Node Filtersandre.schmid41-1689/+3210
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-08Support import service with yaml tosca functionMichaelMorris1-1/+18
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4166 Change-Id: I3c0c3af3a36ccb02fbdd518de8e75175e9a42607
2022-09-08Fix high-severity bug 'application exposed to path traversal attack'vasraz1-19/+26
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I7f4b1e8d083cc39f8e57dcedddecc6af56fdc9c2 Issue-ID: SDC-4169
2022-09-08Import VFC not importing interfacesfranciscovila1-0/+13
Fix when import VFC with Standard Interfaces to ETSI model Issue-ID: SDC-4134 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ibf6700b406f4b71dcae9327e14fb3ad04ad5e762
2022-09-07Support TOSCA functions in sub propertiesMichaelMorris1-1/+25
Change-Id: Ibfd95c928bbb10089cfc9749ae4e7b05270e3d68 Issue-ID: SDC-4151 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2022-09-07Fix NPE for no inputs on instance operationMichaelMorris1-0/+4
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4145 Change-Id: I6813382db7101de0c18d03a058c2c36a48b5a828
2022-09-06Support import of updated node typesJvD_Ericsson7-55/+267
Support addition of new properties Issue-ID: SDC-4131 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I9f12d0f4f9727c33f8444980b780758533e714cf
2022-09-06Update SDC with new 'security-util-lib' versionvasraz2-9/+12
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iece4430f2ebceb8bfb1ea1a89c541335e2f35b11 Issue-ID: SDC-4165
2022-09-02Allow to select properties in the get_attribute functionvasraz1-30/+41
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib35d5d1e3d83ed8e87ce45c20e9cc1a641c5bde2 Issue-ID: SDC-4149
2022-09-02Support updated data types in service importMichaelMorris5-3/+41
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4140 Change-Id: Ib66d47a0f566b648722ce86cfc4e208880551a29
2022-08-31Service-import sub import path fixedimamSidero1-1/+2
sub imported files path are fixed in importing a service Issue-ID: SDC-4150 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ibec3fd25f8316b678cfa76fe6c688d89701787d8
2022-08-30Fix 'Wrong Inputs creation on (Add Service)'vasraz7-166/+217
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Iadfe03718066dafe5a438020c488f5b242fe6a41 Issue-ID: SDC-4097
2022-08-22Fix use of encrypted user in backendMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4141 Change-Id: I4ebef3cb44eee6d15cde7ae1e2c88fa91ac6ff20
2022-08-22Fix broken chef/berkshelf install in docker imagesvasraz1-0/+1
Set a specific version for the ruby gem "public_suffix", required by chef/berkshelf, to be compatible with the used version of ruby (2.5.0). Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I963a60206cb1f22296fcb5a9f763f326f629f077 Issue-ID: SDC-4139
2022-08-19Fix wrongly generated tosca implementationKrupaNagabhushan1-4/+1
Issue-ID: SDC-4130 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I23ea03fded3d82006b98b0d42be928ac38513276
2022-08-19Support Inputs during Import Servicevasraz3-79/+243
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifc761d607a5d3c11187486fec3133be44c2d38b0 Issue-ID: SDC-4082
2022-08-19Allow ETSI VNF without other node templateMichaelMorris1-8/+10
With 'other' meaning not the node template for the VNF node type Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4136 Change-Id: Ieaa3fa4d0bb4b0e9b46090a9ec7ddd8d45ae3947
2022-08-16Fix error handling for instances with no propertiesKrupaNagabhushan1-3/+4
Issue-ID: SDC-4132 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ic31aed1021d3a8a867d398bad8a37668c553acbd
2022-08-15Fix ClassCastException in importMichaelMorris1-24/+30
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4133 Change-Id: Ic7ac38dac39ed9b962691390818e18b753f9378e
2022-08-15Service Import - Node Template Interface Definitionsfranciscovila7-57/+406
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-15Fix new data types not found in UIMichaelMorris2-2/+5
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-12Service import - Import unknown node typesJvD_Ericsson7-26/+308
Issue-ID: SDC-4118 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id620eef55ffb6849006e8a7bc063709150628e76
2022-08-11Empty node filter is removed when no filter is addedimamSidero3-10/+65
Null and empty check is added before adding a node filter object Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4124 Change-Id: I1e1e992881cd51dff209bac0111a472793dd41d1
2022-08-11Error Importing node filter with multiple capability propertiesfranciscovila1-4/+6
Fix importing NF with multiple Capability properties Issue-ID: SDC-4117 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I84fc245ddb40440d4909f5ae896b57ddf8b3740a
2022-08-11Support unknown data types in service importMichaelMorris18-198/+770
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4119 Change-Id: I426ebb96e7b354dfd5dfb06a10845c3162055968
2022-08-10get_input property value deprecated formatMichaelMorris3-3/+59
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4123 Change-Id: Ief79a25bbe41d67b378db6c4ad19b0d29c1830b2
2022-08-06Support for TOSCA functions for Service Importandre.schmid8-166/+819
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-05Fix set property policy tosca function issueMichaelMorris1-0/+1
When setting a policy property using TOSCA function get_property for a SELF property - an error is thrown stating no such property exists Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4125 Change-Id: Ie08f15567cbb00d243f53c31120d8218519a856f
2022-08-04Fix error adding capability to VFCMichaelMorris2-3/+3
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4098 Change-Id: Id3c71787b9c11bbf4316a9a23f01199a009f2b49
2022-08-02Service Import - Node Template Relationship TemplateKrupaNagabhushan7-11/+196
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-08-02Enabled configuration of instance nameimamSidero1-0/+2
The given name for the instance dragged and dropped is changed to <type name>_<instance count> Signed-off-by: Imam hussain <imam.hussain@est.tech> Issue-ID: SDC-4109 Change-Id: Ibce6f911480841df496f0e7bb17a6d7cd533e803
2022-07-29Centralize TOSCA function validationandre.schmid13-671/+886
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-0/+4
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-21Maintain VFC instance directives and node filtersfranciscovila1-0/+17
Maintain VFC directives and node filters on instance version change Issue-ID: SDC-4062 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I90e8d4e5f8262879fb533389a93e2fdfa052caad
2022-07-21Fix changed instance attribute value not visible in generated toscaJvD_Ericsson8-15/+130
also fixes attributes not being exported/imported with a schema Issue-ID: SDC-4093 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I693ae5c4c7717764445b20279bf61a7d3b47b434
2022-07-18Support for concat TOSCA functionandre.schmid6-24/+71
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 Servicevasraz15-479/+740
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4d58576b70ef738d6fa7545cd268ec030b43f95c Issue-ID: SDC-4051
2022-07-14Fix error in upgrading instance versionMichaelMorris1-2/+9
Exception thrown when upgrading the version of a component instance in a component composition Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4096 Change-Id: Ice98ab72f9bb69d3fa088a94e4c7c3f903de1f99
2022-07-14Support Policies during Import Servicevasraz22-1323/+1333
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I3ea14869853733a8a2069ae0568cfbb053849a79 Issue-ID: SDC-4060
2022-07-13Service Import - Input appearing as a propertyvasraz4-321/+176
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I33fa543e3a1c40b7590334a6396634abbd5b536f Issue-ID: SDC-4079
2022-07-12Fix upgrade failureMichaelMorris1-0/+650
Upgrade failing due to imports not included in acm/upgrade Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4089 Change-Id: I09d6c874021ac02d361b1daa675a34e130004a91
2022-07-11Support tosca functions for group instances in composition viewJvD_Ericsson1-1/+9
Issue-ID: SDC-4078 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: Id65ae1c0cac8cb61cece69e2c88a588027c675fd
2022-07-11Fix 'Fail to declare Input for duplicated name of property'vasraz4-10/+9
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ib9ef09944b0ae31b1cfd0dc42d9e7026b5a6ba8f Issue-ID: SDC-4081
2022-06-29VFC properties of type timestamp not visible in property assignmentfranciscovila8-0/+1419
Fixing issues with timestamp type Issue-ID: SDC-4048 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Iaf5c14cbfcd00fd964974388e42e2e26e9101d3b
2022-06-24Service Import - Read metadata from csarJvD_Ericsson3-4/+10
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-24Support Groups during Import Servicevasraz9-836/+569
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6752ebf23920fda1395f4cb7f458ecb29f8ecd51 Issue-ID: SDC-4054
2022-06-22Support TOSCA get_attribute functionandre.schmid3-59/+33
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.schmid2-3/+9
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>