sdc.git
2 years agoSort properties in node filter modal 05/133505/2
shikha0203 [Wed, 1 Mar 2023 15:15:03 +0000 (15:15 +0000)]
Sort properties in node filter modal

Issue-ID: SDC-4422
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: I1708091e4bf046e279fe1b675954e1ab367975c9

2 years agoPortalRestApiCentralServiceImpl- Add null test before using nullable values 33/133433/3
shikha0203 [Mon, 27 Feb 2023 17:21:44 +0000 (17:21 +0000)]
PortalRestApiCentralServiceImpl- Add null test before using nullable values

Issue-ID: SDC-4415
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: I4fa7db7e6def7448fe3ae81923d83a6ec325bf3f

2 years agoOperation implementation name not formatting correctly 81/133481/1
JvD_Ericsson [Tue, 28 Feb 2023 16:19:36 +0000 (16:19 +0000)]
Operation implementation name not formatting correctly

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

2 years agoAdd validation for int and float constraints 78/132878/11
eschcam [Fri, 6 Jan 2023 12:17:56 +0000 (12:17 +0000)]
Add validation for int and float constraints

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

2 years agoRemove 'Security Hotspot - Weak Cryptography' reported by Sonar 75/133175/2
vasraz [Tue, 7 Feb 2023 15:21:44 +0000 (15:21 +0000)]
Remove 'Security Hotspot - Weak Cryptography' reported by Sonar

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

2 years agoRelease SDC 1.12.2 26/133426/2
MichaelMorris [Mon, 27 Feb 2023 10:56:28 +0000 (10:56 +0000)]
Release SDC 1.12.2

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

2 years agoTranslationService- Add null test before using nullable values 92/133392/3
shikha0203 [Wed, 22 Feb 2023 15:48:48 +0000 (15:48 +0000)]
TranslationService- Add null test before using nullable values

Issue-ID: SDC-4414
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: I7b80df4c650af677fb194d04dc6013adff08473b

2 years agoUpdate release notes for 1.12.2 07/133407/5 1.12.2
MichaelMorris [Thu, 2 Feb 2023 10:17:04 +0000 (10:17 +0000)]
Update release notes for 1.12.2

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

2 years agoType list of floats not generated correctly in tosca 10/133410/3
JvD_Ericsson [Fri, 24 Feb 2023 15:37:56 +0000 (15:37 +0000)]
Type list of floats not generated correctly in tosca

types of list/map and sub types of int/float were generated
as strings in tosca instead of numbers

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

2 years agoFix handling of default values for VFC properties 82/133182/7
eschcam [Tue, 7 Feb 2023 17:27:13 +0000 (17:27 +0000)]
Fix handling of default values for VFC properties

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

2 years agoFix valid values for list and map 85/133385/3
MichaelMorris [Wed, 22 Feb 2023 14:33:47 +0000 (14:33 +0000)]
Fix valid values for list and map

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

2 years agoFix cannot view archived components on UI 98/133398/1
JvD_Ericsson [Thu, 23 Feb 2023 11:28:41 +0000 (11:28 +0000)]
Fix cannot view archived components on UI

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

2 years agoFix compilation error when building 86/133386/2
JvD_Ericsson [Wed, 22 Feb 2023 15:16:40 +0000 (15:16 +0000)]
Fix compilation error when building

isPropertyNotMappedAsInput function renamed to isValueAToscaFunction

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

2 years agoFix error validation equals constraint 40/133340/3
MichaelMorris [Fri, 17 Feb 2023 16:55:53 +0000 (16:55 +0000)]
Fix error validation equals constraint

Error thrown when validating value for list property with an equal constraint, even when valid valid is given

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

2 years agoSupport delete non-normative data types 71/133371/3
JvD_Ericsson [Tue, 21 Feb 2023 14:07:50 +0000 (14:07 +0000)]
Support delete non-normative data types

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

2 years agoFix constraint validation for yaml values 37/133337/3
MichaelMorris [Fri, 17 Feb 2023 17:10:51 +0000 (17:10 +0000)]
Fix constraint validation for yaml values

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

2 years agoFix incorrect behaviour for list valid_values 17/133317/4
MichaelMorris [Fri, 17 Feb 2023 13:05:37 +0000 (13:05 +0000)]
Fix incorrect behaviour for list valid_values

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

2 years agoFix NotificationWebsocketHandler- Add null test before using nullable values 69/133369/3
shikha0203 [Tue, 21 Feb 2023 13:56:55 +0000 (13:56 +0000)]
Fix NotificationWebsocketHandler- Add null test before using nullable values

Issue-ID: SDC-4408
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: I06d386c1e4234351461f792354091b6f1c472010

2 years agoDisable editing the name of existing attributes 09/133109/11
eschcam [Wed, 1 Feb 2023 12:17:18 +0000 (12:17 +0000)]
Disable editing the name of existing attributes

Also added a patch to fix an exception been thrown
when editing existing attributes

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

