integration/simulators/pnf-simulator.git
4 years agoRelease pnf-simulator container 1.0.2 67/116867/3
marcinrzepeckiwroc [Thu, 14 Jan 2021 11:23:29 +0000 (12:23 +0100)]
Release pnf-simulator container 1.0.2

Issue-ID: INT-1814
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Change-Id: Ie4a7b9b8bf23ac3997222e877066c9d2703d8979

4 years agoUpdate pom.xml 66/116866/1
marcinrzepeckiwroc [Thu, 14 Jan 2021 10:43:36 +0000 (11:43 +0100)]
Update pom.xml

Issue-ID: INT-1814
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Change-Id: I457b4ab0544c9007907a46e7de345539de0095d6

4 years agoUpdate Pnf simulator version to 1.0.2 94/116694/2
marcinrzepeckiwroc [Fri, 8 Jan 2021 12:03:06 +0000 (13:03 +0100)]
Update Pnf simulator version to 1.0.2
Add pom for Http Server

Issue-ID: INT-1814
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Change-Id: I86b18a38a4d21c42d4bf321c73ba3d2bbce24742

4 years agoExtend PNF simulator with HTTP server 78/116678/1
marcinrzepeckiwroc [Tue, 22 Dec 2020 15:23:58 +0000 (16:23 +0100)]
Extend PNF simulator with HTTP server

Issue-ID: INT-1814
Change-Id: I06eeb81e46d6a96976f64eece6bbf7209665c1d2
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
5 years agoAdd Lasse as Integration committer 95/115195/1
mrichomme [Fri, 20 Nov 2020 17:37:31 +0000 (18:37 +0100)]
Add Lasse as Integration committer

Issue-ID: INT-1788

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I2bf6308dc64337b87bfd2954601390256293f8ec

5 years agoAdjust PNF simulator to read passwords to stores from files 97/113997/6
Adam Wudzinski [Mon, 19 Oct 2020 11:45:05 +0000 (13:45 +0200)]
Adjust PNF simulator to read passwords to stores from files

Issue-ID: INT-1746
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: Ib8a59500c15759bb09bb8b19e4757f1c48625af5

5 years agoAdjust PNF simulator to use strict hostname checking. 39/113939/9
tkogut [Fri, 16 Oct 2020 11:01:29 +0000 (13:01 +0200)]
Adjust PNF simulator to use strict hostname checking.
Use separate keystore/truststore for ves.
Add network for communication between ves and pnfsim.

Issue-ID: INT-1744
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
Change-Id: I6626ac6d6f74e739aeb93879eddfd44f9e9383ea

5 years agoAdd CMPv2 E2E test case in robot test suite 68/113668/10
Krzysztof Kuzmicki [Thu, 8 Oct 2020 08:16:45 +0000 (10:16 +0200)]
Add CMPv2 E2E test case in robot test suite

Fix Dockerfile in order to load mongo db collections.

Issue-ID: INT-1731

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: Icf941827c8a58f0a4ce49fcbdf3e446a208611bc

5 years agoMerge "Adjust PNF simulator to use CertService from OOM repo"
Bogumil Zebek [Wed, 7 Oct 2020 10:42:32 +0000 (10:42 +0000)]
Merge "Adjust PNF simulator to use CertService from OOM repo"

5 years agoAdjust PNF simulator to use CertService from OOM repo 79/113379/5
Pawel [Wed, 30 Sep 2020 13:51:47 +0000 (15:51 +0200)]
Adjust PNF simulator to use CertService from OOM repo

Issue-ID: INT-1730
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: Ica77a1099847e3b4c2670b6567416de75d6e2f45

5 years agoAdd CMPv2 E2E test case in robot test suite 17/113517/2
Krzysztof Kuzmicki [Mon, 5 Oct 2020 06:21:42 +0000 (08:21 +0200)]
Add CMPv2 E2E test case in robot test suite

Fix Dockerfile in order to load proper client cert and truststore passwords.

