sdc.git
17 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

18 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>
18 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>
18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 months agoSupport import of VFCs with property constraints 72/131472/3
MichaelMorris [Thu, 13 Oct 2022 13:12:47 +0000 (14:12 +0100)]
Support import of VFCs with property constraints

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

18 months agoConstraint validation for instance attributes in a service 22/131422/3
imamSidero [Tue, 11 Oct 2022 08:56:47 +0000 (09:56 +0100)]
Constraint validation for instance attributes in a service

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

18 months agoFix import service with component inst interfaces 48/131748/1
MichaelMorris [Fri, 21 Oct 2022 12:00:36 +0000 (13:00 +0100)]
Fix import service with component inst interfaces

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

18 months agoFix security risk 'Improper Input Validation' 78/131478/7
vasraz [Fri, 14 Oct 2022 12:35:39 +0000 (13:35 +0100)]
Fix security risk 'Improper Input Validation'

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

18 months agoFix serialization issue with constraints 73/131473/3
MichaelMorris [Fri, 14 Oct 2022 07:44:34 +0000 (08:44 +0100)]
Fix serialization issue with constraints

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

18 months agoIncrease character limit of VFC property name to 100 and allow @ character 25/131425/9
imamSidero [Tue, 11 Oct 2022 13:23:30 +0000 (14:23 +0100)]
Increase character limit of VFC property name to 100 and allow @ character

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

18 months agoFix cant set properties on an instance in the composion view 81/131481/2
JvD_Ericsson [Fri, 14 Oct 2022 13:27:54 +0000 (14:27 +0100)]
Fix cant set properties on an instance in the composion view

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

18 months agoAdd data type properties workspace 50/131450/4
andre.schmid [Tue, 4 Oct 2022 19:29:28 +0000 (20:29 +0100)]
Add data type properties workspace

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>
19 months agoMove DefaultExceptionMapper to be used widely 76/131476/3
vasraz [Fri, 14 Oct 2022 10:44:03 +0000 (11:44 +0100)]
Move DefaultExceptionMapper to be used widely

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

19 months agoAlign 'org.eclipse.jetty'-version (9.4.49.v20220914) 74/131474/3
vasraz [Fri, 14 Oct 2022 09:51:11 +0000 (10:51 +0100)]
Align 'org.eclipse.jetty'-version (9.4.49.v20220914)

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

19 months agoSupport import of updated node types with added attributes 01/130401/9
JvD_Ericsson [Fri, 19 Aug 2022 15:11:47 +0000 (16:11 +0100)]
Support import of updated node types with added attributes

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

19 months agoSupport viewing of VFC property details when checked in 09/131409/2
JvD_Ericsson [Wed, 5 Oct 2022 13:54:09 +0000 (14:54 +0100)]
Support viewing of VFC property details when checked in

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

19 months agoFix response of fetch data type endpoint 24/131424/3
andre.schmid [Tue, 11 Oct 2022 13:20:40 +0000 (14:20 +0100)]
Fix response of fetch data type endpoint

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>
19 months agoFix onboard-ui react-show-more-text build error 29/131429/1
andre.schmid [Tue, 11 Oct 2022 16:05:35 +0000 (17:05 +0100)]
Fix onboard-ui react-show-more-text build error

The newer version 1.6.2 of the dependency react-show-more-text is
making the onboard-ui build to fail. The caret operator in the
package.json was allowing minor changes of the lib to be applied.
Fixing the version to the 1.6.1 which still works.

Change-Id: I5776919d27b9324fc305ff9ca2b7871554cd0f8f
Issue-ID: SDC-4213
Signed-off-by: andre.schmid <andre.schmid@est.tech>
19 months agoConstraint validation for instance properties in a service 94/131194/3
imamSidero [Mon, 26 Sep 2022 14:04:33 +0000 (15:04 +0100)]
Constraint validation for instance properties in a service

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

19 months agoFix empty interface operation exception 76/131376/3
MichaelMorris [Fri, 30 Sep 2022 11:33:48 +0000 (12:33 +0100)]
Fix empty interface operation exception

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

19 months agoAdd data type view/workspace 14/131314/4
andre.schmid [Fri, 23 Sep 2022 11:31:12 +0000 (12:31 +0100)]
Add data type view/workspace

Implements a data type workspace, based on the Service/VF workspace,
where it is possible to view a data type information.

Issue-ID: SDC-4193
Signed-off-by: André Schmid <andre.schmid@est.tech>
Change-Id: Ica341efa43e70b4ac85d42d22a1397e0ab6e2794

19 months agoImplement API for fetching single data type 24/131024/19
vasraz [Mon, 3 Oct 2022 12:34:10 +0000 (13:34 +0100)]
Implement API for fetching single data type

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

19 months agoFix bug 'X-Frame-Options not configured: Lack of clickjacking protection' 39/131239/17
vasraz [Tue, 4 Oct 2022 17:16:26 +0000 (18:16 +0100)]
Fix bug 'X-Frame-Options not configured: Lack of clickjacking protection'

