sdc.git
15 months agoUpdated release notes for 1.12.1 53/133053/3 1.12.1
MichaelMorris [Fri, 28 Oct 2022 12:46:55 +0000 (13:46 +0100)]
Updated release notes for 1.12.1

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4353
Change-Id: I9bdc19e3b3453ebefecf9b07e6fb59b8dabf40ae

15 months agoFix int and float constraints generating as strings 23/133023/6
eschcam [Wed, 25 Jan 2023 14:29:42 +0000 (14:29 +0000)]
Fix int and float constraints generating as strings

Convert integers and float constraints before generating TOSCA file

Issue-ID: SDC-4318
Signed-off-by: eschcam <cameron.scholes@est.tech>
Change-Id: Iba412930fe8782ac2cee5b5ce99faae545ca0d57

15 months agoProvide add/edit constraints capability to inputs in properties page 06/133006/11
imamSidero [Tue, 24 Jan 2023 16:03:54 +0000 (16:03 +0000)]
Provide add/edit constraints capability to inputs in properties page

Providing the capability to add or edit constraints to inputs in properies of a service

Issue-ID: SDC-4346
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I56261441022751a191fe057aafa4c681c8db96c5

15 months agoError importing data type in the UI 48/133048/3
franciscovila [Fri, 27 Jan 2023 11:51:47 +0000 (11:51 +0000)]
Error importing data type in the UI

Fix error importing a file with 'tosca_definitions_version' tag

Issue-ID: SDC-4351
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: I61f6dba8c15dd73de99cbf2cfb857e271f37665d

15 months agoAdd TCs to cover Constraints 29/133029/10
vasraz [Wed, 25 Jan 2023 19:09:41 +0000 (19:09 +0000)]
Add TCs to cover Constraints

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

15 months agoTemporary fix for unable to set values on props of a VFC in a service 49/133049/2
JvD_Ericsson [Fri, 27 Jan 2023 12:02:05 +0000 (12:02 +0000)]
Temporary fix for unable to set values on props of a VFC in a service

Issue-ID: SDC-4352
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I4dc65a341445e38a33bfe438413b67c4c7fae098

15 months agoFix added datatype property not include in model definitions 46/133046/3
JvD_Ericsson [Thu, 26 Jan 2023 15:53:57 +0000 (15:53 +0000)]
Fix added datatype property not include in model definitions

Issue-ID: SDC-4349
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ie94d697a64816f83be4783f1e52657b7fdd77b8c

15 months agoFix invalid property values provided for tosca functions 94/132994/5
JvD_Ericsson [Mon, 23 Jan 2023 16:45:27 +0000 (16:45 +0000)]
Fix invalid property values provided for tosca functions

Issue-ID: SDC-4343
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: If4f192adcac87a461bc47c2accff53d8ce9a9f36

15 months agoImport data type in UI 42/132842/19
franciscovila [Thu, 24 Nov 2022 10:29:04 +0000 (10:29 +0000)]
Import data type in UI

Develop all necessary changes in the UI to allow importing a data type from a yaml file

Issue-ID: SDC-4279
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Id413386fad8b362e8c4a1d25c859a22178189074

15 months agoFix datatype in model not found 35/133035/2
MichaelMorris [Wed, 25 Jan 2023 16:29:38 +0000 (16:29 +0000)]
Fix datatype in model not found

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4348
Change-Id: I648ffd91d719982e55d5ddc786a471f641ece088

15 months agoFix 'Property Constraint error when uprading VFC instance version in service'-bug 99/132999/2
vasraz [Fri, 20 Jan 2023 17:03:45 +0000 (17:03 +0000)]
Fix 'Property Constraint error when uprading VFC instance version in service'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I72b813073645909e37937373178b823e0ca694f9
Issue-ID: SDC-4345

15 months agoImplement hiding mechanism 97/132897/17
vasraz [Mon, 23 Jan 2023 20:10:43 +0000 (20:10 +0000)]
Implement hiding mechanism

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I799af15e31b724ca394eebe435223c03186fb6d3
Issue-ID: SDC-4344

15 months agoError creating in_range constraint for non integer properties 29/132929/5
JvD_Ericsson [Tue, 17 Jan 2023 11:13:45 +0000 (11:13 +0000)]
Error creating in_range constraint for non integer properties

