sdc.git
4 years agoAdd IntelliJ IDE files to .gitignore, remove duplications 94/105994/2
vasraz [Wed, 15 Apr 2020 09:21:49 +0000 (10:21 +0100)]
Add IntelliJ IDE files to .gitignore, remove duplications

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

4 years agoAdd java 11 dependency in openecomp-be 30/105830/3
Arindam Mondal [Mon, 13 Apr 2020 07:35:14 +0000 (16:35 +0900)]
Add java 11 dependency in openecomp-be

Issue-ID: SDC-2889

Change-Id: I1be0ffebb3b954f9020939438782dce4f62d4fad
Signed-off-by: arindam <arind.mondal@samsung.com>
4 years agoUpgrade Junit to version 5.6 61/104161/14
Baumel, Dvir (db384r) [Mon, 23 Mar 2020 14:21:05 +0000 (16:21 +0200)]
Upgrade Junit to version 5.6

Issue-ID: SDC-2844
Change-Id: I4716bf7920f9bb79c450ebfd48e9d4fba54fdfdd
Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
4 years agoAdd some unit tests 41/105741/5
Reo Inoue [Fri, 10 Apr 2020 00:32:45 +0000 (09:32 +0900)]
Add some unit tests

This change adds unit tests for ComponentLogi
to increase test coverage.

Issue-ID: SDC-2885
Change-Id: I53e5da1a1022ef2a6e29119cc531b61dcc3020b1
Signed-off-by: Reo Inoue <inoue.reo@jp.fujitsu.com>
4 years agoAutomation adds workflow.rst 24/105724/1
Aric Gardner [Thu, 9 Apr 2020 19:40:55 +0000 (12:40 -0700)]
Automation adds workflow.rst

Issue-ID: CIMAN-376
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: If806410c1e2bbe480a1a77c4e04ad38e5084aa5e

4 years agoAutomation adds dcaedesigner.rst 20/105720/1
Aric Gardner [Thu, 9 Apr 2020 19:23:12 +0000 (12:23 -0700)]
Automation adds dcaedesigner.rst

Issue-ID: CIMAN-376
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ie948abc12c8f0233f39e935dfa9494b726586621

4 years agoAutomation adds sdc-architecture.rst 21/105621/3
LF Jenkins CI [Wed, 8 Apr 2020 20:24:12 +0000 (20:24 +0000)]
Automation adds sdc-architecture.rst

Issue-ID: CIMAN-376

Change-Id: Ia5a1e44150c71d4fc4fbda18099df1f9bca83dd9
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds sdc-offeredapis.rst 92/105592/2
LF Jenkins CI [Wed, 8 Apr 2020 19:40:21 +0000 (19:40 +0000)]
Automation adds sdc-offeredapis.rst

Issue-ID: CIMAN-376

Change-Id: I79720045f2583c91f24ec109a17e76050bafabbb
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds release-notes.rst 35/105435/4
LF Jenkins CI [Tue, 7 Apr 2020 20:26:36 +0000 (20:26 +0000)]
Automation adds release-notes.rst

Add _release_notes hook to allow automation.
Fix non valid release notes characters in content.

Issue-ID: CIMAN-376
Change-Id: I331047b44e54cb210d8bbc8b5cc84841b13b36d5
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAutomation adds index.rst 99/105399/3
LF Jenkins CI [Tue, 7 Apr 2020 17:43:35 +0000 (17:43 +0000)]
Automation adds index.rst

Issue-ID: CIMAN-376

Change-Id: I6b9df89424fcb6ad0cbdbe6631b4514f20edf57a
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAdded more tests to increase coverage 58/105158/3
Dmitry Puzikov [Mon, 6 Apr 2020 14:12:42 +0000 (16:12 +0200)]
Added more tests to increase coverage

Removed redundant tests

Change-Id: I7776639d435267c4c38a32a7c19d925b0e715b15
Issue-ID: SDC-2869
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoMore unit tests added 22/105022/3
Dmitry Puzikov [Thu, 2 Apr 2020 17:03:21 +0000 (19:03 +0200)]
More unit tests added

Unused constant removed.

Error logging added.

Change-Id: I91dca825e54ffd8f11a69344d6bb00b4e70dbea1
Issue-ID: SDC-2869
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoAdded more tests. 43/105143/3
k.kedron [Mon, 6 Apr 2020 12:21:40 +0000 (14:21 +0200)]
Added more tests.

Added more unit tests for cover CapabilityRequirementConverter.

Issue-ID: SDC-2869
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If4f252f63cf126aab0961199c296581c0d089b21

4 years agoMore tests added 91/105091/3
Dmitry Puzikov [Fri, 3 Apr 2020 15:40:28 +0000 (17:40 +0200)]
More tests added