2 years agoFix issue on adding values to complex properties in Property Assignment 20/133320/3
imamSidero [Fri, 17 Feb 2023 17:03:38 +0000 (17:03 +0000)]
Fix issue on adding values to complex properties in Property Assignment

value field for complex types are restored and validation for the complex type is fixed

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

2 years agoUpdate INFO.yaml 55/133355/1
MichaelMorris [Tue, 21 Feb 2023 10:47:47 +0000 (10:47 +0000)]
Update INFO.yaml

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

2 years agoFix ConfigurationImpl- Add null test before using nullable values 41/133341/2
shikha0203 [Mon, 20 Feb 2023 12:05:39 +0000 (12:05 +0000)]
Fix ConfigurationImpl- Add null test before using nullable values

Issue-ID: SDC-4402
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: I38efdeffadb4627e059e7827f15dc39de6b753cd

2 years agoFix NPE when setting complex type value 42/133342/2
MichaelMorris [Mon, 20 Feb 2023 13:17:45 +0000 (13:17 +0000)]
Fix NPE when setting complex type value

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

2 years agoAbstractTemplateServlet- fix null test for "tags" 11/133311/2
shikha0203 [Fri, 17 Feb 2023 13:15:51 +0000 (13:15 +0000)]
AbstractTemplateServlet- fix null test for "tags"

Issue-ID: SDC-4397
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: Ia95e76c5ddbed740cbfbab581b0d8fdc56e90194

2 years agoAttributeServlet- Add null test before using nullable values 88/133288/1
shikha0203 [Fri, 17 Feb 2023 11:08:38 +0000 (11:08 +0000)]
AttributeServlet- Add null test before using nullable values

Issue-ID: SDC-4396
Signed-off-by: shikha0203 <shivani.khare@est.tech>
Change-Id: I41f9e072f9caa601c3a135e0d3205b9676638e8b

2 years agoSupport for copy/paste tosca functions into operation inputs 64/133264/3
JvD_Ericsson [Tue, 14 Feb 2023 11:53:07 +0000 (11:53 +0000)]
Support for copy/paste tosca functions into operation inputs

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

2 years agoBug fix for tosca function map values in property assignment page 52/133252/3
imamSidero [Tue, 14 Feb 2023 14:10:25 +0000 (14:10 +0000)]
Bug fix for tosca function map values in property assignment page

Disabled add/edit/delete operations of property when overall checkbox is checked and fixed for integer key values

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

2 years agoProvide tosca function to list of map values 09/133209/3
imamSidero [Wed, 8 Feb 2023 14:40:35 +0000 (14:40 +0000)]
Provide tosca function to list of map values

Providing the capability to add tosca function for list of map values

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

2 years agoService Import - general page validation 71/133171/2
KrupaNagabhushan [Tue, 7 Feb 2023 10:03:36 +0000 (10:03 +0000)]
Service Import - general page validation

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

2 years agoImplement option to choose 'None' for not mandatory drop-box 24/133224/2
vasraz [Fri, 10 Feb 2023 12:45:55 +0000 (12:45 +0000)]
Implement option to choose 'None' for not mandatory drop-box

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

2 years agoFix missing configuration for `ng lint` command 15/133215/2
eschcam [Thu, 9 Feb 2023 12:23:23 +0000 (12:23 +0000)]
Fix missing configuration for `ng lint` command

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

2 years agoOmit tenant metadata when not set 27/133227/2
MichaelMorris [Fri, 10 Feb 2023 13:13:29 +0000 (13:13 +0000)]
Omit tenant metadata when not set

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

2 years agoFix valid_values constraint problem 23/133223/2
MichaelMorris [Fri, 10 Feb 2023 10:25:14 +0000 (10:25 +0000)]
Fix valid_values constraint problem

Not able to set a value on a property of a instance in a service if the property has a valid vales constraint

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

2 years agoFix major bug reported by Sonar 22/133222/2
vasraz [Fri, 10 Feb 2023 00:35:41 +0000 (00:35 +0000)]
Fix major bug reported by Sonar

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

2 years agoAdd support for delete property from non-normative data type 84/133184/11
vasraz [Thu, 9 Feb 2023 17:57:56 +0000 (17:57 +0000)]
Add support for delete property from non-normative data type

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

2 years agoFix inconsistencies in interface property removal 80/133180/3
MichaelMorris [Tue, 31 Jan 2023 22:42:55 +0000 (22:42 +0000)]
Fix inconsistencies in interface property removal

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

2 years agoEdit properties of non-normative data types 76/133176/8
franciscovila [Tue, 7 Feb 2023 17:00:03 +0000 (17:00 +0000)]
Edit properties of non-normative data types

Develop all necessary changes in the UI to allow editing of non-normative data types

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

2 years agoConsider model in generic substitution type query 33/125933/9
andre.schmid [Fri, 26 Nov 2021 10:29:09 +0000 (10:29 +0000)]
Consider model in generic substitution type query

Change-Id: I9905b5f6b1bd658befb88b2dbb6903dfaa1f0f8a
Issue-ID: SDC-3794
Signed-off-by: andre.schmid <andre.schmid@est.tech>
2 years agoImprove getting Service with specific version 66/133066/3
vasraz [Mon, 30 Jan 2023 15:17:39 +0000 (15:17 +0000)]
Improve getting Service with specific version

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