Issue-ID: SDC-4334
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I5474eb29e1a8100aeb85bd96b5f6752331aa11f2

15 months agoDisable editing of normative data types 77/132977/3
MichaelMorris [Fri, 20 Jan 2023 22:31:39 +0000 (22:31 +0000)]
Disable editing of normative data types

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4341
Change-Id: Id7673624032883c641e05fd6e5e3d599f7da14df

15 months agoImprove Composition View Filtering 87/132987/2
JvD_Ericsson [Mon, 12 Dec 2022 10:52:30 +0000 (10:52 +0000)]
Improve Composition View Filtering

Issue-ID: SDC-4330
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I0a161605b722ca6db46b6a8259acc17fd8af0c02

15 months agoFix ability to add property to data type of different model 55/132955/5
JvD_Ericsson [Thu, 19 Jan 2023 14:43:33 +0000 (14:43 +0000)]
Fix ability to add property to data type of different model

Issue-ID: SDC-4339
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ibc5b57a042ffc4e7f914d46ad264a0e16081b863

15 months agoFix constraint not added when creating property 79/132979/2
JvD_Ericsson [Fri, 20 Jan 2023 10:26:17 +0000 (10:26 +0000)]
Fix constraint not added when creating property

Issue-ID: SDC-4342
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I4bc4751993b47e85a8acf31c94febee92996232a

15 months agoProvide tosca function as list primitive type entry values in composition view 26/132926/2
imamSidero [Tue, 17 Jan 2023 10:59:29 +0000 (10:59 +0000)]
Provide tosca function as list primitive type entry values in composition view

Providing the capability to add tosca function as the primitive type entry values of list in composition view

Issue-ID: SDC-4333
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: Iba1c3e72a1f30c19f4cc136f2d725b738cca47b1

15 months agoFix 'SDC be API returns HTTP 200 response code on error'-bug 34/132934/6
vasraz [Tue, 17 Jan 2023 18:59:55 +0000 (18:59 +0000)]
Fix 'SDC be API returns HTTP 200 response code on error'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I7c314a8d3aa7978d60bee8256e5a83958f2328db
Issue-ID: SDC-3505

15 months agoDownload data type from UI 23/132923/5
KrupaNagabhushan [Wed, 26 Oct 2022 16:26:54 +0000 (17:26 +0100)]
Download data type from UI

Issue-ID: SDC-4332
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: If31f7a95eb2d568e716760a33ef2641bad09cf68

15 months agoFix 'Primitive types should not be shown under data types in catalog'-bug 47/132947/3
vasraz [Wed, 18 Jan 2023 22:16:17 +0000 (22:16 +0000)]
Fix 'Primitive types should not be shown under data types in catalog'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ic20f7c5a0784c2107061f268c5c2e03ab34c13cc
Issue-ID: SDC-4338

15 months agoFix 'Data type cache not updated when data type updated'-bug 42/132942/1
vasraz [Wed, 18 Jan 2023 15:54:45 +0000 (15:54 +0000)]
Fix 'Data type cache not updated when data type updated'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I49c50cc95a2594025eab955769cc68e7e7a23acd
Issue-ID: SDC-4337

15 months agoFix datatype opens up from wrong menuItem 32/132932/2
KrupaNagabhushan [Wed, 18 Jan 2023 09:27:00 +0000 (09:27 +0000)]
Fix datatype opens up from wrong menuItem

Issue-ID: SDC-4335
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I3700c6db718edb1a125913c2a88f6063be2c5c98

15 months agoImprove test coverage 79/132879/7
vasraz [Wed, 11 Jan 2023 19:19:05 +0000 (19:19 +0000)]
Improve test coverage

 - extract duplicated code
 - remove redundant and unused code

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I7ae3592951f53bbebf10a80f7cce22d54b2940b6
Issue-ID: SDC-4317

15 months agoConstraint validation - Policy Properties in a Service 13/132913/4
KrupaNagabhushan [Wed, 11 Jan 2023 18:41:05 +0000 (18:41 +0000)]
Constraint validation - Policy Properties in a Service

Issue-ID: SDC-4320
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I5f04b630f89b96d7a662fbab8894961670502f52