Change-Id: I4b6ec51eb13d3553b308f794fb22b7761993f0ab
Issue-ID: SDC-2869
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoIncrease test coverage 23/105023/2
vasraz [Thu, 2 Apr 2020 18:23:40 +0000 (19:23 +0100)]
Increase test coverage

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

4 years agoFix when adding a VF 88/104988/2
aribeiro [Thu, 2 Apr 2020 09:04:31 +0000 (10:04 +0100)]
Fix when adding a VF

Remove duplicated field when adding VF, fix label names and fix field that appears mandatory even though its not

Issue-ID: SDC-2865
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: Iac0866ebcd1b90570949fe9c851fec1f861818af

4 years agoFix ready probe exit code 04/105004/2
andre.schmid [Thu, 2 Apr 2020 13:39:47 +0000 (14:39 +0100)]
Fix ready probe exit code

The exit code ranges from 0 to 255, so it should not be
returning the http status code.
This was breaking the health check for the docker_run.sh
script, which was always getting a 0 return code in a
case of 503 http status for example.

Change-Id: I52b2923cdfc0d7389894917ccc4aa58468ac8bdc
Issue-ID: SDC-2867
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agobugfix for operations screen 49/104849/2
ilanap [Wed, 1 Apr 2020 11:25:35 +0000 (14:25 +0300)]
bugfix for operations screen

Add Operation Button is missing in Service management
committing fix by Akiva

Issue-ID: SDC-2843
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: I9a6c89e45ea425eb9abf827906562e14a39cf1ff

4 years agoFix sdc-backend image context.xml creation 85/104985/2
andre.schmid [Tue, 31 Mar 2020 10:39:52 +0000 (11:39 +0100)]
Fix sdc-backend image context.xml creation

The file was not being overwritten during the build process.
It was not changing after the first build, causing war artifact
version problems while running the container.

Change-Id: I8b1ab741c82f9274a2049bb4c2d1c3a8c1c8ee38
Issue-ID: SDC-2862
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoFix data type properties declaration 00/105000/2
aribeiro [Thu, 2 Apr 2020 13:05:57 +0000 (14:05 +0100)]
Fix data type properties declaration

According to TOSCA Network properties definition the keyname 'ip_version:' should have Integer as valid_values rather than String
Where the keyname 'count:' is declared as a String type the default value should be String rather than Integer
Fix misspelled ONAP types 'onap.datatypes.monitoring.measurementType' and 'onap.datatypes.monitoring.managedObjectDNsBasic'
Fix the keynames 'upstream:' and 'downstream:' as both are declared as a String type the valid_values should be String rather than Integer

Issue-ID: SDC-2864
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I56afdf2818b5f2463fb6088cd8b468fd38ef5086

4 years agoFix keyname 'constraints:' according to TOSCA property definition 02/105002/2
aribeiro [Thu, 2 Apr 2020 09:53:12 +0000 (10:53 +0100)]
Fix keyname 'constraints:' according to TOSCA property definition

Issue-ID: SDC-2863
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I955af393b4f10ca56a01bfcb2f62c37496c484d6

4 years agoRemove keyname 'required' from Schema definition 01/105001/2
aribeiro [Thu, 2 Apr 2020 14:00:20 +0000 (15:00 +0100)]
Remove keyname 'required' from Schema definition

The Schema definitions does not have keyname 'required'. The keyname 'required' is a TOSCA property definition.

Issue-ID: SDC-2866
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I0a827d30c8790ec63c20a9da6cd0758eb024c491

4 years agoIncrease test coverage 63/104963/3
vasraz [Thu, 2 Apr 2020 09:26:08 +0000 (10:26 +0100)]
Increase test coverage

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

4 years agoTests added to increase coverage 82/104882/3
Dmitry Puzikov [Wed, 1 Apr 2020 15:11:21 +0000 (17:11 +0200)]
Tests added to increase coverage

Change-Id: I16a729385647cb691fb7c94bd8f26a3c19b1b99d
Issue-ID: SDC-2861
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoIncrease test coverage 65/104865/1
vasraz [Wed, 1 Apr 2020 13:43:08 +0000 (14:43 +0100)]
Increase test coverage

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

4 years agoIncrease test coverage 48/104848/3
vasraz [Wed, 1 Apr 2020 11:07:50 +0000 (12:07 +0100)]
Increase test coverage

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

4 years agoR6 release notes and documentation update 45/104645/1
Ofir Sonsino [Wed, 1 Apr 2020 07:52:28 +0000 (10:52 +0300)]
R6 release notes and documentation update