2 years agoConstraints in data type view 93/133093/7
franciscovila [Tue, 31 Jan 2023 14:24:02 +0000 (14:24 +0000)]
Constraints in data type view

Develop all necessary changes in the UI to allow managing data type constraints

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

2 years agoEnable UI component to display property constraints 75/133075/5
KrupaNagabhushan [Tue, 31 Jan 2023 09:45:22 +0000 (09:45 +0000)]
Enable UI component to display property constraints

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

2 years agoFix setting input values destroys constraints 78/133178/2
MichaelMorris [Tue, 7 Feb 2023 17:20:47 +0000 (17:20 +0000)]
Fix setting input values destroys constraints

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

2 years agoFix unable to reset service inputs 77/133177/2
MichaelMorris [Tue, 7 Feb 2023 12:51:21 +0000 (12:51 +0000)]
Fix unable to reset service inputs

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

2 years agoValidate service input default values against constraints 25/133125/2
vasraz [Wed, 1 Feb 2023 19:28:28 +0000 (19:28 +0000)]
Validate service input default values against constraints

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

2 years agoDont add to additional_types on import failure 46/133146/4
MichaelMorris [Fri, 3 Feb 2023 16:48:46 +0000 (16:48 +0000)]
Dont add to additional_types on import failure

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

2 years agoFix broken 'start-sdc' profile 69/133169/1
vasraz [Mon, 6 Feb 2023 22:33:48 +0000 (22:33 +0000)]
Fix broken 'start-sdc' profile

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

2 years agoSkip swagger to improve build time 25/130025/21
vasraz [Mon, 25 Jul 2022 12:35:27 +0000 (13:35 +0100)]
Skip swagger to improve build time

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

2 years agoFix NPE when deleting interface operation 96/133096/3
MichaelMorris [Tue, 31 Jan 2023 15:23:35 +0000 (15:23 +0000)]
Fix NPE when deleting interface operation

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

2 years agoFix 'in_range constraints missing from TOSCA template'-bug 62/133062/7
vasraz [Wed, 1 Feb 2023 17:56:35 +0000 (17:56 +0000)]
Fix 'in_range constraints missing from TOSCA template'-bug

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

2 years agoStep version to 1.12.2-SNAPSHOT 15/133115/3
MichaelMorris [Thu, 2 Feb 2023 10:06:33 +0000 (10:06 +0000)]
Step version to 1.12.2-SNAPSHOT

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

2 years agoFix Blocker Bug reported by Sonar 69/133069/2
vasraz [Mon, 30 Jan 2023 19:26:02 +0000 (19:26 +0000)]
Fix Blocker Bug reported by Sonar

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

2 years agoShow boolean-type constraint as drop-down list 11/133111/1
vasraz [Wed, 1 Feb 2023 20:18:39 +0000 (20:18 +0000)]
Show boolean-type constraint as drop-down list

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

2 years agoShow category's displayName instead of name in Composition 70/133070/4
vasraz [Tue, 31 Jan 2023 00:34:19 +0000 (00:34 +0000)]
Show category's displayName instead of name in Composition

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

2 years agoRevert and fix temporary fix of SDC-4352 94/133094/2
JvD_Ericsson [Tue, 31 Jan 2023 13:25:38 +0000 (13:25 +0000)]
Revert and fix temporary fix of SDC-4352

Revert https://gerrit.onap.org/r/c/sdc/+/133049 and fix
initial issue described by SDC-4352

Fix floats not being imported correctly

Fix not being able to use equal constraint with bool type

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

2 years agoStop auto-generation of inputs from substitution mapping node 97/133097/3
vasraz [Tue, 31 Jan 2023 17:13:55 +0000 (17:13 +0000)]
Stop auto-generation of inputs from substitution mapping node

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

2 years agoFix tiles on Home page always show model as SDC AID 88/133088/1
KrupaNagabhushan [Tue, 31 Jan 2023 13:08:51 +0000 (13:08 +0000)]
Fix tiles on Home page always show model as SDC AID

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

2 years agoFix unable to edit VFC property after checkout 60/133060/1
JvD_Ericsson [Fri, 27 Jan 2023 16:53:03 +0000 (16:53 +0000)]
Fix unable to edit VFC property after checkout

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

2 years agoRelease SDC 1.12.1 56/133056/1
MichaelMorris [Fri, 27 Jan 2023 21:06:52 +0000 (21:06 +0000)]
Release SDC 1.12.1

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

2 years agoFix 5 critical SonarCloud bugs 27/132827/5
eschcam [Thu, 22 Dec 2022 11:48:23 +0000 (11:48 +0000)]
Fix 5 critical SonarCloud bugs

Bugs taken from SonarCloud

Change-Id: Ie03e63a0ad4da7358a591c22ee2acf0c8cd97598
Issue-ID: SDC-3529
Signed-off-by: eschcam <cameron.scholes@est.tech>
2 years 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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