15 months agoProvide tosca function as map primitive type entry values in composition view 03/132903/3
imamSidero [Wed, 11 Jan 2023 18:13:25 +0000 (18:13 +0000)]
Provide tosca function as map primitive type entry values in composition view

Providing the capability to add tosca function as the primitive type entry values of map in composition view

Issue-ID: SDC-4319
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I5cf67bc94ac5c72be6a962e07160329cd07d302c

15 months agoFix resource property constraint values mutable in Service design 96/132596/3
JvD_Ericsson [Tue, 6 Dec 2022 11:40:17 +0000 (11:40 +0000)]
Fix resource property constraint values mutable in Service design

Issue-ID: SDC-4290
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ica942b7a8bb1f03cbf6baec709135287e31def06

15 months agoBug fix for list of map values in properties 66/132866/2
imamSidero [Wed, 4 Jan 2023 15:16:31 +0000 (15:16 +0000)]
Bug fix for list of map values in properties

Fixed list of map values in properties assignment page

Issue-ID: SDC-4315
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I3d4fcc11327bbc38d1ec24a06ca45aedcfb47ce1

15 months agoUpdate openapi files in the docs 04/132704/7
Fiete Ostkamp [Tue, 13 Dec 2022 21:05:47 +0000 (21:05 +0000)]
Update openapi files in the docs

- add yaml versions of the spec to the offered apis section
- rename swagger files to openapi

Issue-ID: SDC-4308

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ie34e562ccf294c8d9f19d3cad30a5a626c3db0ba

15 months agoProvide tosca function to custom datatypes of list and map 23/132823/5
imamSidero [Wed, 21 Dec 2022 17:51:43 +0000 (17:51 +0000)]
Provide tosca function to custom datatypes of list and map

Providing the capability to add tosca function as the custom datatypes of list and map

Issue-ID: SDC-4311
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I7ec8943d8008440b091fc4eaa2aba49cdadcda8d

15 months agoUpgrade testing frameworks to latest not-vulnerable versions 35/132835/8
vasraz [Sat, 24 Dec 2022 00:57:54 +0000 (00:57 +0000)]
Upgrade testing frameworks to latest not-vulnerable versions

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ie68290a79d075132c73e6cc9e82b9dbda92fbe8c
Issue-ID: SDC-4313

15 months agoImprove message for constraints different errors 46/132746/15
vasraz [Thu, 15 Dec 2022 12:55:10 +0000 (12:55 +0000)]
Improve message for constraints different errors

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I8babb10de4f0f25a49998fda077a7bb2554f86ba
Issue-ID: SDC-4305

15 months agoFix 'NPE thrown in editing constraints'-bug 34/132834/4
vasraz [Fri, 23 Dec 2022 16:56:21 +0000 (16:56 +0000)]
Fix 'NPE thrown in editing constraints'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ibbd8a3baa2a2bfdbd6e2c235db5a1d59875f3e6e
Issue-ID: SDC-4312

15 months agoFix 'Artifact type CONTROLLER_BLUEPRINT_ARCHIVE is not recognized based on its type... 06/132806/8
vasraz [Mon, 19 Dec 2022 18:29:41 +0000 (18:29 +0000)]
Fix 'Artifact type CONTROLLER_BLUEPRINT_ARCHIVE is not recognized based on its type'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Iab23331c5eb2e8ff5526a877adab8babbadd86d9
Issue-ID: SDC-3216

16 months agoFix broken build 40/132840/2
vasraz [Wed, 28 Dec 2022 12:24:21 +0000 (12:24 +0000)]
Fix broken build

Use fixed version of bundler (2.3.26)

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I0e62db76e00b9b8932eca4a700db9c89e7e31c17
Issue-ID: SDC-4314

16 months agoMultitenancy in SDC 71/132171/9
Kartik Hegde [Sat, 12 Nov 2022 08:59:11 +0000 (14:29 +0530)]
Multitenancy in SDC

Issue-ID: SDC-4215
Change-Id: Ie24ba38acc9f1998d4a7e722e8f98456dab9201d
Signed-off-by: Kartik Hegde <kh00735564@techmahindra.com>
16 months agoAdd support comparable type constraints for scalar values 76/132676/10
vasraz [Fri, 9 Dec 2022 12:36:05 +0000 (12:36 +0000)]
Add support comparable type constraints for scalar values

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I57234399f23721506d308dfb8351067845ebe892
Issue-ID: SDC-4305