Add new Filter (ContentSecurityPolicyHeaderFilter)

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

19 months agoFix for VFC version update on composition window 28/131028/7
imamSidero [Tue, 20 Sep 2022 15:29:19 +0000 (16:29 +0100)]
Fix for VFC version update on composition window

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

19 months agoRemove unused code 61/131361/2
vasraz [Mon, 3 Oct 2022 20:36:15 +0000 (21:36 +0100)]
Remove unused code

clean up 'UserBusinessLogic userBusinessLogic'

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

19 months ago[KAFKA] Allow kafka params to be passed as config 19/130719/12
efiacor [Fri, 12 Aug 2022 12:14:17 +0000 (13:14 +0100)]
[KAFKA] Allow kafka params to be passed as config

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

19 months agoStepping version to 1.12.0 for start of London 30/131330/1
MichaelMorris [Thu, 29 Sep 2022 10:13:09 +0000 (11:13 +0100)]
Stepping version to 1.12.0 for start of London

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

19 months agoAdd ACM model to docs 09/131309/2
MichaelMorris [Thu, 22 Sep 2022 09:24:47 +0000 (10:24 +0100)]
Add ACM model to docs

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

19 months agoRelease SDC 1.11.9 10/131310/1
MichaelMorris [Wed, 28 Sep 2022 14:54:51 +0000 (15:54 +0100)]
Release SDC 1.11.9

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

19 months agoUpdate release notes for 1.11.9 66/131266/2 1.11.9
MichaelMorris [Wed, 28 Sep 2022 10:19:21 +0000 (11:19 +0100)]
Update release notes for 1.11.9

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

19 months agoStep version to 1.11.9-SNAPSHOT 64/131264/2
MichaelMorris [Wed, 28 Sep 2022 06:53:19 +0000 (07:53 +0100)]
Step version to 1.11.9-SNAPSHOT

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

19 months agoFix service import with capability node filters 05/131005/2
MichaelMorris [Mon, 19 Sep 2022 07:28:39 +0000 (08:28 +0100)]
Fix service import with capability node filters

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

19 months agoError in update of Component Inputs 33/131233/1
franciscovila [Tue, 27 Sep 2022 14:20:55 +0000 (15:20 +0100)]
Error in update of Component Inputs

Fix error preventing constraints validations

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

19 months agoService import - Import unknown interface types 53/131053/5
KrupaNagabhushan [Wed, 21 Sep 2022 12:21:40 +0000 (13:21 +0100)]
Service import - Import unknown interface types

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

19 months agoService import - Import unknown capability types 52/131052/6
franciscovila [Wed, 21 Sep 2022 14:39:47 +0000 (15:39 +0100)]
Service import - Import unknown capability types

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

19 months agoAdd ASD to supported csars in docs 75/131075/2
MichaelMorris [Thu, 22 Sep 2022 09:39:16 +0000 (10:39 +0100)]
Add ASD to supported csars in docs

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

19 months agoFix show add button for Req and Capabilities in VF 57/131057/2
KrupaNagabhushan [Wed, 21 Sep 2022 16:51:01 +0000 (17:51 +0100)]
Fix show add button for Req and Capabilities in VF

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

19 months agoRevert "Fix 'Wrong Inputs creation on (Add Service)'" 89/130889/4
Vasyl Razinkov [Tue, 20 Sep 2022 15:18:27 +0000 (15:18 +0000)]
Revert "Fix 'Wrong Inputs creation on (Add Service)'"

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>
19 months agoadd the mvn jetty:run command to the README, improve the formatting 07/131007/2
Fiete Ostkamp [Mon, 19 Sep 2022 10:05:12 +0000 (10:05 +0000)]
add the mvn jetty:run command to the README, improve the formatting

Issue-ID: SDC-4183

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

19 months agoHandle absence of Content-Type in Simulator 85/130985/6
andre.schmid [Fri, 16 Sep 2022 14:45:32 +0000 (15:45 +0100)]
Handle absence of Content-Type in Simulator

If no Content-Type header was provided, the simulator would throw
an exception when trying to parse a null content type.

Change-Id: Ife5caa94c166700b309f5a0b4603b45191b08425
Issue-ID: SDC-4181
Signed-off-by: andre.schmid <andre.schmid@est.tech>
19 months agoImport unknown group types during Service import 60/130860/13
vasraz [Thu, 15 Sep 2022 13:27:20 +0000 (14:27 +0100)]
Import unknown group types during Service import

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

19 months agoSupport TOSCA functions in Node Capability Filters 22/130822/8
andre.schmid [Thu, 8 Sep 2022 17:55:08 +0000 (18:55 +0100)]
Support TOSCA functions in Node Capability Filters

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>
20 months agoAdd unit test cases for UI components 39/130639/6
imamSidero [Fri, 10 Jun 2022 16:38:39 +0000 (22:08 +0530)]
Add unit test cases for UI components

