aboutsummaryrefslogtreecommitdiffstats
path: root/pnfsimulator/src
AgeCommit message (Collapse)AuthorFilesLines
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 "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
2020-04-17Fix sonar issue FsToDbTemplateSynchronizeredyta1-1/+1
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I492f6453558bf26b80319b34545b956fe9ae9d45
2020-04-17Fix sonar issue WatcherEventProcessorTestedyta1-10/+11
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Ieb636249c1a6dd5867050e7d788192ef40341ead
2020-04-17Fix sonar issue ResponseBuilderTestedyta1-7/+8
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I5fbd02d8e81bbaf46230556703ebdeb0cc653471
2020-04-17Fix sonar issue KeywordsValueProviderTestedyta1-12/+13
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I092e792087463e7331549bb14d0bc4a7f550b342
2020-04-17Fix sonar issue SslSupportLevelTestedyta1-3/+3
Issue-ID: INT-1517 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I69522e0cbccb5f24f7fc8f29f0ee2ee7c866b0ef
2020-04-08Move PNF simulator from /test/mocks to new projectBartosz Gardziejewski98-0/+7544
This code is a copy of pnfsimulator located in integration repository (/test/mocks/pnfsimulator) with added profile "docker" in pom.xml located in pnfsimulator and netconfsimulator subprojects Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I725fa0530c41b13cb12705979dee8b8b354dc1a1