sdc.git
4 years agoBump version 1.6.5 75/106275/2
Ofir Sonsino [Mon, 20 Apr 2020 13:16:44 +0000 (16:16 +0300)]
Bump version 1.6.5

Change-Id: Ie390ca4f536c1db8418860825ca29d44aa3bcba1
Issue-ID: SDC-2892
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoUnable to update VSP (heat template) version in VF 25/106125/1
Sebastien Premont-Tendland [Thu, 16 Apr 2020 18:51:35 +0000 (14:51 -0400)]
Unable to update VSP (heat template) version in VF

This seems to fix the issue, we can still
onboard CBA at VF level and the CBA get included
in the distributed CSAR under the directory
Artifacts/*/Deployment/CONTROLLER_BLUEPRINT_ARCHIVE/
as expected

Issue-ID: SDC-2892
Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca>
Change-Id: Ie9f9cd7b8d2cf5eb3ff3c41a4b04eedd788265a6
(cherry picked from commit c36523ba9887990b8a785266fd5d688e4888d67d)

4 years agoRelease SDC 1.6.4 72/104872/1
Ofir Sonsino [Wed, 1 Apr 2020 14:28:37 +0000 (17:28 +0300)]
Release SDC 1.6.4

Change-Id: Ia08df97c9724c01329cdeafe3e647973adfef589
Issue-ID: SDC-2855
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agobugfix for operations screen 46/104646/1 1.6.4
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 agoR6 release notes and documentation update 30/104830/2
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 agoUpdated the sdc cert 92/104492/3
k.kedron [Wed, 25 Mar 2020 14:29:42 +0000 (15:29 +0100)]
Updated the sdc cert

Also bumping version

Issue-ID: SDC-2855
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I1ee3f155ca50edee4a47b8585d95f9a3f848b94a
(cherry picked from commit a22105ea1e73575bd312450956e6cb6cb51b93a9)

4 years agoInitial fix for https call to plugins 37/104637/2
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>
(cherry picked from commit 7422f22140b7ce24e3e735dabaa325e2f7a4fc92)

4 years agoFix for Operation Button is missing 18/104118/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 agoRelease SDC 1.6.3 62/103962/1
Ofir Sonsino [Thu, 19 Mar 2020 14:41:43 +0000 (16:41 +0200)]
Release SDC 1.6.3

Change-Id: I4d2e5c983da65a6563c63e7630a2f004d5e3fe28
Issue-ID: SDC-2798
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoBump SDC to 1.6.3 51/103951/1 1.6.3
Ofir Sonsino [Thu, 19 Mar 2020 12:29:39 +0000 (14:29 +0200)]
Bump SDC to 1.6.3

Change-Id: Ib485f282ce0641ad7be8fef9324211ef84bac552
Issue-ID: SDC-2798
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoUse new base dockers 31/103931/1
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>
4 years agoFixing broken CSIT test 91/103891/1
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>
(cherry picked from commit 4d1f8679417a7936432d62e40c932d33e8926ffb)

4 years agoUpgrade jacoco/lombok/sonar versions 49/103849/3
vasraz [Wed, 18 Mar 2020 10:36:53 +0000 (10:36 +0000)]
Upgrade jacoco/lombok/sonar versions

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

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

4 years agoRun pods as non-root user 23/103723/1
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
(cherry picked from commit a2abf6ea18d512d367277bacaf7476754dc0eff5)

4 years agoRelease version 1.6.2 43/103643/1
Ofir Sonsino [Thu, 12 Mar 2020 22:10:00 +0000 (00:10 +0200)]
Release version 1.6.2

Change-Id: If4741db18750ef3475bb5f54fd3aed87b0d351d1
Issue-ID: SDC-2755
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoDisable SecurityFilter 27/103627/2
Ofir Sonsino [Thu, 12 Mar 2020 17:50:02 +0000 (19:50 +0200)]
Disable SecurityFilter

Bumping version to 1.6.2

Change-Id: I041bb5ce967b687e10be97dbbaa3ba1d119d13ff
Issue-ID: SDC-2825
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoportal url fix 11/103511/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 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>
4 years agoFix typo in PMSH data type 12/101912/2
dfarrelly [Tue, 18 Feb 2020 14:59:35 +0000 (14:59 +0000)]
Fix typo in PMSH data type

Issue-ID: DCAEGEN2-1940
Change-Id: I50d15f24e015eaac43a175c9bceef80f6d0d5900
Signed-off-by: dfarrelly <david.farrelly@est.tech>
4 years agoBackend extensibility 33/101533/3
MichaelMorris [Sat, 8 Feb 2020 22:55:49 +0000 (22:55 +0000)]
Backend extensibility

Issue-ID: SDC-2761
Change-Id: I9287e0255fdda8da61cafc4b761190c8992b9aff
Signed-off-by: MichaelMorris <michael.morris@est.tech>
4 years agoConfiguration file runtime reload 75/101175/5
andre.schmid [Wed, 29 Jan 2020 17:38:07 +0000 (17:38 +0000)]
Configuration file runtime reload

Reloads the backend configuration file when the file
listener catches a change.
Forces validations errors when the configuration file
could not be parsed.
Remove not used configurations.

Change-Id: Ic6fcb2b557d52ec53074c38ab8e0fcfa96e9be67
Issue-ID: SDC-2758
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoMove Jacoco to xml 96/101796/1
Ofir Sonsino [Sun, 16 Feb 2020 16:35:28 +0000 (18:35 +0200)]
Move Jacoco to xml

Change-Id: I9730c49b431715835f04f8579da944b096e2480e
Issue-ID: SDC-2740
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoUpdate PMSH Data Types 75/101675/1
dfarrelly [Thu, 13 Feb 2020 13:23:57 +0000 (13:23 +0000)]
Update PMSH Data Types

*Update PMSH Data Types to support multiple measurementGroups

Issue-ID: DCAEGEN2-1940
Change-Id: Iba6f8c0d88490a554de2b5e079508a3882aa14b8
Signed-off-by: dfarrelly <david.farrelly@est.tech>
4 years agoFix PropertyConvertor initialization (use spring) 50/101650/2
talig [Thu, 13 Feb 2020 07:02:47 +0000 (09:02 +0200)]
Fix PropertyConvertor initialization (use spring)

refactor static InterfacesOperationsToscaUtil to be non-static
InterfacesOperationsConverter (as it uses PropertyConvertor),

move logic from static ToscaExportUtils to ToscaExportHandler
(as it uses PropertyConvertor)

Change-Id: I917351ca59ee1e792c7b0850d6a8b246b71b4b03
Issue-ID: SDC-2765
Signed-off-by: talig <talig@amdocs.com>
4 years agoUpdate to Portal SDK v2.6 43/100543/4
Ofir Sonsino [Tue, 21 Jan 2020 13:29:57 +0000 (15:29 +0200)]
Update to Portal SDK v2.6

Change-Id: I602891d783ce4c80fca6e9da3c765218d19da993
Issue-ID: SDC-2684
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoMigrate sdc docs 23/101323/3
Jessica Wagantall [Thu, 6 Feb 2020 23:07:46 +0000 (15:07 -0800)]
Migrate sdc docs

Merging this will create
https://onap-sdc.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.

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

4 years agoMove to version 1.6.1 28/101428/4
shrek2000 [Sun, 9 Feb 2020 14:37:43 +0000 (16:37 +0200)]
Move to version 1.6.1

Move SDC to version 1.6.1
Issue-ID: SDC-2755

Change-Id: Ie9fcbacad5f0403bb98250928aff78b2354877bf
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
4 years agoAdd modeling consumer to SDC 12/101212/2
dyh [Thu, 6 Feb 2020 06:13:03 +0000 (14:13 +0800)]
Add modeling consumer to SDC

Change-Id: I5ef0070af934d901202c14d544a082ed3a41dff2
Issue-ID: MODELING-308
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
4 years agoIncrease code coverage 76/101176/2 1.6.1 1.6.2
shrek2000 [Wed, 5 Feb 2020 13:59:23 +0000 (15:59 +0200)]
Increase code coverage

Moving to lombok. ComponentMetadataDataDefinition did not use lombok. The Equal, hashCode and toString functions were too completed to maintain.
Issue-ID: SDC-2690

Change-Id: Ie83b6754579d2776cd0222d61ad4eb9be9e35e6c
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
4 years agoIncrease code coverage 74/101174/6
shrek2000 [Wed, 5 Feb 2020 13:41:59 +0000 (15:41 +0200)]
Increase code coverage

Moving to lombok. ServiceMetadataDataDefintion did not use lombok. The Equal, hashCode and toString functions were too completed to maintain.
Issue-ID: SDC-2690

Change-Id: I2e361ca790df8a271602c36bc57912ba2b7ed5fe
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
4 years agoFix for sanityUiTests 60/101160/1
aribeiro [Wed, 5 Feb 2020 09:11:21 +0000 (09:11 +0000)]
Fix for sanityUiTests

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

4 years agoFix loader for unready plugins 15/99715/3
ilanap [Tue, 17 Dec 2019 12:57:13 +0000 (14:57 +0200)]
Fix loader for unready plugins

Checks whether plugin was ready and will reset loader and ready event when moving between windows if not.

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

4 years agoFix for sdc-api-tests docker 32/101132/2
aribeiro [Tue, 4 Feb 2020 17:00:34 +0000 (17:00 +0000)]
Fix for sdc-api-tests docker

Issue-ID: SDC-2756
Change-Id: I87e319a71931881fdef5c5095c79df3a13f4515a
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
4 years agoFix sdc-backend-init heat type upgrade 77/100977/3
andre.schmid [Fri, 31 Jan 2020 14:36:58 +0000 (14:36 +0000)]
Fix sdc-backend-init heat type upgrade

Removes all heat and normative items from typesToUpgrade.json.
Add verbose to pycurl if is in debug mode, to print request
information.
Adjust to upgradeONAPNormative.py to the correct python
syntax and removing unused imports.

Change-Id: Id4ee601dd70b337c5eeb84965843305300ef7fe3
Issue-ID: SDC-2752, SDC-2753
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoRemove ES & Kibana 75/100975/3
vasraz [Fri, 31 Jan 2020 14:38:43 +0000 (14:38 +0000)]
Remove ES & Kibana

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

4 years agoMove to version 1.6.1 13/101013/2
shrek2000 [Sun, 2 Feb 2020 08:40:15 +0000 (10:40 +0200)]
Move to version 1.6.1

Move SDC to version 1.6.1
Issue-ID: SDC-2755
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
Change-Id: If5c55fdebb5bc2591190ee4389487f6dbb0e1831
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
4 years agoUpgrade to Cassandra 3 09/98309/13
shrek2000 [Thu, 30 Jan 2020 12:52:49 +0000 (14:52 +0200)]
Upgrade to Cassandra 3

Creating base dockers suitable for Cassandra 3
remove cqlsh version

Change-Id: I996bad2341410cdf45c49f191e998acf4781fc5d
Issue-ID: SDC-2596
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
4 years agoImplement policy element convertion during onboarding VSP 83/100583/4
Dmitry Puzikov [Tue, 14 Jan 2020 14:01:20 +0000 (15:01 +0100)]
Implement policy element convertion during onboarding VSP

Implement absent policy convertion.

Add test data for policies section convertion and
explicit test for checking if policies been converted.

Change-Id: I7d431a22922e1f9da0fbf0de4654995c3da42fcb
Issue-ID: SDC-2727
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix CLM job for NexusIQ scan 85/100885/2
Ofir Sonsino [Wed, 29 Jan 2020 09:32:55 +0000 (11:32 +0200)]
Fix CLM job for NexusIQ scan

Deploying common-app-api so it can be found in Nexus

Change-Id: I71401f70fa9c027be3a27be8ff253716961805d4
Issue-ID: SDC-2737
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoFixed sonar issues 60/99160/8
Dmitry Puzikov [Fri, 29 Nov 2019 08:57:27 +0000 (09:57 +0100)]
Fixed sonar issues

Refactored overcomplicated methods by splitting
into the  more simple.

Remove redundant conditional checks.

Move common checks into the utils class.

Fixed raw types usage where it is possible.

Add some tests.

Fixed typos in test names.

Fixed lost switch branch.

Issue-ID: SDC-2698
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Change-Id: Ifb5887401be4b397267b2f922cc9ad3f01c757f6

4 years agofix ui-ci tests 53/100853/2
Yuli Shlosberg [Tue, 28 Jan 2020 13:41:44 +0000 (15:41 +0200)]
fix ui-ci tests

Issue-ID: SDC-2730
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Change-Id: I45500daf397a523d450b30836dda188573de04a3

4 years agoRemove favicon logo 09/100809/1
Ofir Sonsino [Mon, 27 Jan 2020 11:33:49 +0000 (13:33 +0200)]
Remove favicon logo

Change-Id: I168b8ca43c438fc189a79585312b50b29082a82e
Issue-ID: SDC-2735
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoRemove ES + Kibana 02/100802/2
Ofir Sonsino [Sun, 26 Jan 2020 13:48:38 +0000 (15:48 +0200)]
Remove ES + Kibana

Remove logo from ci report

Change-Id: Idef648bc04feffc64ac513e0dbf212256e740978
Issue-ID: SDC-2724
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoexclude facade & CADI health-check 99/100799/1
Yuli Shlosberg [Sun, 26 Jan 2020 10:22:12 +0000 (12:22 +0200)]
exclude facade & CADI health-check

Issue-ID: SDC-2730
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Change-Id: Ibe83bdb139baf4f2fb82b5b98674ccf89d5bd7fa

4 years agoIncrease junit TCs 55/98755/8
vasraz [Tue, 15 Oct 2019 09:23:08 +0000 (10:23 +0100)]
Increase junit TCs

1. Re-enable disabled TCs (enable = true)
2. Enable @Ignored TCs
3. Add some Assert when missing
4. Remove old unused TCs (covered in UI)

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

4 years agoFix xpath selectors and format strings in ui-ci 08/100608/3
andre.schmid [Wed, 22 Jan 2020 16:17:07 +0000 (16:17 +0000)]
Fix xpath selectors and format strings in ui-ci

Change-Id: I70209d0c87dcb4277cb1355010a881553704b3f2
Issue-ID: SDC-2731
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoIgnore auto-generated file in catalog-be 74/100674/2
andre.schmid [Thu, 23 Jan 2020 11:47:09 +0000 (11:47 +0000)]
Ignore auto-generated file in catalog-be

Create a gitignore file to catalog-be and add autogenerated
file "Artifact-Generator.properties" to the ignore list.

Change-Id: Ia482e057c56d059c9ee5dde16fd6b0419623936e
Issue-ID: SDC-2724
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoFix sdc-BE-init container startup 71/100671/2
andre.schmid [Thu, 23 Jan 2020 10:51:28 +0000 (10:51 +0000)]
Fix sdc-BE-init container startup

Remove the while true in the startup.sh script that
prevents the container to stop.

Change-Id: If4acc41dde6e1b8d7f726adfef30ab6ddf20b640
Issue-ID: SDC-2724
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoremove unnecessary dependencies from pom 61/100661/3
Yuli Shlosberg [Thu, 23 Jan 2020 09:50:40 +0000 (11:50 +0200)]
remove unnecessary dependencies from pom

Issue-ID: SDC-2734
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Change-Id: I7ce13f05f646689ae730959d9d81b3b0b95cbbe6

4 years agoFix CSIT - adding missing parameters to template.json 58/100658/1
Yuli Shlosberg [Thu, 23 Jan 2020 09:21:29 +0000 (11:21 +0200)]
Fix CSIT - adding missing parameters to template.json

Issue-ID: SDC-2732
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Change-Id: Id4fd22b905e7f94725c6a3d83a8650453cbacb2f

4 years agoFix version.rb after Catalog alignment 00/100600/2
andre.schmid [Wed, 22 Jan 2020 14:49:32 +0000 (14:49 +0000)]
Fix version.rb after Catalog alignment

Change-Id: Ibd4401a13d39ecbb6e7ba079e7e66d59c70c9e4b
Issue-ID: SDC-2724, SDC-2729
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoCatalog alignment 63/100463/12
ys9693 [Sun, 19 Jan 2020 11:50:02 +0000 (13:50 +0200)]
Catalog alignment

Issue-ID: SDC-2724
Signed-off-by: ys9693 <ys9693@att.com>
Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe

4 years agoCSIT Fix for SDC-2585 37/100537/1
atulpurohit [Tue, 21 Jan 2020 10:32:05 +0000 (16:02 +0530)]
CSIT Fix for SDC-2585

Issue-ID: SDC-2722
Co-authored-by: nikhil.soni@vodafone.com
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
Change-Id: I4f9854a74231ffcce7d8bad9ed7d8dec4c408d63

4 years agoOnboard PNF software version Ui test case 30/99430/7
andre.schmid [Thu, 21 Nov 2019 13:23:07 +0000 (13:23 +0000)]
Onboard PNF software version Ui test case

Change-Id: Ie5785c220e15afbc35efaa8158ab86c41fc34437
Issue-ID: SDC-2702
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoRefresh option in validation result page 40/97940/10
atulpurohit [Tue, 5 Nov 2019 09:01:56 +0000 (14:31 +0530)]
Refresh option in validation result page

Issue-ID: SDC-2585
Co-authored-by: nikhil.soni@vodafone.com
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
Change-Id: I78f1385d219837c300cb33aff82b7459f137babb
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
4 years agoFix heat env test file 00/99900/1
Ofir Sonsino [Tue, 24 Dec 2019 09:57:26 +0000 (11:57 +0200)]
Fix heat env test file

Change-Id: Ib9540aef5da75535aef54bb5d56d790c080f2b09
Issue-ID: SDC-2560
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
4 years agoUnique identifier for test execution 35/97935/8
atulpurohit [Fri, 1 Nov 2019 09:31:03 +0000 (15:01 +0530)]
Unique identifier for test execution

Issue-ID: SDC-2584
Co-authored-by: nikhil.soni@vodafone.com
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
Change-Id: I3e7f1a84935cbcd26f8a42a6e2d2dbcb7533cb19
Signed-off-by: atulpurohit <atul.purohit1@vodafone.com>
4 years agoDisabled manual service creation for Partner 58/99458/7
Nilay Ranjan [Mon, 9 Dec 2019 17:28:39 +0000 (22:58 +0530)]
Disabled manual service creation for Partner

Changes to disable/hide Partner Domain Service
category to disable manual creation of such services

Issue-ID: SDC-2382
Change-Id: Ie15732360d78542f41101e315fa4aa803531b5f2
Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
4 years agoRevert "Add Option to proxy to plugins" 56/99756/2
aribeiro [Tue, 17 Dec 2019 10:23:13 +0000 (10:23 +0000)]
Revert "Add Option to proxy to plugins"

This reverts commit ee4c4d72

Issue-ID: SDC-2648
Change-Id: I1f6cba80d3fb803530573c75f2fc54ca207e768a
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
4 years agoIncreased code coverage using junits 61/99461/2
Annick Boghossian [Mon, 9 Dec 2019 04:48:38 +0000 (15:48 +1100)]
Increased code coverage using junits

Issue-ID: SDC-2699
Change-Id: Ifb0b9616a0218028b06755d6ef7150d54a82ecbb
Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
4 years agoFix unprocessed NPE 35/98935/4
Dmitry Puzikov [Thu, 28 Nov 2019 08:24:00 +0000 (09:24 +0100)]
Fix unprocessed NPE

Process NPE safe way.

Add no NPE failures tests.

Add caught exceptions logging.

Issue-ID: SDC-2694
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Change-Id: Ic1d6e7f9b4f210ac0ca289dc6f44d7c6e15ef126

4 years agoAdd PMSH Models 39/99039/6
dfarrelly [Mon, 2 Dec 2019 09:32:14 +0000 (09:32 +0000)]
Add PMSH Models

*Add PM Subscription Handler monitoring policy

Issue-ID: DCAEGEN2-1940
Change-Id: I82bd1d8d686365e124cd7b4438de583215e9fc0a
Signed-off-by: dfarrelly <david.farrelly@est.tech>
4 years agoFix different sonar issues 75/99575/2
Dmitry Puzikov [Thu, 12 Dec 2019 15:34:25 +0000 (16:34 +0100)]
Fix different sonar issues

Added exxception logging,
added tests.

Change-Id: Ia878030d13570b1445e9b077fce77ca387e69f9a
Issue-ID: SDC-2711
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix the lack of test coverage reported by sonar 58/99558/3
Dmitry Puzikov [Mon, 9 Dec 2019 08:36:35 +0000 (09:36 +0100)]
Fix the lack of test coverage reported by sonar

Added tests to increase coverage.

Fixed test faiulures.

Issue-ID: SDC-2710
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Change-Id: I3fb49f2fc794411347780a904837d8d0c61aa7bf

4 years agoCommiter removal from INFO.yaml 96/99596/1
Tomasz Golabek [Fri, 13 Dec 2019 08:43:47 +0000 (09:43 +0100)]
Commiter removal from INFO.yaml

Removed Piotr Darosz cause of resignation from commiter role

Change-Id: I9a72f220bdc62442d547ed14e61ca1014f95e5d0
Issue-ID: SDC-2448
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
4 years agoAdded datatypes for 3rd Party Partners 23/99123/2
Atif Husain [Wed, 4 Dec 2019 05:40:38 +0000 (16:40 +1100)]
Added datatypes for 3rd Party Partners

Issue-ID: SDC-2385
Change-Id: Iedc5d5b9b30e7cccd3654a1b6e84514643b6d62f
Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
4 years agoAdd service creation API as an External API 42/98642/6
Divyang Patel [Tue, 8 Oct 2019 04:19:53 +0000 (15:19 +1100)]
Add service creation API as an External API

Issue-ID: SDC-2383
Change-Id: I8490163310e892a7ebb6d7e7275edfdeba24045e
Signed-off-by: Atif Husain <atif.husain@team.telstra.com>
4 years agoFix failed merge job 11/99211/2
vasraz [Thu, 5 Dec 2019 13:53:51 +0000 (13:53 +0000)]
Fix failed merge job

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

4 years agoLogged all caught exceptions 59/99159/3
Dmitry Puzikov [Thu, 28 Nov 2019 13:33:24 +0000 (14:33 +0100)]
Logged all caught exceptions

Fix sonar issue related to logging
caught exceptions.

Change-Id: I61b2106165a81f3b2f0f9cc0da5911787504f50e
Issue-ID: SDC-2698
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoUpgrade sdc-tosca version in main SDC pom 05/99005/3
vasraz [Mon, 2 Dec 2019 13:56:40 +0000 (13:56 +0000)]
Upgrade sdc-tosca version in main SDC pom

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

4 years agoFix impossible to drag and drop same service twice into the composition 34/99134/3
Satoshi Fujii [Wed, 4 Dec 2019 07:15:41 +0000 (16:15 +0900)]
Fix impossible to drag and drop same service twice into the composition

When a service proxy instance including underscore in its name is added into
the composition, instance ID suffix is not properly calculated and that results
in duplicate key error due to ID conflict.
This change normalizes the name to find existing proxy instances to get suffix
number calculated properly.

Change-Id: I6f2ceb4b9cf020e1523264a99e1347b6caa98965
Issue-ID: SDC-2043
Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com>
4 years agoAdd Option to proxy to plugins 26/98926/4
ilanap [Thu, 28 Nov 2019 09:13:24 +0000 (11:13 +0200)]
Add Option to proxy to plugins

Added option to proxy the plugins throught the catalog proxy. Remove hardcoded redirect to workflow and added to the plugin configuration.

Issue-ID: SDC-2691
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: Ica479ff00e1a8c281b9280b5495ac022172775c4
Signed-off-by: ilanap <ilanap@amdocs.com>
4 years agoadd common-app-logging module 42/98842/3
Yuli Shlosberg [Tue, 26 Nov 2019 09:22:33 +0000 (11:22 +0200)]
add common-app-logging module

This module is responsible of logging mechanism in sdc project

Issue-ID: SDC-2686
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Change-Id: Icf9817fe2c8b8032757a700f6e6be18d2bc9f891

4 years agoUpdate package to add non-mano artifact onap_pnf_software_information. 48/98948/2
aribeiro [Thu, 28 Nov 2019 12:04:01 +0000 (12:04 +0000)]
Update package to add non-mano artifact onap_pnf_software_information.

Issue-ID: SDC-2641
Change-Id: Ifc51e106a7217158ce8c4aac41898956caa7ecec
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
4 years agoIncrease test coverage 90/98890/3
Dmitry Puzikov [Wed, 20 Nov 2019 16:08:22 +0000 (17:08 +0100)]
Increase test coverage

Added tests for uncovered default methods.

Change-Id: I3bd88ba5d53a8e5614bd72d2781801fcd5f3fe14
Issue-ID: SDC-2669
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix sonar issue with test coverage 92/98892/2
Dmitry Puzikov [Thu, 21 Nov 2019 14:44:17 +0000 (15:44 +0100)]
Fix sonar issue with test coverage

Added tests to cover the case.

Fixed provider load failure:
If more than one provider is configured and if the first if failng
try to load next one.

Change-Id: Idd7edb90e2b9b1cf21ec20e299140d3362bd1138
Issue-ID: SDC-2693
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoFix welcome screen close timeout 47/98847/2
andre.schmid [Mon, 25 Nov 2019 11:51:14 +0000 (11:51 +0000)]
Fix welcome screen close timeout

The welcome screen close timeout is triggering even if you close the
welcome window. After 4 seconds it forces the user to go to the home
screen even if it is already in another screen. The timeout was also
the cause for one known problem in the sanity ui test
"onapOnboardVNFflow".
Adds also a print screen to the ui tests, to check if the resource
was really clicked.
Removes invalids "throws Exception" declarations that were being
handled in the main test method "Vf.changeInstanceNameInVfTest", that
was catching also assertions errors.

Change-Id: Idff26b1ba5b199482e68cc50532fa20f4f834e34
Issue-ID: SDC-2648
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoFix Security Hotspots issues 56/98756/2
vasraz [Tue, 19 Nov 2019 11:31:19 +0000 (11:31 +0000)]
Fix Security Hotspots issues

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

4 years agoFixing sonar issue 55/98355/6
Dmitry Puzikov [Wed, 13 Nov 2019 11:51:41 +0000 (12:51 +0100)]
Fixing sonar issue

Getting rid of nested ifs-fors

Change-Id: I71ef686683b7070614c27aabbf6cd058b5d35ffd
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
4 years agoAdd alter_tables.cql to gitignore 93/98593/2
andre.schmid [Tue, 12 Nov 2019 11:34:20 +0000 (11:34 +0000)]
Add alter_tables.cql to gitignore

The alter_tables.cql is being copied during build and should be ignored.

Change-Id: I0a0a420e17761247a6575ad8715ccbd20fd5c1e1
Issue-ID: SDC-2640
Signed-off-by: andre.schmid <andre.schmid@est.tech>
4 years agoSonar fixes for API to retrieve UI configuration 80/98980/2
ilanap [Sun, 1 Dec 2019 08:10:33 +0000 (10:10 +0200)]
Sonar fixes for API to retrieve UI configuration

Added configuration file with the menu configuration from catalog-ui. Added to the configuration manager. to chef and to the ui rest APIs.

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

4 years agoUpgrade Node & npm version 66/98866/6
vasraz [Tue, 26 Nov 2019 17:20:27 +0000 (17:20 +0000)]
Upgrade Node & npm version

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

4 years agoAdd API to retrieve UI configuration 45/98845/3
ilanap [Tue, 26 Nov 2019 09:53:36 +0000 (11:53 +0200)]
Add API to retrieve UI configuration

Added configuration file with the menu configuration from catalog-ui. Added to the configuration manager. to chef and to the ui rest APIs.

Issue-ID: SDC-2663
Signed-off-by: ilanap <ilanap@amdocs.com>
Change-Id: Ia5e014a273238981241821c0d81b0455bd662b28
Signed-off-by: ilanap <ilanap@amdocs.com>
4 years agoFixing sonar issues 87/98587/3
Dmitry Puzikov [Tue, 19 Nov 2019 08:55:27 +0000 (09:55 +0100)]
Fixing sonar issues

Simplified method ConfigurationUtils::getProperty.

Added unit tests for method.

Change-Id: I521661b464e7f60101ee51ccbc9d915bf5030f31
Issue-ID: SDC-2654
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>