aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
AgeCommit message (Collapse)AuthorFilesLines
2022-12-21Multitenancy in SDCKartik Hegde18-24/+593
Issue-ID: SDC-4215 Change-Id: Ie24ba38acc9f1998d4a7e722e8f98456dab9201d Signed-off-by: Kartik Hegde <kh00735564@techmahindra.com>
2022-12-20Add support comparable type constraints for scalar valuesvasraz1-1/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I57234399f23721506d308dfb8351067845ebe892 Issue-ID: SDC-4305
2022-12-19Provide tosca function to List entriesimamSidero2-8/+84
Providing the capability to add tosca function as the List entries Issue-ID: SDC-4288 Signed-off-by: Imam hussain <imam.hussain@est.tech> Change-Id: Ib2e11945f76b7004dbf8807274ee6333b9d9aa05
2022-12-15Add link to Swagger UI in Readme & Redirect rooteschcam3-3/+32
Turns out the default URL of http://localhost:8080/ only loads the index.html and not the other assets. Going to http://localhost:8080/swagger-ui/index.html loads everything correctly Also added a redirect for the root URL to the correct address for the Swagger UI Issue-ID: SDC-4292 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: Ibca5956d1d2f5e18ba41e623329b199c8e9db9a5
2022-12-14Fix bug 'Pattern constraint validation failure'vasraz1-11/+9
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: If7c59aa37db974c57195775f963c8400cf474a51 Issue-ID: SDC-4294
2022-12-12Some default responses in the generated openapi files are missing descriptionsFiete Ostkamp4-11/+11
- add description for default responses - also generate openapi files in yaml format Issue-ID: SDC-4306 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I3f55cc4765c06baee50df2ff97d8b3f717dfa201
2022-12-12Fix catalog-be docker build erroreschcam2-2/+4
Applying a similar fix from SDC-4289 to fix build failure in Jenkins Issue-ID: SDC-4302 Signed-off-by: eschcam <cameron.scholes@est.tech> Change-Id: Idaeafa4245729359d2a7530705b362a6963724ce
2022-12-12Add missing 'scalar-unit.bitrate' data typevasraz6-6/+21
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I33faf90f04667ef2b8a334dfba39fe256a21c223 Issue-ID: SDC-4300
2022-12-02Fix numeric constraint values generated as stringsJvD_Ericsson11-13/+50
When importing a vfc the property constraints are now checked to see if they are the same type as the property If not it will attempt to convert to that type Issue-ID: SDC-4274 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech> Change-Id: I32c1d930166d10142ad9ca6914550c7946e9128c
2022-12-01Support addition of pattern constraintJvD_Ericsson2-0/+54
Issue-ID: SDC-4260 Change-Id: I2eccf88472c144d8f595a9d8ec028705e924fd67 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
2022-11-30View data types in UI catalogKrupaNagabhushan2-1/+50
Issue-ID: SDC-4220 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I880c7fedb58eafc7524fc6833b9b5d02f3b7d523
2022-11-28Fix empty interfaces and operationsMichaelMorris1-6/+14
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4281 Change-Id: I53bd54fea0aca3540dafebc9360fd305dd56128d
2022-11-25Fix issues while importing a Servicevasraz14-121/+86
The import service was ignoring the selected model for imported nodes. It was also trying to set a different icon for resources that already exist in the database, creating a validation error. There was also a nullpointer in relation to not found capability. Change-Id: Ifa9320c5554bbf5e8fed0cc2e2dea6b05503d213 Issue-ID: SDC-4266 Signed-off-by: André Schmid <andre.schmid@est.tech> Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
2022-11-25Implement create data type propertyandre.schmid5-7/+81
Allows to add a new data type property and visualize the properties details. Change-Id: Ib7bcd4b0bd8213dbe8ee8a3762a0636e22dc67eb Issue-ID: SDC-4258 Signed-off-by: André Schmid <andre.schmid@est.tech>
2022-11-24Added null checks in EcompIntImpleschcam1-10/+36
Added missing null checks in EcompIntImpl. Issue-ID: SDC-4267 Change-Id: I9531e000213b3e2798a5f3e1cb4e6ed8103a02c8 Signed-off-by: eschcam <cameron.scholes@est.tech>
2022-11-23Fix property constraints validationfranciscovila4-14/+191
Fix property constraints validation behaviour when a property is not required shouldnt be validated vs constraints if no value is provided. Also add constraints validation for length measures in list, map and string types. Issue-ID: SDC-4222 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: I48ebb46b3de9ddac3d9dd91400ea0fad983aa94d
2022-11-17Fix SDC-BE not logging to STDOUTMichaelMorris3-4/+29
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3534 Change-Id: Ia3e20b7f43ece61cf28038d59af51264db2b7dec
2022-11-17Issues with 'range' data type detectedfranciscovila5-0/+13
Fix issues with range data type Issue-ID: SDC-4243 Signed-off-by: franciscovila <javier.paradela.vila@est.tech> Change-Id: Ie93f8c38b766d78f890dbe2b854a096bb8546fe8
2022-11-16Fix null check for propertiesNameeschcam1-1/+7
Fixed null check for propertiesName in DefaultPropertyDeclarator Issue-ID: SDC-4265 Change-Id: I1c23c2a1344948973c75a2af8e38aaa94346355c Signed-off-by: eschcam <cameron.scholes@est.tech>
2022-11-10Remove 'Powered by Jetty' from default jetty responsevasraz1-4/+1
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I927d1a935a0b0e224f7e5b35d86ac737d16f2774 Issue-ID: SDC-4254
2022-11-08Interface is formatted using extended notation when no implementation added ↵vasraz6-91/+65
at VFC level Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I4e6e6d61b851fe2efaa47c9f8fad0cb546f2fcb7 Issue-ID: SDC-4255
2022-10-29Step version to 1.12.1MichaelMorris1-1/+1
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4238 Change-Id: I3797ce38210c4c2ecd00e4a6ab3d7fd846f97aa0
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>