16 months agoProvide tosca function to List entries 80/132580/10
imamSidero [Mon, 5 Dec 2022 14:13:39 +0000 (14:13 +0000)]
Provide tosca function to List entries

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

16 months agoFix 'Tosca List Entry Schema failed to be recoginized with creating VSP'-bug 27/132727/4
vasraz [Thu, 15 Dec 2022 10:12:06 +0000 (10:12 +0000)]
Fix 'Tosca List Entry Schema failed to be recoginized with creating VSP'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id33f7eff96b06a1cfb5e3e5d967b4e17da14a9a8
Issue-ID: SDC-2851

16 months agoFix 'Adding property to VF/Service throws js-exception'-bug 78/132778/1
vasraz [Thu, 15 Dec 2022 18:40:59 +0000 (18:40 +0000)]
Fix 'Adding property to VF/Service throws js-exception'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I81009a79715f1719862e406e88be008294f94e37
Issue-ID: SDC-4310

16 months agoAdd link to Swagger UI in Readme & Redirect root 10/132710/3
eschcam [Wed, 14 Dec 2022 11:34:25 +0000 (11:34 +0000)]
Add link to Swagger UI in Readme & Redirect root

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

16 months agoFix 'Not possible to set value on a VFC property with constraint'-bug 85/132685/2
vasraz [Tue, 13 Dec 2022 11:28:49 +0000 (11:28 +0000)]
Fix 'Not possible to set value on a VFC property with constraint'-bug

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I04cae965de75037b36003a9fb6d5be579b39626f
Issue-ID: SDC-4307

16 months agoFix bug 'Pattern constraint validation failure' 19/132619/4
vasraz [Mon, 12 Dec 2022 15:18:18 +0000 (15:18 +0000)]
Fix bug 'Pattern constraint validation failure'

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: If7c59aa37db974c57195775f963c8400cf474a51
Issue-ID: SDC-4294

16 months agoSome default responses in the generated openapi files are missing descriptions 82/132682/2
Fiete Ostkamp [Mon, 12 Dec 2022 19:11:39 +0000 (19:11 +0000)]
Some default responses in the generated openapi files are missing descriptions

- 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

16 months agoUpdate INFO.yaml 72/132672/2
MichaelMorris [Mon, 12 Dec 2022 11:45:13 +0000 (11:45 +0000)]
Update INFO.yaml

Removed AndrĂ© Schmid as he has stepped down as committer

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4304
Change-Id: I552463d4790e0ab433d7f01bb088805537553028

16 months agoAdd support for comparable type constraints for strings 25/132625/2
vasraz [Wed, 7 Dec 2022 17:05:26 +0000 (17:05 +0000)]
Add support for comparable type constraints for strings

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I3b52c720968ab8333fa2ec81b13c3d0e7b2f4316
Issue-ID: SDC-4299

16 months agoFix catalog-be docker build error 51/132651/4
eschcam [Fri, 9 Dec 2022 10:28:58 +0000 (10:28 +0000)]
Fix catalog-be docker build error

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

16 months agoFix bug 'Import VFC with constraint PATTERN ignores constraint' 98/132598/4
vasraz [Tue, 6 Dec 2022 16:36:53 +0000 (16:36 +0000)]
Fix bug 'Import VFC with constraint PATTERN ignores constraint'

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I9e390a7978fd6e0d60b55c2b4ebc7fb3ea99a562
Issue-ID: SDC-4291

16 months agoAdd missing 'scalar-unit.bitrate' to UI 41/132641/2
vasraz [Thu, 8 Dec 2022 16:01:10 +0000 (16:01 +0000)]
Add missing 'scalar-unit.bitrate' to UI

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ie892adb84ef37ad6ace0becf7d09ff204c95ed10
Issue-ID: SDC-4300

16 months agoAdd missing 'scalar-unit.bitrate' data type 38/132638/3
vasraz [Thu, 8 Dec 2022 14:27:23 +0000 (14:27 +0000)]
Add missing 'scalar-unit.bitrate' data type

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I33faf90f04667ef2b8a334dfba39fe256a21c223
Issue-ID: SDC-4300

