sdc.git
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years agoSupport TOSCA functions in sub properties 97/130597/5
MichaelMorris [Fri, 26 Aug 2022 10:00:03 +0000 (11:00 +0100)]
Support TOSCA functions in sub properties

Change-Id: Ibfd95c928bbb10089cfc9749ae4e7b05270e3d68
Issue-ID: SDC-4151
Signed-off-by: MichaelMorris <michael.morris@est.tech>
2 years agoFix NPE for no inputs on instance operation 20/130720/2
MichaelMorris [Fri, 26 Aug 2022 15:56:59 +0000 (16:56 +0100)]
Fix NPE for no inputs on instance operation

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

2 years agoSupport import of updated node types 93/130293/18
JvD_Ericsson [Mon, 15 Aug 2022 12:40:19 +0000 (13:40 +0100)]
Support import of updated node types

Support addition of new properties

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

2 years agoUpdate SDC with new 'security-util-lib' version 55/130755/1
vasraz [Tue, 6 Sep 2022 12:08:14 +0000 (13:08 +0100)]
Update SDC with new 'security-util-lib' version

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

2 years agoAllow to select properties in the get_attribute function 21/130521/8
vasraz [Tue, 30 Aug 2022 17:17:21 +0000 (18:17 +0100)]
Allow to select properties in the get_attribute function

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

2 years agoSupport updated data types in service import 20/130420/8
MichaelMorris [Fri, 19 Aug 2022 08:36:41 +0000 (09:36 +0100)]
Support updated data types in service import

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

2 years agoService-import sub import path fixed 23/130523/3
imamSidero [Tue, 30 Aug 2022 18:10:31 +0000 (19:10 +0100)]
Service-import sub import path fixed

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

2 years agoForce py3.8 in tox.ini 79/130579/2
Cédric Ollivier [Wed, 31 Aug 2022 20:18:30 +0000 (22:18 +0200)]
Force py3.8 in tox.ini

It allows leveraging on OpenStack Yoga's upper-contraints
without any exception.

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: If3b98bd92299030df373fd3ae00f16300424b337

2 years agoService Import - general page validation 86/130386/4
KrupaNagabhushan [Fri, 19 Aug 2022 10:37:17 +0000 (11:37 +0100)]
Service Import - general page validation

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

2 years agoFix 'Wrong Inputs creation on (Add Service)' 38/130338/12
vasraz [Mon, 22 Aug 2022 18:43:16 +0000 (19:43 +0100)]
Fix 'Wrong Inputs creation on (Add Service)'

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

2 years agoFix error adding category through UI 59/130459/1
MichaelMorris [Fri, 26 Aug 2022 14:47:40 +0000 (15:47 +0100)]
Fix error adding category through UI

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

2 years agoImprove error's message readability 37/130437/2
vasraz [Wed, 24 Aug 2022 14:11:51 +0000 (15:11 +0100)]
Improve error's message readability

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

2 years agoRemove vulnerable dependency 99/130399/3
vasraz [Sat, 20 Aug 2022 17:12:07 +0000 (18:12 +0100)]
Remove vulnerable dependency

Remove/update org.apache.tinkerpop:gremlin-core

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

2 years agoFix use of encrypted user in backend 13/130413/2
MichaelMorris [Mon, 22 Aug 2022 10:05:42 +0000 (11:05 +0100)]
Fix use of encrypted user in backend

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

2 years agoFix broken chef/berkshelf install in docker images 98/130398/2
vasraz [Sat, 20 Aug 2022 09:13:09 +0000 (10:13 +0100)]
Fix broken chef/berkshelf install in docker images

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

2 years agoFix wrongly generated tosca implementation 82/130282/4
KrupaNagabhushan [Mon, 15 Aug 2022 14:23:47 +0000 (15:23 +0100)]
Fix wrongly generated tosca implementation

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

2 years agoSupport Inputs during Import Service 46/130046/14
vasraz [Wed, 27 Jul 2022 10:44:52 +0000 (11:44 +0100)]
Support Inputs during Import Service

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

2 years agoRemove vulnerable dependency 91/130291/2
vasraz [Tue, 16 Aug 2022 09:11:06 +0000 (10:11 +0100)]
Remove vulnerable dependency

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

2 years agoAllow ETSI VNF without other node template 52/130352/2
MichaelMorris [Wed, 17 Aug 2022 13:49:28 +0000 (14:49 +0100)]
Allow ETSI VNF without other node template

With 'other' meaning not the node template for the VNF node type

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

2 years agoUpdate SDC version to 1.11.8-SNAPSHOT 90/130290/2
MichaelMorris [Mon, 15 Aug 2022 14:19:20 +0000 (15:19 +0100)]
Update SDC version to 1.11.8-SNAPSHOT

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

2 years agoFix error handling for instances with no properties 84/130284/2
KrupaNagabhushan [Mon, 15 Aug 2022 16:06:15 +0000 (17:06 +0100)]
Fix error handling for instances with no properties

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

2 years agoFix ClassCastException in import 85/130285/1
MichaelMorris [Mon, 15 Aug 2022 16:14:13 +0000 (17:14 +0100)]
Fix ClassCastException in import

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

2 years agoRelease 1.11.7 81/130281/1
MichaelMorris [Mon, 15 Aug 2022 12:45:47 +0000 (13:45 +0100)]
Release 1.11.7

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

2 years agoStep version to 1.11.7-SNAPSHOT 78/130278/2 1.11.7
MichaelMorris [Mon, 15 Aug 2022 09:45:48 +0000 (10:45 +0100)]
Step version to 1.11.7-SNAPSHOT

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