aboutsummaryrefslogtreecommitdiffstats
path: root/pnfsimulator
AgeCommit message (Collapse)AuthorFilesLines
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-21Merge "Fix security vulnerable"Krzysztof Kuzmicki1-1/+6
2020-04-21Merge "Add lombok annotations config to be skipped in coverage"Bogumil Zebek1-0/+2
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-21Merge "Remove unused/duplicated dependencies and group them in scope groups"Bogumil Zebek1-64/+6
2020-04-21Add lombok annotations config to be skipped in coverageMichal Banka1-0/+2
Change-Id: Iffde6ca3be457b18490b4025c70acc963963a209 Signed-off-by: Michal Banka <michal.banka@nokia.com> Issue-ID: INT-1517
2020-04-21Remove unused/duplicated dependencies and group them in scope groupsPawel1-64/+6
Issue-ID: INT-1517 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Ied46b2a6f33711aa5cde3328353f33011ff0c3cd
2020-04-21Resolve checkstyle warnings in PNF simulatorBartosz Gardziejewski40-546/+576
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I43e9f129c24ef33d93b550600e4dd850f881126b
2020-04-21Merge "Extract versions to properties"Bogumil Zebek1-57/+89
2020-04-20Extract versions to propertiesPawel1-57/+89
Issue-ID: INT-1517 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: If966e5f755fc22ad428141bc9d3fdbeb756fa6f8
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-15Updating oparent to 2.1.0 and adding JaCoCoBartosz Gardziejewski1-0/+22
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1dc20dd5394de4c1576ec6f0803054ca3e636e19
2020-04-15Adding version as variable in DockerfilesBartosz Gardziejewski1-1/+4
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I701583e9d5ed1089178cd5bd590034dd7bcc9402
2020-04-15Remove JaCoCo pluginBartosz Gardziejewski1-25/+0
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I2d09f4b1555fcc4226e6453f403916ea931266ad
2020-04-15Update versions and base images in dockerfilesBartosz Gardziejewski1-2/+2
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I09e39b54c064522ffa5473c0226f5049ad7b57ef
2020-04-14Merge "Fix names in distributionManagement"Bogumil Zebek1-2/+2
2020-04-14Fix names in distributionManagementBartosz Gardziejewski1-2/+2
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I4da091fec148732b92c2c74f67aa09e7e45d0bd6
2020-04-14Update PNF simulator root project nameBartosz Gardziejewski2-3/+3
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I22f131df7eb89f9f623be819f87b1c977256ad6e
2020-04-10Update project structureBogumil Zebek1-4/+4
Fix groupId, version and docker tag. Issue-ID: INT-1517 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I6a20e816fb53c2b50e58ca5680dd886cea8fc6b2
2020-04-09Add distribution management in pomBartosz Gardziejewski1-0/+18
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I7bb906bbf993ee6adce253b356a039f259172669
2020-04-08Move PNF simulator from /test/mocks to new projectBartosz Gardziejewski137-0/+10101
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