16 months agoFix NPE when checking out service 56/132656/1
MichaelMorris [Fri, 9 Dec 2022 15:32:47 +0000 (15:32 +0000)]
Fix NPE when checking out service

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4303
Change-Id: I512f3502ff2451749c2fbc590d08c3a10b3bef79

16 months agoFix in_range constraint validation gives unhelpful error message 20/132620/1
JvD_Ericsson [Wed, 7 Dec 2022 13:19:37 +0000 (13:19 +0000)]
Fix in_range constraint validation gives unhelpful error message

Issue-ID: SDC-4293
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: If31fb515987c2e6c040e4fbf1d00ca4f669ed525

16 months agoFix substitution filter: type validation not working during add 53/132553/2
JvD_Ericsson [Thu, 1 Dec 2022 13:44:27 +0000 (13:44 +0000)]
Fix substitution filter: type validation not working during add

Issue-ID: SDC-4283
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I543513015d9e3b2c06e48f5d27848be676aa0b9b

16 months agoFix constraint not displayed when cycling through properties 73/132573/2
JvD_Ericsson [Fri, 2 Dec 2022 15:34:23 +0000 (15:34 +0000)]
Fix constraint not displayed when cycling through properties

Issue-ID: SDC-4286
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I8346fe8bd001adf89516c5d5ea886c11b4283b4d

16 months agoFix broken build 82/132582/2
vasraz [Mon, 5 Dec 2022 16:40:30 +0000 (16:40 +0000)]
Fix broken build

Install 'etc' specific version (1.3.0)

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I5e3194a87b6dbb0b5d64e536820693fcbfb4005e
Issue-ID: SDC-4289

16 months agoProvide tosca function to map values 09/132209/6
imamSidero [Tue, 15 Nov 2022 10:18:16 +0000 (10:18 +0000)]
Provide tosca function to map values

Providing the capability to add tosca function as the map values against it's key

Issue-ID: SDC-4264
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: Ieaa49f9ac18b848bfd3996e9c6e08f9b4a32b999

16 months ago[SDC] Add Kafka reference to Documentation 44/132544/2
david.mcweeney [Wed, 30 Nov 2022 16:14:07 +0000 (16:14 +0000)]
[SDC] Add Kafka reference to Documentation

Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Change-Id: Ia364144ef803dea1f3a203e30639144809ec61e1
Issue-ID: DMAAP-1787

16 months agoFix numeric constraint values generated as strings 80/132380/7
JvD_Ericsson [Mon, 21 Nov 2022 09:55:26 +0000 (09:55 +0000)]
Fix numeric constraint values generated as strings

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

17 months agoOpen Data type from Catalog 52/131552/9
KrupaNagabhushan [Mon, 17 Oct 2022 15:40:21 +0000 (16:40 +0100)]
Open Data type from Catalog

Issue-ID: SDC-4221
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I3ad6a1f26abbcffe13044b8fc12828f255bc4f48

17 months agoSupport addition of pattern constraint 77/132177/8
JvD_Ericsson [Mon, 14 Nov 2022 11:33:20 +0000 (11:33 +0000)]
Support addition of pattern constraint

Issue-ID: SDC-4260
Change-Id: I2eccf88472c144d8f595a9d8ec028705e924fd67
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
17 months agoView data types in UI catalog 50/131550/6
KrupaNagabhushan [Fri, 23 Sep 2022 09:17:29 +0000 (10:17 +0100)]
View data types in UI catalog

Issue-ID: SDC-4220
Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech>
Change-Id: I880c7fedb58eafc7524fc6833b9b5d02f3b7d523

17 months agoAdd SonarCloud badges to README 78/132378/2
eschcam [Tue, 22 Nov 2022 10:25:55 +0000 (10:25 +0000)]
Add SonarCloud badges to README

Issue-ID: SDC-4275
Change-Id: I72173a955b4297804e20aee55442e625c94992ef
Signed-off-by: eschcam <cameron.scholes@est.tech>
17 months agoSupport addition of scalar type constraints 05/131605/14
JvD_Ericsson [Thu, 27 Oct 2022 11:47:28 +0000 (12:47 +0100)]
Support addition of scalar type constraints