Change-Id: Ieebd8c55a505d02ceef5e330d047c024f5d820db
Issue-ID: SDC-2793
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoFix catalog-be unit test failure 45/104745/1
Satoshi Fujii [Wed, 26 Feb 2020 06:39:38 +0000 (15:39 +0900)]
Fix catalog-be unit test failure

Fixed catalog-be test failure due to missing imports

Change-Id: I91f281302a33b5b8f640100a3f1b77908ae44e7c
Issue-ID: SDC-2659
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
4 years agoAdd 'required in runtime' for service inputs 67/102367/4
Satoshi Fujii [Wed, 26 Feb 2020 06:39:38 +0000 (15:39 +0900)]
Add 'required in runtime' for service inputs

User may want to set required to true for some inputs
so that make sure those input values are given at service
instantiation time.

By this change 'required in runtime' column is introduced into
service inputs table in Properties Assignment screen
and user can select required true/false for each input.

Change-Id: I0d676d2d20e02c975d51c7f4d2bb63c699743d66
Issue-ID: SDC-2659
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
4 years agoIncrease test coverage 00/104500/4
vasraz [Thu, 26 Mar 2020 14:20:02 +0000 (14:20 +0000)]
Increase test coverage

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

4 years agoIncrease test coverage 24/104524/3
vasraz [Thu, 26 Mar 2020 17:25:54 +0000 (17:25 +0000)]
Increase test coverage

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

4 years agoInitial fix for https call to plugins 82/104482/3
ilanap [Thu, 26 Mar 2020 10:50:06 +0000 (12:50 +0200)]
Initial fix for https call to plugins

Creates an http/https client to check whether plugin is online. missing UI fixes still

Issue-ID: SDC-2843
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: I06ee08c73881c8a8c458198f9b6a0f9df1021f52
Signed-off-by: ilanap <ilanap@amdocs.com>
4 years agoFix unit tests 85/104385/5
Dmitry Puzikov [Wed, 25 Mar 2020 15:31:43 +0000 (16:31 +0100)]
Fix unit tests

Added asserts where required, add tests.

Replaced getters-setters with Lombok annotations.

Fixed incorect SUT in the tests.

Removed default constructors used only for tests.

Change-Id: I9be29d9c0d891039952178a3c3e1c3a2062d1382
Issue-ID: SDC-2856
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoSupport 50 Characters for VSP Name 63/104363/3
Tufman, Shay (st198j) [Wed, 25 Mar 2020 12:41:45 +0000 (14:41 +0200)]
Support 50 Characters for VSP Name

Change-Id: I02ddb9d67669e2ecca02762a4bb9862bf28df3cb
Issue-ID: SDC-2854
Signed-off-by: Tufman, Shay (st198j) <st198j@att.com>
4 years agoUpdated the sdc cert 76/104376/5
k.kedron [Wed, 25 Mar 2020 14:29:42 +0000 (15:29 +0100)]
Updated the sdc cert

Issue-ID: SDC-2855
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I1ee3f155ca50edee4a47b8585d95f9a3f848b94a

4 years agoIncrease test coverage 80/104280/2
vasraz [Tue, 24 Mar 2020 17:32:06 +0000 (17:32 +0000)]
Increase test coverage

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

4 years agoIncrease test coverage 42/104242/6
vasraz [Tue, 24 Mar 2020 12:29:04 +0000 (12:29 +0000)]
Increase test coverage

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

4 years agoFix unit tests 78/104278/3
Dmitry Puzikov [Tue, 24 Mar 2020 17:22:03 +0000 (18:22 +0100)]
Fix unit tests

Add asserts where required, fix tiny issues.

Replace getters-setters with Lombok annotations.

Change-Id: Icb1a20f400fd8732a3d0ae23b8fe88bc693df1f5
Issue-ID: SDC-2853
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix to CSIT failure due to EP type 72/104172/2
Ben David, Elad (eb7504) [Mon, 23 Mar 2020 16:05:27 +0000 (18:05 +0200)]
Fix to CSIT failure due to EP type

Change-Id: I6a2bcd4b43490898952fa1a5ea171ece015d376c
Issue-ID: SDC-2820
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
4 years agoImprove log texts 46/104246/2
Lasse Kaihlavirta [Tue, 24 Mar 2020 13:43:15 +0000 (15:43 +0200)]
Improve log texts

Issue-ID: SDC-2852
Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>
Change-Id: I7a1ebfc625e297f943794046f37b15cc48d8cacb

4 years agoFix for Operation Button is missing 22/104122/2
Ofir Sonsino [Sun, 22 Mar 2020 08:46:13 +0000 (10:46 +0200)]
Fix for Operation Button is missing