Issue-ID: INT-1731

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: Ic4f171c1ad7513dd0f897b762478ed4701cc315e

5 years agoAdd CMPv2 E2E test case in robot test suite 12/113412/1
Krzysztof Kuzmicki [Thu, 1 Oct 2020 07:12:42 +0000 (09:12 +0200)]
Add CMPv2 E2E test case in robot test suite

Add templates and application properties to image in order to independent image from code in gerrit.

Issue-ID: INT-1731

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I55ca1bba9a757ba3ec1ab4046200d5a10a1ffc78

5 years agoUpdate INFO.yaml 39/113039/2
mrichomme [Wed, 23 Sep 2020 08:41:34 +0000 (10:41 +0200)]
Update INFO.yaml

Issue-ID: INT-1724

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I4d60137f00f285f0332bb782db9d9cdced06f194
Signed-off-by: mrichomme <morgan.richomme@orange.com>
5 years agoExtend Dmaap simulator to support all topics. 39/110439/1
Bartosz Gardziejewski [Wed, 22 Jul 2020 10:42:45 +0000 (12:42 +0200)]
Extend Dmaap simulator to support all topics.

Issue-ID: DCAEGEN2-1771
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I23ff978dc8ab2e0b7c3c7ab0388114748b70bc60

5 years agoRemove superfluous 'docker login' invocations 06/109506/1
Bartek Grzybowski [Wed, 24 Jun 2020 12:25:35 +0000 (14:25 +0200)]
Remove superfluous 'docker login' invocations

Logging to docker registry once suffices

Change-Id: I1f2efc18cf5257e9327782ca13d63b7175c70c50
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoAdd Onap's docker registry address to the image names 05/109505/1
Bartek Grzybowski [Wed, 24 Jun 2020 12:22:05 +0000 (14:22 +0200)]
Add Onap's docker registry address to the image names

By default compose services leverage locally built images
which is not the case in onboaring package so there was
no chance it could work.

Change-Id: Ide25355da0535272e341ee4c4e15ef6eabf048de
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoSet the 'noninteractive' frontend for debconf 82/109482/1
Bartek Grzybowski [Wed, 24 Jun 2020 09:41:38 +0000 (11:41 +0200)]
Set the 'noninteractive' frontend for debconf

Docker installation script doesn't set debconf fronted
explicitly thus default interactive was used and the
runcmd was stalling.

Change-Id: If9bf60c71f96d010ff1dac4f333a8bf07d5c032c
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoFix remote shell setup in HOT 51/109451/1
Bartek Grzybowski [Tue, 23 Jun 2020 10:55:14 +0000 (12:55 +0200)]
Fix remote shell setup in HOT

'PermitRootLogin' keyword is commented out by default
so sed pattern needed adjustment to actually work.

Nova injected rule that forbids root login was removed
from authorized_keys file.

Change-Id: Ib582848a2499ce4a882c5199069b3c5de57b1b3b
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoUpgrade pnf-simulator repo link 49/109449/1
Bartek Grzybowski [Tue, 23 Jun 2020 10:12:55 +0000 (12:12 +0200)]
Upgrade pnf-simulator repo link

PNF Simulator was moved to it's own repo of
integration/simulators/pnf-simulator so updating
broken links.

Change-Id: Idbd940c3898d34b68d9c0578deee5078ff2bdcad
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoUpgrade docker-ce and docker-compose releases in deployment package 48/109448/1
Bartek Grzybowski [Tue, 23 Jun 2020 09:49:28 +0000 (11:49 +0200)]
Upgrade docker-ce and docker-compose releases in deployment package

Ubuntu release in example HOT env file is bumped to
Ubuntu Bionic and related docker tools versions are
upgraded accordingly.

Change-Id: I45b1d94cfcc8ec4513f5e26fd6613f6ebc199e78
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoDrop unused/obsolete "docker_remove" routine 13/109413/1
Bartek Grzybowski [Mon, 22 Jun 2020 13:48:07 +0000 (15:48 +0200)]
Drop unused/obsolete "docker_remove" routine