this also supports the addition of
the in_range and the valid_values constraints,
and supports delete and editing of current and
added constraints

Issue-ID: SDC-4223
Change-Id: I5ffb4d17d9f8c2730f650153fb4ff89eccfdd474
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
17 months agoFix empty interfaces and operations 97/132497/1
MichaelMorris [Mon, 28 Nov 2022 15:23:52 +0000 (15:23 +0000)]
Fix empty interfaces and operations

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4281
Change-Id: I53bd54fea0aca3540dafebc9360fd305dd56128d

17 months agoFix SDC-simulator not logging to STDOUT 18/132318/3
vasraz [Sat, 19 Nov 2022 12:34:03 +0000 (12:34 +0000)]
Fix SDC-simulator not logging to STDOUT

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id9b707ea1c626eb11f967ec2894b1531f3b658ca
Issue-ID: SDC-4271

17 months agoFix SDC-ONBOARDING-BE not logging to STDOUT 17/132317/3
vasraz [Sat, 19 Nov 2022 12:30:55 +0000 (12:30 +0000)]
Fix SDC-ONBOARDING-BE not logging to STDOUT

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Icb81b67f199e3927edaf3bfcee8178724245c804
Issue-ID: SDC-3536

17 months agoFix issues while importing a Service 53/132253/2
vasraz [Fri, 25 Nov 2022 12:48:58 +0000 (12:48 +0000)]
Fix issues while importing a Service

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>
17 months agoImplement create data type property 36/132136/8
andre.schmid [Wed, 12 Oct 2022 17:14:23 +0000 (18:14 +0100)]
Implement create data type property

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>
17 months agoAdded null checks in EcompIntImpl 60/132260/7
eschcam [Mon, 21 Nov 2022 11:54:07 +0000 (11:54 +0000)]
Added null checks in EcompIntImpl

Added missing null checks in EcompIntImpl.

Issue-ID: SDC-4267
Change-Id: I9531e000213b3e2798a5f3e1cb4e6ed8103a02c8
Signed-off-by: eschcam <cameron.scholes@est.tech>
17 months agoFix changing property in node filter issue 10/132110/2
JvD_Ericsson [Mon, 7 Nov 2022 12:32:05 +0000 (12:32 +0000)]
Fix changing property in node filter issue

Changing from a non collection property to a collection property
casused the "Add value to list" button to not appear

Issue-ID: SDC-4253
Change-Id: I74df0b706c1b7bd7edd57bd05c3043e8c2dd2d1d
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
17 months agoFix property constraints validation 91/131791/6
franciscovila [Tue, 18 Oct 2022 15:02:02 +0000 (16:02 +0100)]
Fix property constraints validation

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

17 months agoAdded null check in ExternalTestingManagerImpl 08/132308/4
eschcam [Fri, 18 Nov 2022 12:02:27 +0000 (12:02 +0000)]
Added null check in ExternalTestingManagerImpl

Added missing null checks in ExternalTestingManagerImpl.

Issue-ID: SDC-4269
Change-Id: Ic66f30ab7d78014ad7311ce53c03498168909a61
Signed-off-by: eschcam <cameron.scholes@est.tech>
17 months agoFix SDC-FE not logging to STDOUT 14/132314/2
MichaelMorris [Thu, 17 Nov 2022 23:21:13 +0000 (15:21 -0800)]
Fix SDC-FE not logging to STDOUT

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3535
Change-Id: I4191e71132fada9bb63e12521e39072b462ff97a

17 months agoFix SDC-BE not logging to STDOUT 03/132303/1
MichaelMorris [Thu, 17 Nov 2022 22:55:16 +0000 (14:55 -0800)]
Fix SDC-BE not logging to STDOUT

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-3534
Change-Id: Ia3e20b7f43ece61cf28038d59af51264db2b7dec

17 months agoFix wrong Model during import VSP 61/132261/2
vasraz [Tue, 15 Nov 2022 19:31:40 +0000 (19:31 +0000)]
Fix wrong Model during import VSP

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I0cea47f26f5fe3e38b54c94e05dec8649ad58159
Issue-ID: SDC-4268

17 months agoCreate UI Component for viewing property constraints 95/131495/13
JvD_Ericsson [Thu, 13 Oct 2022 18:13:37 +0000 (19:13 +0100)]
Create UI Component for viewing property constraints

