summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-09-06Revert 'Fix security issues in SecurityUtil'vasraz1-101/+66
Reason for revert: this change make SDC code retro-incompatible because of 'every-time-generated-key' Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ieda243d2f83fa67cbd38f86cde7ff44775c3fc1c Issue-ID: SDC-4163
2022-03-24Update INFO.yamlMichaelMorris1-25/+15
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3912 Change-Id: I41efe181f72c1466516cc5dc122bdb1c37699895
2021-07-19Remove dependency vulnerabilityvasraz1-50/+56
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I60ef860ebf5e4b152a38b45664bda2d7cecab27e Issue-ID: SDC-3572
2021-05-24Fix Critical Security vulnerabilitiesvasraz3-3/+21
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I937fdeef64ad7ef60f6062e3c39879899ba4ecb7 Issue-ID: SDC-3572
2021-05-20Fix tests not running after junit5 upgradeandre.schmid3-22/+45
There was a conflict with the junit version in spring boot and the one in the project. With that, maven surefire plugin was not finding the tests. The org.onap.sdc.security.logging.wrappers.LoggerTest was also broken with a conflict with mockito and an undesirable powermock library from org.onap.portal.sdk:epsdk-fw artifact. There was also an incorrect assertion in the test. Issue-ID: SDC-3604 Signed-off-by: André Schmid <andre.schmid@est.tech> Change-Id: Ieacedaa9c5204c2eab6ee96870f9b7726e06fc43
2021-05-12Merge "Update PTL in INFO.yaml"Christophe Closset1-5/+5
2021-05-11Update PTL in INFO.yamlMichaelMorris1-5/+5
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3544 Change-Id: I977e989baaaddf4f3d11d9d941bb814c900834a2
2021-05-07Release 1.6.1ChrisC1-0/+4
Release 1.6.1 for common including vuln dep fixes Issue-ID: SDC-3572 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I239e436db254c31883f48508e9cbd2cde24f3bc1
2021-04-30Vulnerable packages updateChrisC1-0/+4
Exclude log4j 1.2.17 from being pulled Issue-ID: SDC-3572 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I3fd25ddcd5f8e2089beed2d66bff82c2a3d65f48
2021-04-30Vulnerable packages updateChrisC30-165/+223
Update SDC-BE-COMMON to new version 1.6.1 Update several packages to the seccom recommended version updated tests to JUNIT5 Issue-ID: SDC-3572 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ibf26663aac0e3de6a36df4c723baa963206cc1b7
2021-04-20Update INFO.yamlChrisC1-0/+8
Add new committer Issue-ID: SDC-3544 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I08cb6b40eb977f726292c0bedaa9a8f3f1ecb3f7
2021-04-13Update INFO.yamlChrisC1-15/+9
Remove inactive committers Issue-ID: SDC-3544 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ie7082ca8325bc9582a14948acb907f5ace50e3f9
2021-04-01Update INFO.yamlChrisC1-0/+16
Add new SDC committers Issue-ID: SDC-3544 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I1a8bbfc9c536e3dcc37d0ea3b8c629563082d33b
2020-10-27Update INFO.yamlhonoluluChrisC1-0/+16
Add new SDC committers Issue-ID: SDC-3334 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I47f33ccd0d9e3b9451a12b99cc99fee81894bc39
2020-09-01Update INFO.yamlguilinChrisC1-5/+8
Update PTL and move project to Mature as per TSC decision Issue-ID: SDC-3243 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: If3021bfb91c60687bc8b0da2b2a9e4dcb9f87cc0
2020-08-12Merge "Call "Optional#isPresent()" before accessing the value in PortalClient"Christophe Closset3-63/+80
2020-08-12Call "Optional#isPresent()" before accessing the value in PortalClientNeil Derraugh3-63/+80
- Fixed unchecked instances of Optional - Added a comment describing my understanding of the intent of the areUserRolesChanged method Issue-ID: SDC-3101 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: I7328fc291df62ad9a4789a5640fc3cb46418bdd5 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2020-07-20Align INFO.yamlChrisC1-73/+126
Align committers list from last TSC approved decision Issue-ID: SDC-3203 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I0427a0d92aca1e853932d95643c91ba75d8eb63c
2020-06-16Add unit tests for ZusammenElementUtilm.kowalski32-19/+79
Also improve tests for ZusammenAdaptorImplTest Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Id6c27fd5bb4a651a857cc5bdb55e310709cb4ed3
2020-05-31Upgrade Junit to 5.6Neil Derraugh29-535/+569
- Update @Before -> @BeforeEach, @After -> @AfterEach - Update Mockito usage - Update assertThrows so not to expect exceptions Issue-ID: SDC-3078 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: I0b1056698767c4b060e243bbda799253072b4b55
2020-05-31Merge "Fix security issue in CipherUtil"Ofir Sonsino2-11/+17
2020-05-21Add unit test for SecurityLogsUtilsm.kowalski31-0/+44
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I9e235cb0569c29b4b0f8237fed3538758f4d8bf7
2020-05-19Fix security issue in CipherUtilNeil Derraugh2-11/+17
- Specified mode and padding to address risky algorithm Issue-ID: SDC-2976 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: I3a2344f3d4a14ad7cb7e01a68148858147a41427
2020-05-19Add unit test for StatusCodem.kowalski31-0/+39
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Ib3f1a672b07c38a7c4252624ff9e68fe35d0947e
2020-05-18Merge "Add unit test for EcompLoggerErrorCode"Ofir Sonsino1-0/+52
2020-05-18Add unit test for EcompLoggerErrorCodem.kowalski31-0/+52
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I38ea3b9d037a4fca633333a26c105df87f511bd4
2020-05-18Merge "Add unit test for Severity"Ofir Sonsino1-0/+39
2020-05-17Populate Id from item/version obj only in createtalig4-2/+2
and not in item/version update APIs. Issue-ID: SDC-3069 Signed-off-by: talig <talig@amdocs.com> Change-Id: Ib3cfe3bbfbf26f171fe2966d1816f98fd1c232d6
2020-05-14Add unit test for Severitym.kowalski31-0/+39
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Ie2120686736c0dc8ceb1f44f39f7e3ac5715c09a
2020-05-13Add unit test for LoggerSupportabilityActionsm.kowalski31-0/+46
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: Ie89baf783a5a6508182bd910f745abcf4b65d70d
2020-04-27Fix security issues in SecurityUtilNeil Derraugh1-70/+96
- Removed hard coded key - Specified mode and padding to address risky algorithm Issue-ID: SDC-2975 Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com> Change-Id: I3360c0ace0ae49571294b8e8c160f0415c578d36
2020-03-30Add ability to set item/version Id upon creationtalig14-37/+130
Issue-ID: SDC-2860 Signed-off-by: talig <talig@amdocs.com> Change-Id: If09337e55cce99462fa05617b8691ce34eabf5b1
2020-02-25Fix item status mapping to zusammentalig2-8/+12
Issue-ID: SDC-2778 Signed-off-by: talig <talig@amdocs.com> Change-Id: I44fe83a3334b15073c15a3c5aa08c11cca25e0d7
2020-02-16Move Jacoco to xmlOfir Sonsino2-2/+15
Change-Id: I46934cba9d7ee3bf5125f0158882b61085b454c3 Issue-ID: SDC-2740 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2020-02-16Config consistency level LOCAL_QUORUM in zusammentalig1-0/+2
Issue-ID: SDC-2770 Signed-off-by: talig <talig@amdocs.com> Change-Id: Iea95afd4d849f108a49477dada8ccc207b23e186
2020-01-30Add test cases for security-util-libgummar2-0/+253
Test files added for a. LoggerSdcAudit.java b. LoggerSdcUtilBase.java Issue-ID: SDC-2736 Change-Id: I9a6ef40e85cfa7efebcd672bdb393316709442d9 Signed-off-by: gummar <raj.gumma@est.tech>
2020-01-29Add test cases for security-util-libgummar2-0/+864
Test files added for a. Logger.java b. LogFieldsMdcHandler.java Issue-ID: SDC-2736 Change-Id: Ifbd4ba51a6d423b515d9dedf3be5c97befff0651 Signed-off-by: gummar <raj.gumma@est.tech>
2019-12-18update info.yamlOfir Sonsino1-0/+8
Change-Id: I238b2052dda1d93ba98a0291e0d59ce70e32659e Issue-ID: SDC-2448 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-12-11Merge "Fix Sonar issues"Ojas Dubey1-9/+6
2019-12-05Fix Sonar issuesshrek20001-9/+6
Public class variable fields do not respect the ncapsulation principle https://sonar.onap.org/project/issues?id=org.onap.sdc.sdc-be-common%3Asdc-be-common-parent%3Amaster&open=AW6fpbQilnf4Fh92BMWX&resolved=false&types=VULNERABILITY Issue-ID: SDC-2697 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I82f9aa980d8a2eb283a11c05a86095a27fad71ab Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2019-12-04Increase code coverageshrek20001-0/+97
test VersionManagementImpl Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I047c335032a18867bb2c80db10bf2204b5edf4f6
2019-12-04Merge "Increase code coverage"Ilana Paktor1-0/+98
2019-12-04Merge "Release 1.6.0"6.0.0-ONAPfrankfurtOfir Sonsino1-0/+4
2019-12-03Increase code coverageshrek20001-0/+98
test ZusammenConnector Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I18172cdd45d9160acabb8370c62ac47f279e99df Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2019-12-03Increase code coverageshrek20001-0/+53
test ZusammenConnector Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I301f7718c09491c34207908819370193b2c74b01 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2019-12-02Increase code coverageshrek20001-0/+47
test ZusammenConnector Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I655b6e2ad31a0fe1be842af04444e96ab81641c5
2019-12-01Merge "Fix Sonar issues"Ofir Sonsino1-69/+84
2019-12-01Increase code coverageshrek20001-0/+31
test ZusammenConnector Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: Ide319e4dda496666711cb4b5597cc166ffdd4e2c
2019-11-28Merge "Fix Sonar issues"Ilana Paktor1-2/+2
2019-11-28Merge "Fix Sonar issues"Ilana Paktor1-30/+4