Change-Id: I5c567fe12d1318422c958a087a01241e261ca9bb
Issue-ID: INT-1634
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoSetup tox runner for simulator-cli tests 44/109344/1
Bartek Grzybowski [Fri, 19 Jun 2020 10:32:42 +0000 (12:32 +0200)]
Setup tox runner for simulator-cli tests

Change-Id: If006ab2cf6a3cb22af9c0134daf29aab6e479ad3
Issue-ID: INT-1632
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoFix some wording in the documentation 08/109308/1
Bartek Grzybowski [Thu, 18 Jun 2020 13:18:15 +0000 (15:18 +0200)]
Fix some wording in the documentation

Change-Id: I04683fe3fc7a3746fe0639704ae2081a5ca6eae5
Issue-ID: INT-1631
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoRemove obsoleted part concerning running the simulator 05/109305/1
Bartek Grzybowski [Thu, 18 Jun 2020 12:57:53 +0000 (14:57 +0200)]
Remove obsoleted part concerning running the simulator

"Simulator.sh" script is no longer present in current simulator
release and instructions on how to run it are mentioned in first
section.

Change-Id: I3a16dc1f15abfec901c3c700fb99fcccd600e1b0
Issue-ID: INT-1631
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
5 years agoAdd deployment for fetching certs from CertService 27/108727/6
Michal Banka [Wed, 3 Jun 2020 08:51:51 +0000 (10:51 +0200)]
Add deployment for fetching certs from CertService

Change-Id: Icb59854a88e83b799781c227e465bfb98ed502b6
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: INT-1612

5 years agoMerge "Update INFO.yaml" frankfurt 6.0.0-ONAP
Marcin Przybysz [Thu, 14 May 2020 08:50:38 +0000 (08:50 +0000)]
Merge "Update INFO.yaml"

5 years agoAdd version and parent path to PNF integration pom 05/107605/1
Bartosz Gardziejewski [Wed, 13 May 2020 06:32:30 +0000 (08:32 +0200)]
Add version and parent path to PNF integration pom

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I9e61eb6fc7d90ef9ddd6a9cb7d1f66d564696819

5 years agoMerge "Add profile "integration" that will run integration tests for PNF and Netconf"
Bogumil Zebek [Wed, 13 May 2020 05:28:33 +0000 (05:28 +0000)]
Merge "Add profile "integration" that will run integration tests for PNF and Netconf"

5 years agoAdd profile "integration" that will run integration tests for PNF and Netconf 33/107533/1
Bartosz Gardziejewski [Tue, 12 May 2020 09:56:14 +0000 (11:56 +0200)]
Add profile "integration" that will run integration tests for PNF and Netconf

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ib03bad90ac6921e9f75bda6d1e5163ef05b06d3e

5 years agoMerge "Refactor sanity check"
Bogumil Zebek [Tue, 12 May 2020 08:03:33 +0000 (08:03 +0000)]
Merge "Refactor sanity check"

5 years agoUpdate INFO.yaml 15/107515/1
mrichomme [Tue, 12 May 2020 06:48:56 +0000 (08:48 +0200)]
Update INFO.yaml

Issue-ID: INT-1587

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I728c2f1e25c9b8e06d9f862401a500a26518963d

5 years agoRefactor sanity check 42/107442/1
Bartosz Gardziejewski [Mon, 11 May 2020 09:16:16 +0000 (11:16 +0200)]
Refactor sanity check

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ifbbdb73b03aa975ae9cabc1d91be60e1012fb01b

5 years agoAdd default values for client and store passwords 38/107438/1
Bartosz Gardziejewski [Mon, 11 May 2020 08:16:40 +0000 (10:16 +0200)]
Add default values for client and store passwords

When running PNF simulator locally (with no AAF connected)
password environment variables were empty

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I4135f93c6428317e6ef3769e81133e852c1adc63

