summaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26Fix import policy issuesMichaelMorris3-37/+61
The following issues are addressed: When a service is imported containing polices, a new name for the policy is generated instead of using the name from the imported service When a service is imported containing policies with a string value set for a property of a policy, then the value is created in the new service surrounded with quotes NPE when service imported with no instances NPE when service imported with instances with no requirements Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4224 Change-Id: I8403c0564796a045816ae28e52961688ca7804db
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-25Constraint validation - Node Template Interfacesfranciscovila7-31/+492
Validate constraints in node template interfaces Issue-ID: SDC-4207 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ibe4a55342067942a2a29f540c896ecc39811220f
2022-10-25Add default baseType to the substitution typeimamSidero3-0/+16
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-25[SDC] Add kafka native messagingdavid.mcweeney12-74/+857
Change-Id: I5ab8f580947cbc264d94bec48a5e8b659dc44c08 Issue-ID: DMAAP-1787 Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
2022-10-24Support import of VFCs with property constraintsMichaelMorris18-11/+595
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4216 Change-Id: I19dce9f929535aa22cad6a1d95a213f42dd6e99c
2022-10-24Constraint validation for instance attributes in a serviceimamSidero1-1/+17
Validating the attributes of instance in a service against it's constraints Signed-off-by: imamSidero <imam.hussain@est.tech> Issue-ID: SDC-4209 Change-Id: I7f28f1bd2b209c2d765687e06350711ef9be3c6d
2022-10-24Fix import service with component inst interfacesMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4227 Change-Id: Ibfaac65a1c9c53efe9bccd98bf1de565143f645b
2022-10-18Fix security risk 'Improper Input Validation'vasraz12-12/+160
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I6a52148aec3b567db43ec57109214e52d106f73c Issue-ID: SDC-4189
2022-10-17Increase character limit of VFC property name to 100 and allow @ characterimamSidero1-1/+1
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-17Add data type properties workspaceandre.schmid3-1/+48
Implements the properties workspace for a data type, with the list and filter feature. Change-Id: I2ec337a0481bddd5fe32e45644abdc88e197fa49 Issue-ID: SDC-4214 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-10-14Align 'org.eclipse.jetty'-version (9.4.49.v20220914)vasraz1-26/+38
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: If56735406d86bd42b57c2ccb1f23699c1685069b Issue-ID: SDC-4189
2022-10-14Support import of updated node types with added attributesJvD_Ericsson5-30/+132
Support addition of new attributes, new capabilities, new requirements, and new interfaces Issue-ID: SDC-4142 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I987fdf6b0e7dae275fcc6ac43f3dd7aa21628f4a
2022-10-12Fix response of fetch data type endpointandre.schmid2-7/+9
The catalog endpoint /v1/catalog/data-types/<id> is returning an Optional instead of the Data Type itself. Improves unit test to verify the response payload. Change-Id: I781917fb66225abf911a043370917e7b7a183bb1 Issue-ID: SDC-4211 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-10-10Constraint validation for instance properties in a serviceimamSidero4-6/+64
Validating the properties of instance in a service against it's constraints Issue-ID: SDC-4190 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I04bb907f52229c3d214e15434595e5429ef5101c
2022-10-06Fix empty interface operation exceptionMichaelMorris5-4/+18
also model not being considered when getting interface type definition during VFC import Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4196 Change-Id: I353d88273acad3047e163ea259e7965c2f3340c0
2022-10-05Implement API for fetching single data typevasraz9-76/+333
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Icebf660d67d503250e4f6d4d7fd5a2e169cdc951 Issue-ID: SDC-4184
2022-10-04Fix bug 'X-Frame-Options not configured: Lack of clickjacking protection'vasraz5-100/+58
Add new Filter (ContentSecurityPolicyHeaderFilter) Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ic8151df64e4b95b3d59b44a5f74dd12210f55e87 Issue-ID: SDC-4192
2022-10-04Fix for VFC version update on composition windowimamSidero2-27/+23
On add service - composition window VFC version update/change is fixed by mapping appropriate requirements and capabilities Issue-ID: SDC-4185 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: I0de616510ca27c511179f1f34cf7290cd584c7c5
2022-10-04Remove unused codevasraz75-1143/+1081
clean up 'UserBusinessLogic userBusinessLogic' Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I868692b617e2efd4001121d8f2495e73f59c77a7 Issue-ID: SDC-4205
2022-10-04[KAFKA] Allow kafka params to be passed as configefiacor6-0/+124
Allow topic names to be passed Add new api endpoint to retrieve the kafka and topic info Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1744 Change-Id: Id7bdcf54c6191a5953bc94092218595bf608a733
2022-09-29Stepping version to 1.12.0 for start of LondonMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4155 Change-Id: Ide5c76cbb332dbd03344fdb462e7feef91c9256e
2022-09-28Step version to 1.11.9-SNAPSHOTMichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4172 Change-Id: If2746847292bd769ef47c4628b5bafa7af2d69b9
2022-09-28Fix service import with capability node filtersMichaelMorris1-15/+6
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4182 Change-Id: Iafbc59764741ae1164ea2cd43aa2ed9f5208a3cf
2022-09-27Error in update of Component Inputsfranciscovila2-5/+12
Fix error preventing constraints validations Issue-ID: SDC-4191 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I19190a071fe45cf5ac30c7ec44fbf0fbb2b46c03
2022-09-27Service import - Import unknown interface typesKrupaNagabhushan8-4/+74
Issue-ID: SDC-4186 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Idfbce90e795136ef2ea1a96f65e458db9206339f
2022-09-26Service import - Import unknown capability typesfranciscovila6-5/+64
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-23Revert "Fix 'Wrong Inputs creation on (Add Service)'"Vasyl Razinkov7-217/+166
This reverts commit ae24e28cda8247fdce38330356b63db1377be58f. Reason for revert: problem reported with 'default' values Issue-ID: SDC-4097 Change-Id: I8966470070329cc8aafcb45255f2febb9b00ab4e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
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