Change-Id: I4da92b9e7055c4b7b375e77aab87122e8a61b520
Issue-ID: SDC-2843
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoIncrease test coverage 74/104274/1
vasraz [Tue, 24 Mar 2020 16:26:06 +0000 (16:26 +0000)]
Increase test coverage

Change-Id: I08577d28ced96f945d5ecfc3a19fb4f46d44ec02
Issue-ID: SDC-2833
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
4 years agoImport of VFC will maintain interface implementations 69/101969/6
MichaelMorris [Wed, 12 Feb 2020 14:59:19 +0000 (14:59 +0000)]
Import of VFC will maintain interface implementations

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

4 years agoFixed updating VFC 39/102839/4
k.kedron [Tue, 3 Mar 2020 09:59:51 +0000 (10:59 +0100)]
Fixed updating VFC

Added checking that newProperty.path isn't null.
Also added refreshing the returned property from the backend.

Issue-ID: SDC-2800
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I82449d04f3151b5233cd99fb919b47f6d05a83fa

4 years agoFix unit tests 74/104174/3
Dmitry Puzikov [Mon, 23 Mar 2020 16:27:25 +0000 (17:27 +0100)]
Fix unit tests

Add asserts where required, fix tiny issues.

Replace DTO getters-setters with Lombok anntations.

Change-Id: I77c7ff2b1b536e357910ab1820ff27e03a16967a
Issue-ID: SDC-2849
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix unit tests 62/104162/1
Dmitry Puzikov [Mon, 23 Mar 2020 14:44:19 +0000 (15:44 +0100)]
Fix unit tests

Add asserts where required, fix tiny issues.

Change-Id: I764fb6ab989e6271248a68f488929356ac2069c0
Issue-ID: SDC-2848
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFixed import in sdc-BE-init python scripts 46/104146/1
k.kedron [Mon, 23 Mar 2020 11:01:38 +0000 (12:01 +0100)]
Fixed import in sdc-BE-init python scripts

Issue-ID: SDC-2784
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I72eb129c5c4cb63fdf0ab13a6128d555b49b6d0c

4 years agoRefactoring the sdc-BE-init python scripts 96/102596/4
k.kedron [Fri, 28 Feb 2020 13:26:07 +0000 (14:26 +0100)]
Refactoring the sdc-BE-init python scripts

Adjust to the correct python syntax.
Remove not used imports.
Also fixed:
 - the indents
 - checking that all normative imported correctly logic

Issue-ID: SDC-2784
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If7edc867f3cb591be157073fbc12b9842b200023

4 years agoEntitlement Pool - Support Type Field 07/103807/6
Ben David, Elad (eb7504) [Tue, 17 Mar 2020 16:12:17 +0000 (18:12 +0200)]
Entitlement Pool - Support Type Field

Change-Id: Ibd9996cce04849332bd23dd62e6143386cdd9a70
Issue-ID: SDC-2820
Signed-off-by: Ben David, Elad (eb7504) <eb7504@intl.att.com>
4 years agoAdd support for simple yaml profile 1.2 84/101384/3
vasraz [Fri, 7 Feb 2020 10:14:06 +0000 (10:14 +0000)]
Add support for simple yaml profile 1.2

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

4 years agoAdded socketReadTimeout to be apply 39/104039/2
k.kedron [Fri, 20 Mar 2020 10:25:54 +0000 (11:25 +0100)]
Added socketReadTimeout to be apply

Added socket ReadTimeout to be apply in the SdcSchemaUtil
which is use by sdc-cs-init

Issue-ID: SDC-2759
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ia85f166de44e6461dffbb001d5f7b8c4a0ba81c3

4 years agoInclude derived_from types in generated csar 14/103514/4
aribeiro [Thu, 27 Feb 2020 13:15:28 +0000 (13:15 +0000)]
Include derived_from types in generated csar

Issue-ID: SDC-2775
Change-Id: I7b90ff78c389e5680cacafda2065669f6baf1735
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
4 years agoFix unit tests 34/104034/3
Dmitry Puzikov [Fri, 20 Mar 2020 08:11:38 +0000 (09:11 +0100)]
Fix unit tests

Add asserts where required, fix tiny issues.

Replaced getters-setters with Lombok annotations.

Change-Id: I9d75c871870fffe82876e14dd2eb9d3585ecb916
Issue-ID: SDC-2708
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix unit tests 73/103973/3
Dmitry Puzikov [Thu, 19 Mar 2020 15:18:51 +0000 (16:18 +0100)]
Fix unit tests

Add asserts where required, fix tiny issues.

Reverted ApiResourceEnumTest as it will be fixed later.

