aboutsummaryrefslogtreecommitdiffstats
path: root/pnfsimulator/src
AgeCommit message (Collapse)AuthorFilesLines
2020-05-07Add docker-compose to run PNFsim with dynamic certs from AAFMichal Banka1-4/+4
Signed-off-by: Michal Banka <michal.banka@nokia.com> Change-Id: I135734b17dc88728e199f35f52e87d2651006574 Issue-ID: INT-1583
2020-04-27Add variables to PNF simulator events and update loggingBartosz Gardziejewski11-92/+336
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I48931c0b4c68cd4de548cfa7dbaa950a24d13545
2020-04-23Merge "Fix import in FsToDbTemplateSynchronizer"Bogumil Zebek1-1/+1
2020-04-23Fix import in FsToDbTemplateSynchronizer1.0.0edyta1-1/+1
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Icc383992dac2392ee1bbb5352aec202c087c2457
2020-04-23Merge "Add string formatter to error message"Bogumil Zebek1-1/+9
2020-04-23Add string formatter to error messageBartosz Gardziejewski1-1/+9
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
2020-04-23Merge "Add synchronize TestCase FsToDbTemplateSynchronizer"Bogumil Zebek1-0/+53
2020-04-23Add synchronize TestCase FsToDbTemplateSynchronizeredyta1-0/+53
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I11c4006ec1ec14a5af38b19bd4bf66dcfa80bbbe
2020-04-22Merge "Fix getting template by name from rest endpoint"Bogumil Zebek1-7/+17
2020-04-22Merge "Fix sonar issue SslSuportLevel"Bogumil Zebek1-1/+1
2020-04-22Merge "Increase tests coverage"Bogumil Zebek3-14/+165
2020-04-22Fix sonar issue SslSuportLevelAleksandra Maciaga1-1/+1
Issue-ID: INT-1517 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I8ef686ef569d5bac727404bc46d1b164b363a872
2020-04-22Increase test coverage for SslAuthenticationHelperAleksandra Maciaga1-40/+5
Issue-ID: INT-1517 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I2dc3f721e7bc6f6e0d89355e13592839aac9c985
2020-04-22Fix getting template by name from rest endpointBartosz Gardziejewski1-7/+17
Issue-ID: INT-1533 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: If7839bb91228d0e9cb43afe38c48dd11f52cb871
2020-04-22Increase tests coverageMichal Banka3-14/+165
Change-Id: Ie1e2333ee43604408ddd0551aae536bbc9bda5a7 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: INT-1517
2020-04-22Merge "Fix sonar issue KeywordsHandler RuntimeException"Bogumil Zebek2-4/+34
2020-04-22Merge "Fix sonar issue SimulatorController"Bogumil Zebek1-2/+10
2020-04-22Fix sonar issue KeywordsHandler RuntimeExceptionedyta2-4/+34
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ib862d81a6ab3b26cfeebc2f9175ed6b6f061706c
2020-04-22Fix sonar issue SimulatorControllerAleksandra Maciaga1-2/+10
Issue-ID: INT-1517 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I7af9529be268cb40922868ee62e3318509166287
2020-04-22Merge "Add EventData missing toString test"Bogumil Zebek1-11/+2
2020-04-22Add EventData missing toString testedyta1-11/+2
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I93f9947081a239725c2c3808aef61a663df3383c
2020-04-22Merge "Created test for TwoParameterKeyword class"Bogumil Zebek1-0/+48
2020-04-21Merge "Provide the parametrized type for this generic"Bogumil Zebek2-12/+12
2020-04-21Provide the parametrized type for this genericAleksandra Maciaga2-12/+12
Issue-ID: INT-1517 Signed-off-by: Aleksandra Maciaga <aleksandra.maciaga@nokia.com> Change-Id: I9e40d3cc8b6a71afd05ed027b71a1a7474a388a8
2020-04-21Fix sonar issue FsToDbTemplateSynchronizeredyta1-7/+7
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Iaa4ec60c00d186feb225244969c12993dfdf5569
2020-04-21Created test for TwoParameterKeyword classMichal Banka1-0/+48
Change-Id: Iab819e485be2bfdb49cda7d2b83c7a37cdf48e30 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: INT-1517
2020-04-21Remove usage of generic wildcard typeBogumil Zebek1-6/+3
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
2020-04-21Merge "Check if command line arguments are used properly"Krzysztof Kuzmicki1-1/+3
2020-04-21Check if command line arguments are used properlyBogumil Zebek1-1/+3
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
2020-04-21Fix security vulnerableBogumil Zebek1-1/+6
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
2020-04-21Resolve checkstyle warnings in PNF simulatorBartosz Gardziejewski39-545/+575
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I43e9f129c24ef33d93b550600e4dd850f881126b
2020-04-20Add test for DBTemplateReaderBogumil Zebek1-0/+81
Issue-ID: INT-1517 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: Iccd03fa2b784fc249536103a4e3184824d2c6486
2020-04-20Merge "Fix sonar issue SslSupportLevel"Bogumil Zebek1-1/+1
2020-04-20Merge "Fix sonar issue HttpClientAdapterImpl"Bogumil Zebek1-12/+12
2020-04-20Merge "Fix sonar issue EventScheduler"Bogumil Zebek1-32/+31
2020-04-20Merge "Fix sonar issue EventJob"Bogumil Zebek1-5/+6
2020-04-20Merge "Fix sonar issue SimualtorService"Bogumil Zebek1-4/+4
2020-04-20Merge "Fix sonar issue FsToDbTemplateSynchronizer"Bogumil Zebek1-1/+1
2020-04-20Merge "Fix sonar Keyword"Bogumil Zebek1-7/+9
2020-04-20Merge "Fix sonar issue SslSupportLevel"Bogumil Zebek1-3/+0
2020-04-20Merge "Fix sonar issue ResponseBuilderTest"Bogumil Zebek1-7/+8
2020-04-20Merge "Fix sonar issue WatcherEventProcessorTest"Bogumil Zebek1-10/+11
2020-04-20Merge "Fix sonar issue KeywordsValueProviderTest"Bogumil Zebek1-12/+13
2020-04-20Fix sonar issue SslSupportLeveledyta1-4/+1
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ib871854a2becfbef7cf568f09f20b61b72361547
2020-04-17Fix sonar issue HttpClientAdapterImpledyta1-12/+12
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I4b3ccce1525f57102b1a0ed47e1b017f7daebd17
2020-04-17Fix sonar issue EventScheduleredyta1-32/+31
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I77f0858d83aa1ccaab735bff9515366374ba4179
2020-04-17Fix sonar issue SimualtorServiceedyta1-4/+4
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I1aeb643ac21c2230860bda3eb7771924e4668016
2020-04-17Fix sonar issue SslSupportLeveledyta1-3/+0
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ia9335aa1a3511d2c6dae4d845584c3ef36274349
2020-04-17Fix sonar Keywordedyta1-7/+9
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I9957d54a84a6c093e1289b66b45585a8c2b71f0e
2020-04-17Fix sonar issue EventJobedyta1-5/+6
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I973fe6d5854d50d93a6bf874d3066b6137a6012b