Unit test cases are added for app.component, utils,
entity-filter.pipe from pipes and headers-interceptor from
http-interceptor

Signed-off-by: imam.hussain <imam.hussain@est.tech>
Issue-ID: SDC-4066
Change-Id: Iccc66f6b255ea790d6c58061d5129e4804a04457

20 months agoFix local file path in prod. onboarding ui app 61/130961/2
andre.schmid [Thu, 15 Sep 2022 15:15:13 +0000 (16:15 +0100)]
Fix local file path in prod. onboarding ui app

Local system paths were being added to the compiled production code
(punch-outs_en.js). This change removes the culprit plugin
"react-hot-loader/babel" from the babel (.babelrc) configuration.

Change-Id: I2925ec3116d59404e2a1a7534824494fcb2c303d
Issue-ID: SDC-4180
Signed-off-by: andre.schmid <andre.schmid@est.tech>
20 months agoFix broken 'Deployment dependency map' 64/130964/2
vasraz [Thu, 15 Sep 2022 22:06:37 +0000 (23:06 +0100)]
Fix broken 'Deployment dependency map'

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

20 months agoFix filtering problem for plugins config file 47/130947/2
andre.schmid [Wed, 14 Sep 2022 15:24:24 +0000 (16:24 +0100)]
Fix filtering problem for plugins config file

The plugins-configuration.yaml file, for now, does not use no maven
variable. If it is filled with the expected YAML content, the filter
option will break the execution.

Change-Id: Ibf56a3962849dc25db4e0db1f1919a50650c6f2d
Issue-ID: SDC-4179
Signed-off-by: André Schmid <andre.schmid@est.tech>
20 months agoFix types not refreshing after model change 56/130856/6
franciscovila [Thu, 15 Sep 2022 13:20:35 +0000 (14:20 +0100)]
Fix types not refreshing after model change

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

20 months agoImport unknown artifact types on Service Import 05/130705/8
imamSidero [Fri, 2 Sep 2022 14:47:46 +0000 (15:47 +0100)]
Import unknown artifact types on Service Import

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

20 months agoUpdate 'Deployment dependency map' 72/130872/5
vasraz [Tue, 13 Sep 2022 13:14:43 +0000 (14:14 +0100)]
Update 'Deployment dependency map'

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

20 months agoHandle CSAR reading errors in Service Import 17/130717/10
KrupaNagabhushan [Mon, 5 Sep 2022 05:51:13 +0000 (06:51 +0100)]
Handle CSAR reading errors in Service Import

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

20 months agoRelease 1.11.8 31/130931/1
MichaelMorris [Wed, 14 Sep 2022 12:28:31 +0000 (13:28 +0100)]
Release 1.11.8

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

20 months agoUpdate release note for 1.11.8 27/130927/2
MichaelMorris [Tue, 16 Aug 2022 09:11:46 +0000 (10:11 +0100)]
Update release note for 1.11.8

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

20 months agoFix 'Optional license in onboarding'-bug 55/130455/4
vasraz [Fri, 26 Aug 2022 12:59:23 +0000 (13:59 +0100)]
Fix 'Optional license in onboarding'-bug

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

20 months agoFix node filter API payload retro-compatibility 40/130840/4 1.11.8
andre.schmid [Fri, 9 Sep 2022 15:23:14 +0000 (16:23 +0100)]
Fix node filter API payload retro-compatibility

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>
20 months agoTemp fix to allow tosca functions in op props 17/130817/3
MichaelMorris [Thu, 8 Sep 2022 15:49:58 +0000 (16:49 +0100)]
Temp fix to allow tosca functions in op props

Temporary measure to unblock using tosca function values in operation implementation properties. To be removed when SDC-4170 is implemented

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

20 months agoImport services with sub prop tosca functions 09/130809/3
MichaelMorris [Wed, 7 Sep 2022 14:28:21 +0000 (15:28 +0100)]
Import services with sub prop tosca functions

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

20 months agoSupport TOSCA functions in Node Filters 68/130268/20
andre.schmid [Wed, 10 Aug 2022 13:50:08 +0000 (14:50 +0100)]
Support TOSCA functions in Node Filters

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>
20 months agoSupport import service with yaml tosca function 61/130761/5
MichaelMorris [Mon, 5 Sep 2022 17:30:04 +0000 (18:30 +0100)]
Support import service with yaml tosca function

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

20 months agoFix high-severity bug 'application exposed to path traversal attack' 91/130791/2
vasraz [Wed, 7 Sep 2022 17:45:20 +0000 (18:45 +0100)]
Fix high-severity bug 'application exposed to path traversal attack'

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

20 months agoImport VFC not importing interfaces 97/130297/3
franciscovila [Tue, 16 Aug 2022 12:00:48 +0000 (13:00 +0100)]
Import VFC not importing interfaces

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

20 months agoRemove vulnerable dependencies 90/130790/1
vasraz [Wed, 7 Sep 2022 17:21:24 +0000 (18:21 +0100)]
Remove vulnerable dependencies

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