Change-Id: I794e27b0136cf625b9393afe417cd27675f6f891
Issue-ID: SDC-2839
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoUse new base dockers 53/103953/2
Ofir Sonsino [Thu, 19 Mar 2020 08:34:49 +0000 (10:34 +0200)]
Use new base dockers

Issue-ID: SDC-2798
Change-Id: I7a6e66c3a983d1490722c3ce36711f0b700dc756
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
(cherry picked from commit 68fe4496694a286a441e23ef9686b04feeb0f5fd)

4 years agoAdded new unit tests 77/103677/5
k.kedron [Fri, 13 Mar 2020 15:40:27 +0000 (16:40 +0100)]
Added new unit tests

Added new unit tests to GraphMLConverter class.
Fixed the Sonar issue.

Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I985a860012c0c2b0b6524c0a2346415cb113d83c

4 years agoIncrease test coverage 65/103865/3
vasraz [Wed, 18 Mar 2020 13:29:59 +0000 (13:29 +0000)]
Increase test coverage

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

4 years agoIncrease test coverage 75/103875/2
vasraz [Wed, 18 Mar 2020 14:38:34 +0000 (14:38 +0000)]
Increase test coverage

Change-Id: I8d9495d49aa867aee203e4af1fdcc843099f1b07
Issue-ID: SDC-2833
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
4 years agoIncrease test coverage 50/103750/5
vasraz [Mon, 16 Mar 2020 16:05:30 +0000 (16:05 +0000)]
Increase test coverage

catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java

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

4 years agoIncrease test coverage 40/103940/3
vasraz [Thu, 19 Mar 2020 10:35:15 +0000 (10:35 +0000)]
Increase test coverage

Change-Id: Icb947bec2b36d6706dc2e214320c6018cabbca15
Issue-ID: SDC-2833
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
4 years agoIncrease test coverage 59/103859/4
vasraz [Wed, 18 Mar 2020 12:41:18 +0000 (12:41 +0000)]
Increase test coverage

Change-Id: I433f8d0cd27532b099ba902a83a4b067fd61e467
Issue-ID: SDC-2833
Signed-off-by: vasraz <vasyl.razinkov@est.tech>
4 years agoFix unit tests 23/103923/2
Dmitry Puzikov [Thu, 19 Mar 2020 08:18:59 +0000 (09:18 +0100)]
Fix unit tests

Add asserts where required, fix tiny issues.

Change-Id: Ie88a39642fd574745d9fa1f0eeee301ff8e19e23
Issue-ID: SDC-2838
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix unit tests 58/103758/4
Dmitry Puzikov [Mon, 16 Mar 2020 17:37:46 +0000 (18:37 +0100)]
Fix unit tests