5 years agoFix crashing file watcher thread 16/107316/3
Bartosz Gardziejewski [Thu, 7 May 2020 12:06:18 +0000 (14:06 +0200)]
Fix crashing file watcher thread

When file is empty it throws BSONException, that wasn't handled

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: If868e40e8120b3d935895b6c4c4fe38d14a41843

5 years agoMerge "Add active waiting in integration tests"
Bogumil Zebek [Fri, 8 May 2020 11:07:07 +0000 (11:07 +0000)]
Merge "Add active waiting in integration tests"

5 years agoMerge "Refactor pnf integration test"
Bogumil Zebek [Fri, 8 May 2020 11:06:30 +0000 (11:06 +0000)]
Merge "Refactor pnf integration test"

5 years agoMerge "Add health check endpoint"
Bogumil Zebek [Fri, 8 May 2020 10:44:47 +0000 (10:44 +0000)]
Merge "Add health check endpoint"

5 years agoMerge "Fix failing integration test in netconf simulator"
Bogumil Zebek [Fri, 8 May 2020 10:42:03 +0000 (10:42 +0000)]
Merge "Fix failing integration test in netconf simulator"

5 years agoAdd docker-compose to run PNFsim with dynamic certs from AAF 04/107304/4
Michal Banka [Thu, 7 May 2020 08:27:38 +0000 (10:27 +0200)]
Add docker-compose to run PNFsim with dynamic certs from AAF

Signed-off-by: Michal Banka <michal.banka@nokia.com>
Change-Id: I135734b17dc88728e199f35f52e87d2651006574
Issue-ID: INT-1583

5 years agoRefactor pnf integration test 14/107314/1
Bartosz Gardziejewski [Thu, 7 May 2020 11:33:00 +0000 (13:33 +0200)]
Refactor pnf integration test

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I2603b7fe3cd1e567e521e3be9e117ae02bd48fe2

5 years agoAdd active waiting in integration tests 19/107219/2
Bartosz Gardziejewski [Wed, 6 May 2020 11:46:31 +0000 (13:46 +0200)]
Add active waiting in integration tests

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Id9a6324852de83f0dfc0f5dfa133ef672a7a5aed

5 years agoAdd health check endpoint 07/107207/1
Bartosz Gardziejewski [Wed, 6 May 2020 10:17:30 +0000 (12:17 +0200)]
Add health check endpoint

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I0767c2a02954b28c11dbdacc565eeaf96b8194be

5 years agoFix failing integration test in netconf simulator 90/106890/5
Bartosz Gardziejewski [Thu, 30 Apr 2020 12:44:07 +0000 (14:44 +0200)]
Fix failing integration test in netconf simulator

Issue-ID: INT-1535
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I75ec965ea580d96386c74834f146af4c7e44feca

5 years agoAdd variables to PNF simulator events and update logging 46/105646/5
Bartosz Gardziejewski [Thu, 9 Apr 2020 09:49:18 +0000 (11:49 +0200)]
Add variables to PNF simulator events and update logging

Issue-ID: INT-1517
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I48931c0b4c68cd4de548cfa7dbaa950a24d13545

5 years agoMerge "Update versions in README"
Bogumil Zebek [Fri, 24 Apr 2020 08:32:59 +0000 (08:32 +0000)]
Merge "Update versions in README"

5 years agoUpdate versions in README 69/106569/1
Bartosz Gardziejewski [Fri, 24 Apr 2020 05:50:15 +0000 (07:50 +0200)]
Update versions in README

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I3be243f5620ae36f84e6bcf9eac3fca21d174253

5 years agoSwitch pnf simulator to the new version 97/106497/1
Bogumil Zebek [Thu, 23 Apr 2020 11:58:07 +0000 (13:58 +0200)]
Switch pnf simulator to the new version

Prepare new release line. Version: 1.0.1

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Ib64b2d4e37e22824479bdc408ce99f507215b0db