Issue-ID: SDC-4219
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ia0e40e2ed2fd954749a74ce307f1474380f9ad71

17 months agofix ribbon.css 81/132281/2
thmsdt [Thu, 17 Nov 2022 10:07:19 +0000 (11:07 +0100)]
fix ribbon.css

Issue-ID: DOC-798

Signed-off-by: thmsdt <thomas.kulik@telekom.de>
Change-Id: I80bb15ba3d50c4b48ea7f9fb6196272e9cd6d173

17 months agoIssues with 'range' data type detected 37/131937/8
franciscovila [Tue, 1 Nov 2022 14:21:27 +0000 (14:21 +0000)]
Issues with 'range' data type detected

Fix issues with range data type

Issue-ID: SDC-4243
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Ie93f8c38b766d78f890dbe2b854a096bb8546fe8

17 months agoFix null check for propertiesName 20/132220/2
eschcam [Tue, 15 Nov 2022 14:57:13 +0000 (14:57 +0000)]
Fix null check for propertiesName

Fixed null check for propertiesName in DefaultPropertyDeclarator

Issue-ID: SDC-4265
Change-Id: I1c23c2a1344948973c75a2af8e38aaa94346355c
Signed-off-by: eschcam <cameron.scholes@est.tech>
17 months agoFix formatting of Catalog-UI Readme 96/132196/2
eschcam [Mon, 14 Nov 2022 17:05:55 +0000 (17:05 +0000)]
Fix formatting of Catalog-UI Readme

Made formatting adjustment to the README.md file inside the Catalog-UI project folder

Issue-ID: SDC-4261
Change-Id: Ic844443baa9802889d714329da5ae38377a8b76e
Signed-off-by: eschcam <cameron.scholes@est.tech>
17 months agoRemove interfaces from VNF node types in NSD 34/132134/2
MichaelMorris [Thu, 10 Nov 2022 08:10:38 +0000 (08:10 +0000)]
Remove interfaces from VNF node types in NSD

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4259
Change-Id: I27e25513afa732265114dc4341fdbd1342125770

17 months agoRemove 'Powered by Jetty' from default jetty response 41/132041/6
vasraz [Tue, 8 Nov 2022 20:03:55 +0000 (20:03 +0000)]
Remove 'Powered by Jetty' from default jetty response

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I927d1a935a0b0e224f7e5b35d86ac737d16f2774
Issue-ID: SDC-4254

17 months agoFix doc configuration on master branch 18/132118/8
MichaelMorris [Tue, 8 Nov 2022 14:14:18 +0000 (14:14 +0000)]
Fix doc configuration on master branch

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4242
Change-Id: Iae21bb2ea386a78d53fd188121e83ab9ddba1bff

17 months agoInterface is formatted using extended notation when no implementation added at VFC... 42/132042/5
vasraz [Mon, 7 Nov 2022 22:10:37 +0000 (22:10 +0000)]
Interface is formatted using extended notation when no implementation added at VFC level

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I4e6e6d61b851fe2efaa47c9f8fad0cb546f2fcb7
Issue-ID: SDC-4255

17 months agoImprove error reporting when onboarding a VSP and storage is full 45/132045/1
vasraz [Tue, 8 Nov 2022 12:22:43 +0000 (12:22 +0000)]
Improve error reporting when onboarding a VSP and storage is full

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id349e26c48b9047ab746aa90e8ad88e0296a8b6f
Issue-ID: SDC-4256

17 months agoSupport Tosca Function For Operation Implmentation Properties 83/131083/6
JvD_Ericsson [Fri, 9 Sep 2022 14:25:52 +0000 (15:25 +0100)]
Support Tosca Function For Operation Implmentation Properties

Issue-ID: SDC-4170
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ie90626e11885e522fba91e7604c0ed15cc0c7d3a

17 months agoFix for boolean default value exported as String 04/131904/2
imamSidero [Fri, 28 Oct 2022 14:15:57 +0000 (15:15 +0100)]
Fix for boolean default value exported as String

Exporting all primitive type as expected types for complex type default values in tosca export

Issue-ID: SDC-4237
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I0dc7009922dc0ada5b946e2fcd0b96b495fa9b62

