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
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
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>
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
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
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
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
Bogumil Zebek [Wed, 7 Oct 2020 10:42:32 +0000 (10:42 +0000)]
Merge "Adjust PNF simulator to use CertService from OOM repo"
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
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
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Marcin Przybysz [Thu, 14 May 2020 08:50:38 +0000 (08:50 +0000)]
Merge "Update INFO.yaml"
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
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"
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
Bogumil Zebek [Tue, 12 May 2020 08:03:33 +0000 (08:03 +0000)]
Merge "Refactor sanity check"
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
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
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
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
Bogumil Zebek [Fri, 8 May 2020 11:07:07 +0000 (11:07 +0000)]
Merge "Add active waiting in integration tests"
Bogumil Zebek [Fri, 8 May 2020 11:06:30 +0000 (11:06 +0000)]
Merge "Refactor pnf integration test"
Bogumil Zebek [Fri, 8 May 2020 10:44:47 +0000 (10:44 +0000)]
Merge "Add health check endpoint"
Bogumil Zebek [Fri, 8 May 2020 10:42:03 +0000 (10:42 +0000)]
Merge "Fix failing integration test in netconf simulator"
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
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
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
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
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
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
Bogumil Zebek [Fri, 24 Apr 2020 08:32:59 +0000 (08:32 +0000)]
Merge "Update versions in README"
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
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
Krzysztof Kuzmicki [Thu, 23 Apr 2020 10:42:00 +0000 (10:42 +0000)]
Merge "Release pnf simulator containers"
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
Bogumil Zebek [Thu, 23 Apr 2020 07:31:58 +0000 (07:31 +0000)]
Merge "Fix import in FsToDbTemplateSynchronizer"
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
Bogumil Zebek [Thu, 23 Apr 2020 06:58:27 +0000 (06:58 +0000)]
Merge "Add string formatter to error message"
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
Bogumil Zebek [Thu, 23 Apr 2020 06:23:47 +0000 (06:23 +0000)]
Merge "Add synchronize TestCase FsToDbTemplateSynchronizer"
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
Krzysztof Kuzmicki [Wed, 22 Apr 2020 13:05:42 +0000 (13:05 +0000)]
Merge "Rename docker images"
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
Bogumil Zebek [Wed, 22 Apr 2020 12:44:11 +0000 (12:44 +0000)]
Merge "Fix getting template by name from rest endpoint"
Bogumil Zebek [Wed, 22 Apr 2020 12:35:11 +0000 (12:35 +0000)]
Merge "Fix sonar issue SslSuportLevel"
Bogumil Zebek [Wed, 22 Apr 2020 12:34:35 +0000 (12:34 +0000)]
Merge "Increase tests coverage"
Bogumil Zebek [Wed, 22 Apr 2020 12:33:02 +0000 (12:33 +0000)]
Merge "Increase test coverage for SslAuthenticationHelper"
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
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
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
Krzysztof Kuzmicki [Wed, 22 Apr 2020 10:43:52 +0000 (10:43 +0000)]
Merge "Add SonarQube local starter"
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
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
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
Bogumil Zebek [Wed, 22 Apr 2020 09:19:59 +0000 (09:19 +0000)]
Merge "Fix sonar issue KeywordsHandler RuntimeException"
Bogumil Zebek [Wed, 22 Apr 2020 09:19:23 +0000 (09:19 +0000)]
Merge "Fix sonar issue SimulatorController"
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
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
Bogumil Zebek [Wed, 22 Apr 2020 07:34:30 +0000 (07:34 +0000)]
Merge "Add EventData missing toString test"
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
Bogumil Zebek [Wed, 22 Apr 2020 05:32:03 +0000 (05:32 +0000)]
Merge "Update java to version 11"
Bogumil Zebek [Wed, 22 Apr 2020 05:25:03 +0000 (05:25 +0000)]
Merge "Created test for TwoParameterKeyword class"
Bogumil Zebek [Tue, 21 Apr 2020 13:55:41 +0000 (13:55 +0000)]
Merge "Provide the parametrized type for this generic"
Krzysztof Kuzmicki [Tue, 21 Apr 2020 13:12:44 +0000 (13:12 +0000)]
Merge "Remove deprecated method"
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
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
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
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
Bogumil Zebek [Tue, 21 Apr 2020 12:04:21 +0000 (12:04 +0000)]
Merge "Fix sonar issue NetconfMessageListenerTest"
Bogumil Zebek [Tue, 21 Apr 2020 12:03:40 +0000 (12:03 +0000)]
Merge "Fix checkstyle warnings in netconf simulator"
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
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
Bogumil Zebek [Tue, 21 Apr 2020 11:25:41 +0000 (11:25 +0000)]
Merge "Fix sonar issue NetconfConfigurationService"
Bogumil Zebek [Tue, 21 Apr 2020 11:08:16 +0000 (11:08 +0000)]
Merge "Fix sonar issue NetconfEndpoint"
Krzysztof Kuzmicki [Tue, 21 Apr 2020 11:06:26 +0000 (11:06 +0000)]
Merge "Provide the parametrized type for this generic"
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
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
Krzysztof Kuzmicki [Tue, 21 Apr 2020 10:01:51 +0000 (10:01 +0000)]
Merge "Check if command line arguments are used properly"
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
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
Krzysztof Kuzmicki [Tue, 21 Apr 2020 09:34:52 +0000 (09:34 +0000)]
Merge "Fix security vulnerable"
Bogumil Zebek [Tue, 21 Apr 2020 09:34:13 +0000 (09:34 +0000)]
Merge "Add lombok annotations config to be skipped in coverage"
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
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
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
Bogumil Zebek [Tue, 21 Apr 2020 09:13:03 +0000 (09:13 +0000)]
Merge "Remove unused/duplicated dependencies and group them in scope groups"
Michal Banka [Tue, 21 Apr 2020 09:06:52 +0000 (11:06 +0200)]
Add lombok annotations config to be skipped in coverage
Change-Id: Iffde6ca3be457b18490b4025c70acc963963a209
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: INT-1517