5 years agoMerge "Release pnf simulator containers"
Krzysztof Kuzmicki [Thu, 23 Apr 2020 10:42:00 +0000 (10:42 +0000)]
Merge "Release pnf simulator containers"

5 years agoRelease pnf simulator containers 86/106486/2
Bogumil Zebek [Thu, 23 Apr 2020 09:12:26 +0000 (11:12 +0200)]
Release pnf simulator containers

Official Frankfurt release. Version: 1.0.0

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I293923cd72b01ec2f1174ad7668a373c0ddb6f61

5 years agoMerge "Fix import in FsToDbTemplateSynchronizer"
Bogumil Zebek [Thu, 23 Apr 2020 07:31:58 +0000 (07:31 +0000)]
Merge "Fix import in FsToDbTemplateSynchronizer"

5 years agoFix import in FsToDbTemplateSynchronizer 81/106481/1 1.0.0
edyta [Thu, 23 Apr 2020 07:20:01 +0000 (09:20 +0200)]
Fix import in FsToDbTemplateSynchronizer

Issue-ID: INT-1517
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: Icc383992dac2392ee1bbb5352aec202c087c2457

5 years agoMerge "Add string formatter to error message"
Bogumil Zebek [Thu, 23 Apr 2020 06:58:27 +0000 (06:58 +0000)]
Merge "Add string formatter to error message"

5 years agoAdd string formatter to error message 80/106480/1
Bartosz Gardziejewski [Thu, 23 Apr 2020 06:32:22 +0000 (08:32 +0200)]
Add string formatter to error message

Logger.error is seen by sonar as bug due to message formatting.
To resolve this issue formatting was extracted to previous line.

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: If470a94fe4349759a46ac4ff70301c5bdddc619f

5 years agoMerge "Add synchronize TestCase FsToDbTemplateSynchronizer"
Bogumil Zebek [Thu, 23 Apr 2020 06:23:47 +0000 (06:23 +0000)]
Merge "Add synchronize TestCase FsToDbTemplateSynchronizer"

5 years agoAdd synchronize TestCase FsToDbTemplateSynchronizer 51/106451/3
edyta [Wed, 22 Apr 2020 14:38:05 +0000 (16:38 +0200)]
Add synchronize TestCase FsToDbTemplateSynchronizer

Issue-ID: INT-1517
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: I11c4006ec1ec14a5af38b19bd4bf66dcfa80bbbe

5 years agoMerge "Rename docker images"
Krzysztof Kuzmicki [Wed, 22 Apr 2020 13:05:42 +0000 (13:05 +0000)]
Merge "Rename docker images"

5 years agoRename docker images 47/106447/3
Bogumil Zebek [Wed, 22 Apr 2020 12:25:30 +0000 (14:25 +0200)]
Rename docker images

Before container release we need to fix container names to be more descriptive.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I6f6f17a5625df6d90b040dc5683202b1187cf386

5 years agoMerge "Fix getting template by name from rest endpoint"
Bogumil Zebek [Wed, 22 Apr 2020 12:44:11 +0000 (12:44 +0000)]
Merge "Fix getting template by name from rest endpoint"

5 years agoMerge "Fix sonar issue SslSuportLevel"
Bogumil Zebek [Wed, 22 Apr 2020 12:35:11 +0000 (12:35 +0000)]
Merge "Fix sonar issue SslSuportLevel"

5 years agoMerge "Increase tests coverage"
Bogumil Zebek [Wed, 22 Apr 2020 12:34:35 +0000 (12:34 +0000)]
Merge "Increase tests coverage"

5 years agoMerge "Increase test coverage for SslAuthenticationHelper"
Bogumil Zebek [Wed, 22 Apr 2020 12:33:02 +0000 (12:33 +0000)]
Merge "Increase test coverage for SslAuthenticationHelper"

5 years agoFix sonar issue SslSuportLevel 45/106445/1
Aleksandra Maciaga [Wed, 22 Apr 2020 12:20:19 +0000 (14:20 +0200)]
Fix sonar issue SslSuportLevel

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I8ef686ef569d5bac727404bc46d1b164b363a872