18 months agoStep version to 1.12.1 12/131912/1
MichaelMorris [Fri, 28 Oct 2022 23:40:06 +0000 (00:40 +0100)]
Step version to 1.12.1

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4238
Change-Id: I3797ce38210c4c2ecd00e4a6ab3d7fd846f97aa0

18 months agoRelease SDC 1.12.0 11/131911/1
MichaelMorris [Fri, 28 Oct 2022 23:35:10 +0000 (00:35 +0100)]
Release SDC 1.12.0

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4238
Change-Id: I4b982833776ffe1d423d37f1e97602fbe00abf6e

18 months agoUpdated release notes for 1.12.0 97/131897/3 1.12.0
MichaelMorris [Fri, 28 Oct 2022 12:46:55 +0000 (13:46 +0100)]
Updated release notes for 1.12.0

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4238
Change-Id: Ieb2cafbae5f37c05109d9924e73df6e68e201bd0

18 months agoRemove temp file if Minio-upload failed 77/131877/2
vasraz [Wed, 26 Oct 2022 13:00:08 +0000 (14:00 +0100)]
Remove temp file if Minio-upload failed

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Ib30f2b4643974c838d003db39c616fa82021cc6e
Issue-ID: SDC-4232

18 months agoFix potential NPE in importing property constraints 17/131817/5
vasraz [Wed, 26 Oct 2022 08:34:53 +0000 (09:34 +0100)]
Fix potential NPE in importing property constraints

Fix potential NPE introduced by https://gerrit.onap.org/r/c/sdc/+/131472

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I10a6f40e5a36c7a1eb33ed6a24ad3a2356672a64
Issue-ID: SDC-4231

18 months agoUpdate link to architecture description 33/131833/2
MichaelMorris [Wed, 26 Oct 2022 16:25:56 +0000 (17:25 +0100)]
Update link to architecture description

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4202
Change-Id: Ie3fe432921c7ad373d463769b67e8a3ecc278906

18 months agoFix import policy issues 99/131599/5
MichaelMorris [Wed, 19 Oct 2022 17:37:01 +0000 (18:37 +0100)]
Fix import policy issues

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

18 months agoFix Critical bug reported by Sonar 78/131778/3
vasraz [Mon, 24 Oct 2022 19:45:57 +0000 (20:45 +0100)]
Fix Critical bug reported by Sonar

Fixes malformed 'calc' expressions reported as critical bug by Sonar Cloud

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: Id31765c7b58701cc448b7c4b192db2986090ed79
Issue-ID: SDC-4230

18 months agoFix import service with concat function values 04/131604/4
MichaelMorris [Thu, 20 Oct 2022 13:16:56 +0000 (14:16 +0100)]
Fix import service with concat function values

Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4225
Change-Id: Iefc402c5dd6338e5bb13a3d425363e777fbbec04

18 months agoConstraint validation - Node Template Interfaces 00/131400/9
franciscovila [Fri, 7 Oct 2022 10:52:30 +0000 (11:52 +0100)]
Constraint validation - Node Template Interfaces

Validate constraints in node template interfaces

Issue-ID: SDC-4207
Signed-off-by: franciscovila <javier.paradela.vila@est.tech>
Change-Id: Ibe4a55342067942a2a29f540c896ecc39811220f

18 months agoAdd default baseType to the substitution type 68/131768/2
imamSidero [Mon, 24 Oct 2022 16:20:46 +0000 (17:20 +0100)]
Add default baseType to the substitution type

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

18 months ago[SDC] Add kafka native messaging 67/131367/16
david.mcweeney [Tue, 4 Oct 2022 14:46:14 +0000 (15:46 +0100)]
[SDC] Add kafka native messaging

Change-Id: I5ab8f580947cbc264d94bec48a5e8b659dc44c08
Issue-ID: DMAAP-1787
Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
18 months agoUpgrade vulnerable package 'org.apache.commons:commons-text' 58/131758/3
vasraz [Mon, 24 Oct 2022 12:09:26 +0000 (13:09 +0100)]
Upgrade vulnerable package 'org.apache.commons:commons-text'

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I65706c71e33cdb3cb5d1269a52c50db4d0dc3496
Issue-ID: SDC-4228