Added asserts where missing into the
src/test/java/org/openecomp/sdc/be/components/lifecycle/*

Change-Id: Ib888f15c0649e18afe67799fbf540f7a6bb2324a
Issue-ID: SDC-2834
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoUpgrade jacoco/lombok/sonar versions 78/103878/2
vasraz [Wed, 18 Mar 2020 15:06:19 +0000 (15:06 +0000)]
Upgrade jacoco/lombok/sonar versions

This will permit to exclude auto-generated code by LOMBOK from
jacoco and will increase coverage.

Change-Id: Ie4e5b730270e5abd0a1bfc5498575410e08e2af9
Issue-ID: SDC-2833
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
4 years agoIncrease cassandra/janusgraph 30/103930/2
k.kedron [Thu, 19 Mar 2020 09:32:35 +0000 (10:32 +0100)]
Increase cassandra/janusgraph

Increase the cassandra and janusgraph connection timeout to tune
the working for the sdc-be in the overloaded environment.

Issue-ID: SDC-2759
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I5c903724c9c555a3ca4a0513b3eaa7286086b0b4

4 years agoIncrease default janusgraph timeouts for CSIT 01/103901/2
Lasse Kaihlavirta [Wed, 18 Mar 2020 18:22:18 +0000 (20:22 +0200)]
Increase default janusgraph timeouts for CSIT

 - increase relevant timeouts to fix random (but frequent) SDC CSIT
   failures in sdc-cassandra-init

Issue-ID: SDC-2759
Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>
Change-Id: I302b0f5676a51b362e7c3c5387803947cf93473a

4 years agoShow missing base template error in UI 39/103939/2
Avivi, Yotam (ya107f) [Thu, 19 Mar 2020 10:30:29 +0000 (12:30 +0200)]
Show missing base template error in UI

Change-Id: Ifb54fc460242b1413c05e6494f9027686f796a81
Issue-ID: SDC-2822
Signed-off-by: Avivi, Yotam (ya107f) <ya107f@intl.att.com>
4 years agoFix unit tests - add asserts 57/103757/3
Dmitry Puzikov [Mon, 16 Mar 2020 15:47:02 +0000 (16:47 +0100)]
Fix unit tests - add asserts

Add asserts where required, fix tiny issues.

Change-Id: I6a3fe8741a5659c9152b48d8d0bd19304ac9d94c
Issue-ID: SDC-2823
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFixed issue with not updating the context.xml 06/103806/3
k.kedron [Tue, 17 Mar 2020 16:02:31 +0000 (17:02 +0100)]
Fixed issue with not updating the context.xml

Added the context.xml to maven-clean-plugin to prevent
issue with updating the sdc project.version
(mismatch of the version in context.xml file).

Issue-ID: SDC-2829
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I0d87ce3a9ac82e4d77c2affc1ab76e81a04c4dd6

4 years agoPM_Dictionary Support in GAB 74/102474/3
Tomasz Golabek [Thu, 27 Feb 2020 10:22:01 +0000 (11:22 +0100)]
PM_Dictionary Support in GAB

UI Sanity for PM Dictionary events in GAB:
* added dedicated test for PM_Dictionary
* fixed legacy keywords for VES_Event test
* Moved GAB tests to separate suite

Change-Id: I8b033b3f14b5b18e74bd6c566d5c269e4a94001a
Issue-ID: SDC-2095
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoBase template guidelines changes 29/103729/2
Baumel, Dvir (db384r) [Mon, 16 Mar 2020 11:36:02 +0000 (13:36 +0200)]
Base template guidelines changes

Issue-ID: SDC-2822
Change-Id: Ieb1832f878e2268bcfbfb2d574f8c7371f14b191
Signed-off-by: Baumel, Dvir (db384r) <dvir.baumel@intl.att.com>
4 years agoFixing broken CSIT test 71/103771/2
MichaelMorris [Tue, 17 Mar 2020 00:48:09 +0000 (00:48 +0000)]
Fixing broken CSIT test

Change-Id: I972b485cc59bf172267988792ca8bbb95cc370fd
Issue-ID: SDC-2798
Signed-off-by: MichaelMorris <michael.morris@est.tech>
4 years agoFix SDC-BE Swagger 62/102862/2
Dmitry Puzikov [Tue, 3 Mar 2020 09:18:41 +0000 (10:18 +0100)]
Fix SDC-BE Swagger

General reorganisation of APIs rendering done.

Fixed mix of swagger.v2 and new swagger.v3
conflicting annotatons.

Moved to newer version of swagger-ui.

Removed unused/inconsistent parts of pom.xml.

Change-Id: Id1356b766caff6bf5817768c1a0f9b80541b85e8
Issue-ID: SDC-2718
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix broken unit tests in catalog-be 10/102610/5
vasraz [Fri, 28 Feb 2020 09:42:16 +0000 (09:42 +0000)]
Fix broken unit tests in catalog-be

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

4 years agoRemove hardcoded timeout 81/103681/3
k.kedron [Fri, 13 Mar 2020 16:15:14 +0000 (17:15 +0100)]
Remove hardcoded timeout

Added configuration for wait seconds for Cassandra connector.
Also, increase the timeout value to prevent tests failed.

Issue-ID: SDC-2759
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I1008ecce98efdd8627ac3232b35fecd2a41a9c79

4 years agoRun pods as non-root user 37/103437/3
MichaelMorris [Tue, 10 Mar 2020 12:37:48 +0000 (12:37 +0000)]
Run pods as non-root user

Summary of changes:
sdc-cassandra-init
Added user sdc (in base image base_sdc-cqlsh - https://gerrit.onap.org/r/103436)
Run entrypoint as user sdc
Moved relevant files from /root/ to /home/sdc/

sdc-backend-init
Added user sdc (in base image base_sdc-python - https://gerrit.onap.org/r/103436)
Run entrypoint as user sdc
Moved relevant files from /root/ to /home/sdc/

sdc-backend
Run entrypoint as user jetty
Moved relevant files from /root/ to /var/lib/jetty/
Moved cadi & cert files from /opt/app/jetty to /var/lib/jetty/
Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh

sdc-frontend
Run entrypoint as user jetty
Moved relevant files from /root/ to /var/lib/jetty/
Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh

sdc-onboard-backend-docker
Run entrypoint as user jetty
Moved relevant files from /root/ to /var/lib/jetty/
Moved ready_probe from /var/lib/read-probe.sh to /var/lib/jetty/read-probe.sh

sdc-onboard-db-init-docker
Run entrypoint as user sdc
Added user sdc (in base image base_sdc-cqlsh - https://gerrit.onap.org/r/103436)
Moved relevant files from /root/ to /home/sdc/

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

4 years agoRemove duplicated data type 62/103662/2
aribeiro [Fri, 13 Mar 2020 09:37:47 +0000 (09:37 +0000)]
Remove duplicated data type

Issue-ID: SDC-2826
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I6cb4ecd9b6e479363158c6bcb1b0f1f1f52528e1

4 years agoAllow other entries for SOL004 Tosca.meta 03/102403/2
andre.schmid [Mon, 24 Feb 2020 11:35:00 +0000 (11:35 +0000)]
Allow other entries for SOL004 Tosca.meta

Besides the mandatory entries, any other entry will
be accepted in the TOSCA.meta file, as far as it
has a valid format <name>: <value>.

Change-Id: I941a62dbb43167e7e0424deae11a2664e61c8a6c
Issue-ID: SDC-2781
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoDisable SecurityFilter 60/103660/1
Ofir Sonsino [Thu, 12 Mar 2020 18:52:42 +0000 (20:52 +0200)]
Disable SecurityFilter

Bumping version to 1.7.0

Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff
Issue-ID: SDC-2825
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoSupport Tosca DependsOn root node relationship​ 62/102062/2
andre.schmid [Fri, 14 Feb 2020 15:37:17 +0000 (15:37 +0000)]
Support Tosca DependsOn root node relationship​

tosca.nodes.Root supports the use of a DependsOn relationship
to indicate a general dependency relationship between two
nodes. SDC currently disallows this relationship to be created
in the VF/Service composition view.

Change-Id: Ie5f1f5d2e5173b59f878986ee625b27aaa81e4f6
Issue-ID: SDC-2768
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoportal url fix 27/103527/1
Ofir Sonsino [Wed, 11 Mar 2020 13:38:00 +0000 (15:38 +0200)]
portal url fix

Change-Id: Iab8c7cd48f7210d1833928e7ea075e2221db94c7
Issue-ID: SDC-2799
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoFix CBA artifact recognition by SDC 34/103034/2
Dmitry Puzikov [Wed, 4 Mar 2020 17:30:00 +0000 (18:30 +0100)]
Fix CBA artifact recognition by SDC

This patch fixes CBA artifact recogntion as 'OTHER'
instead of 'CONTROLLER_BLUEPRINT_ARCHIVE'.

Change-Id: I15d8ef62a57e4a0f627949e267209cba3cbe4c56
Issue-ID: SDC-2776
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoAdded new unit tests 78/103378/3
k.kedron [Mon, 9 Mar 2020 16:08:53 +0000 (17:08 +0100)]
Added new unit tests

Added new unit tests to GraphMLDataAnalyzer class.
Fixed the Sonar issue.

Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I9a61dff2e9b0be1733de00b06c255abb8a3d5a8f

4 years agoFix docker_run.sh script 63/103163/3
Dmitry Puzikov [Thu, 5 Mar 2020 17:03:15 +0000 (18:03 +0100)]
Fix docker_run.sh script

Add check of plugins-configuration.yaml file.
If file doesn't exist don't mount volume to container.

Added changes proposed in ticket discussion.

Change-Id: I7025330afd9eb4e701ffc7dccaf0932ae72d8e11
Issue-ID: SDC-2759
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix broken CSIT 52/103152/2
vasraz [Thu, 5 Mar 2020 16:28:03 +0000 (16:28 +0000)]
Fix broken CSIT

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

4 years agoFix update the policy in SDC UI 38/102738/3
k.kedron [Mon, 2 Mar 2020 12:51:08 +0000 (13:51 +0100)]
Fix update the policy in SDC UI

Refresh the property.value which is sent to the backend
to properly update the policy property.

Issue-ID: SDC-2797
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: If87c7acb5324cf933e9c8a4ebd5616a11d8b4c71

4 years agoportal and cadi properties fix 49/103049/2
Ofir Sonsino [Wed, 4 Mar 2020 19:05:28 +0000 (21:05 +0200)]
portal and cadi properties fix

Change-Id: Id83f0ddd1846e4887d1d5a7c3fb5bf8db406186a
Issue-ID: SDC-2799
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoStepping base_sdc-jetty and base_sdc-cassandra version 65/102665/4
MichaelMorris [Sun, 1 Mar 2020 10:51:27 +0000 (10:51 +0000)]
Stepping base_sdc-jetty and base_sdc-cassandra version

Change-Id: Ia26fa595502c677dc1014e280cee09581f013452
Issue-ID: SDC-2761
Signed-off-by: MichaelMorris <michael.morris@est.tech>
4 years agoFix policy property type issue 03/102003/3
Dmitry Puzikov [Wed, 19 Feb 2020 15:06:51 +0000 (16:06 +0100)]
Fix policy property type issue

When VF is exported as csar, policy properties
are typed regardless types in the related shemas.
This patch fixes this issue.

Change-Id: Ib34f329888d454283c89a8a1aec6349069ea7234
Issue-ID: SDC-2773
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFixed the navbar style 67/102967/1
k.kedron [Wed, 4 Mar 2020 09:30:40 +0000 (10:30 +0100)]
Fixed the navbar style

Now all time contains all elements in the one line.

Issue-ID: SDC-2308
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Ic424f6bef0bc2ba83375b1339bbc451bd14ddff9

4 years agoFix dev config designer user in catalog-ui 31/102331/2
andre.schmid [Mon, 17 Feb 2020 10:11:54 +0000 (10:11 +0000)]
Fix dev config designer user in catalog-ui

The userId for the mocked user used in the catalog-ui
development environment was incorrect.
Small adjustments in the webpack.server.js file.
Improves the README.md for better understanding of some
configuration options.

Change-Id: I231f4349a868a2544a6b1ab9e9deb68873850e2b
Issue-ID: SDC-2779
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoconfiguration alignment 17/102317/1
Ofir Sonsino [Tue, 25 Feb 2020 14:06:03 +0000 (16:06 +0200)]
configuration alignment

Change-Id: Ieff9791620f9e7bbebdd7410bc0ab128434228cd
Issue-ID: SDC-2724
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoPolicies import when import VSP 61/101561/11
Dmitry Puzikov [Tue, 28 Jan 2020 17:04:40 +0000 (18:04 +0100)]
Policies import when import VSP

Polices import implemented.

Error type added for invalid policies.

Import tests added.

Fix test failures.

Got rid of Either in the new code.

Change-Id: I3e91cc6d24433c2b3862f407348e71e1e67c3b4e
Issue-ID: SDC-2728
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoSupport import of custom node type name 92/101392/7
aribeiro [Sun, 2 Feb 2020 19:47:39 +0000 (19:47 +0000)]
Support import of custom node type name

Issue-ID: SDC-2760
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I3645c737ba367a3576d58afb581c8118eb0f6011

4 years agoPM_Dictionary Support in GAB 05/102005/3
Tomasz Golabek [Wed, 19 Feb 2020 15:46:44 +0000 (16:46 +0100)]
PM_Dictionary Support in GAB

Generic Artifact Browser is visible for PM_DICTIONARY artifacts
Two agreed formats of the artifact are supported (examples in tests)
Small fix for searchable fields and introduced new once for PM_DICTIONARY:
measType
measDescription
measObjClass
measFamily
measInfoId

Change-Id: I2cb609bab6405b55e8099da023ae035205dcd1ab
Issue-ID: SDC-2095
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoFix layout of the artifacts icons 91/101991/2
Aleksandra Maciaga [Wed, 19 Feb 2020 13:30:45 +0000 (14:30 +0100)]
Fix layout of the artifacts icons

Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Issue-ID: SDC-2095
Change-Id: Ib5bbb214b1b25604db643a0c220aff5a97e7afd6

4 years agoFix Null Pointer Exception when loading resources from home page. 15/102215/1
aribeiro [Mon, 24 Feb 2020 10:15:13 +0000 (10:15 +0000)]
Fix Null Pointer Exception when loading resources from home page.

Issue-ID: SDC-2777
Change-Id: Ia25f34736a8926b6ebe622114b0beb1f806f4791
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
4 years agoconfiguration alignment fix 02/102202/1
Ofir Sonsino [Mon, 24 Feb 2020 07:50:53 +0000 (09:50 +0200)]
configuration alignment fix

Change-Id: I740a4181be400391cb9b7e87ec85a8042947ae05
Issue-ID: SDC-2724
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoconfiguration alignment 88/102188/1
Ofir Sonsino [Sun, 23 Feb 2020 16:36:46 +0000 (18:36 +0200)]
configuration alignment

Change-Id: I24193515352973a8f5244c1089448ed5e9bac173
Issue-ID: SDC-2724
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoFix logging date format to avoid parse error 21/102121/1
Satoshi Fujii [Fri, 21 Feb 2020 07:19:55 +0000 (16:19 +0900)]
Fix logging date format to avoid parse error

When MDCSetup class in logging-filter-base tries to calculate an elapsed
time, it expects a datetime is given in ISO format.
But date format in LogFieldsMdcHandler is not compatible with ISO format
therefore 'Unable to calculate elapsed time due to error' occurs.

This change fixes date format in the class
so that the date string can be parsed by logging-filter.

Change-Id: I07c8f103f46493fe0764f904f3f00f66f35dbcf6
Issue-ID: SDC-2767
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>