5 years agoIncrease test coverage for SslAuthenticationHelper 40/106440/5
Aleksandra Maciaga [Wed, 22 Apr 2020 10:45:01 +0000 (12:45 +0200)]
Increase test coverage for SslAuthenticationHelper

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I2dc3f721e7bc6f6e0d89355e13592839aac9c985

5 years agoCreate local CSITs to verify simulator flow with VES 11/106411/8
Pawel [Wed, 22 Apr 2020 09:03:54 +0000 (11:03 +0200)]
Create local CSITs to verify simulator flow with VES

Issue-ID: INT-1544
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: Id54a6674fef815b91b0a6d10e73d2c8d2c431ef4

5 years agoMerge "Add SonarQube local starter"
Krzysztof Kuzmicki [Wed, 22 Apr 2020 10:43:52 +0000 (10:43 +0000)]
Merge "Add SonarQube local starter"

5 years agoAdd SonarQube local starter 02/106402/5
Bogumil Zebek [Wed, 22 Apr 2020 07:32:21 +0000 (09:32 +0200)]
Add SonarQube local starter

In README_SONAR.md you can find how to configure and run SonarQube locally.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Ic5daa070e56cd28bd18b8f8f8abcbb793005cf3a

5 years agoFix getting template by name from rest endpoint 15/106415/1
Bartosz Gardziejewski [Wed, 22 Apr 2020 10:06:23 +0000 (12:06 +0200)]
Fix getting template by name from rest endpoint

Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: If7839bb91228d0e9cb43afe38c48dd11f52cb871

5 years agoIncrease tests coverage 88/106388/6
Michal Banka [Tue, 21 Apr 2020 22:44:57 +0000 (00:44 +0200)]
Increase tests coverage

Change-Id: Ie1e2333ee43604408ddd0551aae536bbc9bda5a7
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: INT-1517

5 years agoMerge "Fix sonar issue KeywordsHandler RuntimeException"
Bogumil Zebek [Wed, 22 Apr 2020 09:19:59 +0000 (09:19 +0000)]
Merge "Fix sonar issue KeywordsHandler RuntimeException"

5 years agoMerge "Fix sonar issue SimulatorController"
Bogumil Zebek [Wed, 22 Apr 2020 09:19:23 +0000 (09:19 +0000)]
Merge "Fix sonar issue SimulatorController"

5 years agoFix sonar issue KeywordsHandler RuntimeException 51/106351/3
edyta [Tue, 21 Apr 2020 12:37:56 +0000 (14:37 +0200)]
Fix sonar issue KeywordsHandler RuntimeException

Issue-ID: INT-1517
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: Ib862d81a6ab3b26cfeebc2f9175ed6b6f061706c

5 years agoFix sonar issue SimulatorController 52/106352/2
Aleksandra Maciaga [Tue, 21 Apr 2020 12:59:06 +0000 (14:59 +0200)]
Fix sonar issue SimulatorController

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I7af9529be268cb40922868ee62e3318509166287

5 years agoMerge "Add EventData missing toString test"
Bogumil Zebek [Wed, 22 Apr 2020 07:34:30 +0000 (07:34 +0000)]
Merge "Add EventData missing toString test"

5 years agoAdd EventData missing toString test 55/106355/3
edyta [Tue, 21 Apr 2020 13:31:20 +0000 (15:31 +0200)]
Add EventData missing toString test

Issue-ID: INT-1517
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: I93f9947081a239725c2c3808aef61a663df3383c

5 years agoMerge "Update java to version 11"
Bogumil Zebek [Wed, 22 Apr 2020 05:32:03 +0000 (05:32 +0000)]
Merge "Update java to version 11"

5 years agoMerge "Created test for TwoParameterKeyword class"
Bogumil Zebek [Wed, 22 Apr 2020 05:25:03 +0000 (05:25 +0000)]
Merge "Created test for TwoParameterKeyword class"

