aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2022-09-19Import unknown group types during Service importvasraz10-148/+225
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic435ee0c440dd8ed64339bab08e921687d23b9c0 Issue-ID: SDC-4176
2022-09-19Support TOSCA functions in Node Capability Filtersandre.schmid10-121/+161
Adds support to use TOSCA functions as value in the node capability filters. Removes the current capability filter component to reuse, with a few changes, the node property filters component. Fixes problems with the edition and deletion of node capability filters. Change-Id: Ic91242d6cbc24e2ce0f60b84c63e104575bef8a9 Issue-ID: SDC-4173 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-09-16Fix types not refreshing after model changefranciscovila2-52/+273
Loads the capability, requirement and node types based on the current VFC model. Removes the frontend cache that was being hold by the ReqAndCapabilitiesService. Issue-ID: SDC-4175 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I6ab9d1781c6d65e0d78ff69baf468fb9d24f9afd
2022-09-16Import unknown artifact types on Service ImportimamSidero7-5/+70
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-14Fix 'Optional license in onboarding'-bugvasraz3-107/+103
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6b63629e834b8a5002372d6af59ae0a3a9460542 Issue-ID: SDC-3601
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-26Remove vulnerable dependencyvasraz1-0/+4
Remove/update org.apache.tinkerpop:gremlin-core Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Id41e2d0d089e5071c9923297c55bf31d9a57189f Issue-ID: SDC-4017
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 imagesvasraz2-0/+2
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-19Remove vulnerable dependencyvasraz1-0/+6
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6aada4ea46fc62ea9d3d5387d39113b1942808d4 Issue-ID: SDC-4017
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-17Update SDC version to 1.11.8-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4111 Change-Id: I39b23ed9e56a889f1f4a9fa7029a4758c4c9ba47
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-15Step version to 1.11.7-SNAPSHOT1.11.7MichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4111 Change-Id: I42a9a518dc05a4fd42619fbd471955ddacd62dc3
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-15Remove unused dependency (functionaljava)vasraz1-0/+4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I9d8806dc55fc1d377cdd366343fe898b46fc847d Issue-ID: SDC-4094
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