5 years agoMerge "Provide the parametrized type for this generic"
Bogumil Zebek [Tue, 21 Apr 2020 13:55:41 +0000 (13:55 +0000)]
Merge "Provide the parametrized type for this generic"

5 years agoMerge "Remove deprecated method"
Krzysztof Kuzmicki [Tue, 21 Apr 2020 13:12:44 +0000 (13:12 +0000)]
Merge "Remove deprecated method"

5 years agoProvide the parametrized type for this generic 49/106349/2
Aleksandra Maciaga [Tue, 21 Apr 2020 12:15:12 +0000 (14:15 +0200)]
Provide the parametrized type for this generic

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I9e40d3cc8b6a71afd05ed027b71a1a7474a388a8

5 years agoRemove deprecated method 50/106350/1
Bogumil Zebek [Tue, 21 Apr 2020 12:26:56 +0000 (14:26 +0200)]
Remove deprecated method

Once deprecated, classes, and interfaces, and their members should be avoided, rather than used, inherited or extended. Deprecation is a warning that the class or interface has been superseded, and will eventually be removed. The deprecation period allows you to make a smooth transition away from the aging, soon-to-be-retired technology.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I985959d614c6f2544b0515ed52d6343f194e4720

5 years agoFix sonar issue FsToDbTemplateSynchronizer 48/106348/1
edyta [Tue, 21 Apr 2020 12:12:08 +0000 (14:12 +0200)]
Fix sonar issue FsToDbTemplateSynchronizer

Issue-ID: INT-1517
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: Iaa4ec60c00d186feb225244969c12993dfdf5569

5 years agoCreated test for TwoParameterKeyword class 39/106339/2
Michal Banka [Tue, 21 Apr 2020 11:07:40 +0000 (13:07 +0200)]
Created test for TwoParameterKeyword class

Change-Id: Iab819e485be2bfdb49cda7d2b83c7a37cdf48e30
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: INT-1517

5 years agoMerge "Fix sonar issue NetconfMessageListenerTest"
Bogumil Zebek [Tue, 21 Apr 2020 12:04:21 +0000 (12:04 +0000)]
Merge "Fix sonar issue NetconfMessageListenerTest"

5 years agoMerge "Fix checkstyle warnings in netconf simulator"
Bogumil Zebek [Tue, 21 Apr 2020 12:03:40 +0000 (12:03 +0000)]
Merge "Fix checkstyle warnings in netconf simulator"

5 years agoFix checkstyle warnings in netconf simulator 27/106327/2
Bartosz Gardziejewski [Tue, 21 Apr 2020 09:29:43 +0000 (11:29 +0200)]
Fix checkstyle warnings in netconf simulator

Issue-ID: INT-1517
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I518c4863563217db746ccb5082aef7727a175bc7

5 years agoFix sonar issue NetconfMessageListenerTest 45/106345/1
Aleksandra Maciaga [Tue, 21 Apr 2020 11:39:45 +0000 (13:39 +0200)]
Fix sonar issue NetconfMessageListenerTest

Tests should include assertions

A test case without assertions ensures only that no exceptions are thrown. Beyond basic runnability, it ensures nothing about the behavior of the code under test.

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I0f60482a6db2e24b23630c88bf13264c4d6fbbd6

5 years agoMerge "Fix sonar issue NetconfConfigurationService"
Bogumil Zebek [Tue, 21 Apr 2020 11:25:41 +0000 (11:25 +0000)]
Merge "Fix sonar issue NetconfConfigurationService"

5 years agoMerge "Fix sonar issue NetconfEndpoint"
Bogumil Zebek [Tue, 21 Apr 2020 11:08:16 +0000 (11:08 +0000)]
Merge "Fix sonar issue NetconfEndpoint"

5 years agoMerge "Provide the parametrized type for this generic"
Krzysztof Kuzmicki [Tue, 21 Apr 2020 11:06:26 +0000 (11:06 +0000)]
Merge "Provide the parametrized type for this generic"

5 years agoUpdate java to version 11 35/106335/1
Bartosz Gardziejewski [Tue, 21 Apr 2020 10:38:49 +0000 (12:38 +0200)]
Update java to version 11

Issue-ID: INT-1517
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ibd3e10c534758e1b26e3a1cbd8154f5aeb423721

5 years agoRemove usage of generic wildcard type 34/106334/1
Bogumil Zebek [Tue, 21 Apr 2020 10:22:41 +0000 (12:22 +0200)]
Remove usage of generic wildcard type

It is highly recommended not to use wildcard types as return types. Because the type inference rules are fairly complex it is unlikely the user of that API will know how to use it correctly.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Ib7fac9587e158afce6856309dfb2f397661c72b9

5 years agoMerge "Check if command line arguments are used properly"
Krzysztof Kuzmicki [Tue, 21 Apr 2020 10:01:51 +0000 (10:01 +0000)]
Merge "Check if command line arguments are used properly"

5 years agoProvide the parametrized type for this generic 32/106332/1
Bogumil Zebek [Tue, 21 Apr 2020 09:59:38 +0000 (11:59 +0200)]
Provide the parametrized type for this generic

Generic types shouldn't be used raw (without type parameters) in variable declarations or return values. Doing so bypasses generic type checking, and defers the catch of unsafe code to runtime.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I211f57a49a78edcb538a9c9d19e543371811845b

5 years agoFix sonar issue NetconfEndpoint 30/106330/2
Aleksandra Maciaga [Tue, 21 Apr 2020 09:45:58 +0000 (11:45 +0200)]
Fix sonar issue NetconfEndpoint

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: Ie6d5f5b32dc28ac64a95cec90d483476aee39451

5 years agoMerge "Fix security vulnerable"
Krzysztof Kuzmicki [Tue, 21 Apr 2020 09:34:52 +0000 (09:34 +0000)]
Merge "Fix security vulnerable"

5 years agoMerge "Add lombok annotations config to be skipped in coverage"
Bogumil Zebek [Tue, 21 Apr 2020 09:34:13 +0000 (09:34 +0000)]
Merge "Add lombok annotations config to be skipped in coverage"

5 years agoFix sonar issue NetconfConfigurationService 29/106329/1
Aleksandra Maciaga [Tue, 21 Apr 2020 09:28:53 +0000 (11:28 +0200)]
Fix sonar issue NetconfConfigurationService

Issue-ID: INT-1517
Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com>
Change-Id: I08192bfd07455f7aa929060840d7e63d9a00f156

5 years agoCheck if command line arguments are used properly 28/106328/1
Bogumil Zebek [Tue, 21 Apr 2020 09:31:49 +0000 (11:31 +0200)]
Check if command line arguments are used properly

Yes. Parameters are used properly. Thus we will turn off SONAR rule (Using command line arguments is security-sensitive) for this main functions.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: I659ba8d6d932653f4866667faa04236a72d77b6b

5 years agoFix security vulnerable 26/106326/1
Bogumil Zebek [Tue, 21 Apr 2020 09:24:14 +0000 (11:24 +0200)]
Fix security vulnerable

User provided data, such as URL parameters, POST data payloads or cookies, should always be considered untrusted and tainted. Applications logging tainted data could enable an attacker to inject characters that would break the log file pattern. This could be used to block monitors and SIEM (Security Information and Event Management) systems from detecting other malicious events.

This problem could be mitigated by sanitizing the user provided data before logging it.

Issue-ID: INT-1517
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Ifc4cd24daba49c3fe2e41a5709a87d5cf3daa642

5 years agoMerge "Remove unused/duplicated dependencies and group them in scope groups"
Bogumil Zebek [Tue, 21 Apr 2020 09:13:03 +0000 (09:13 +0000)]
Merge "Remove unused/duplicated dependencies and group them in scope groups"