aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03General Sonar fixesArindam Mondal3-7/+5
+)Organize imports ++) log formatter Issue-ID: SDC-2542 Change-Id: Ibb4b568b19ee40a68f783bfa820bd7c73aae5c1f Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-27General Sonar fixesArindam Mondal2-647/+491
+) Replace System.out with logger ++) Use try-with-resources to close the resource +++) Format to delete tab charachter ++++) flip equals to avoid potential NPE Issue-ID: SDC-2542 Change-Id: If57f36072ec67e9622d4fe51bce8336094dc10c8 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-08-22unit tests - asdctoolTomasz Golabek3-123/+163
Additional junit tests Change-Id: I889772efaccbc6f1555d50cd47a02d868348d310 Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-24Autowired annotation for catalog-beTomasz Golabek5-61/+25
Injection of the properties moved to the constructors/setters replacing field annotations. Change-Id: I766ff67e466bec5a91db1035f29e7f919d32e0ea Issue-ID: SDC-2400 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-22Improved test for ReportManger, ArtifactValidationUtils and Sonar fixes.k.kedron1-26/+23
Add new ReportManagerHelper to read files with reports. Fixed log.info to print the types of exception in the messages. Removed redundant new lines in the report files. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If0135f01a05b0936dad681d16e846a6c6560cc80
2019-07-22Improved the CsarGenerator unit tests.k.kedron1-8/+8
Improved the CsarGeneratoryTest. Checkstyle for CsarGenerator and fixed typos. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I8159dd47540ee3f5ed8b46f99c494c0cb24ed1d6
2019-07-22Improved unit tests for ArtifactValidationUtils and Sonar fixes.k.kedron2-30/+40
Added new tests for ArtifactValidationUtils. Checkstyle in the ValidationConfigManager and ArtifactValidationUtils. Added private constructor to ValidationConfigManager. Added logger for ArtifactValidationUtils and simplified code. Updated the ValidationConfigManagerTest and ReportManagerTests to not influence on each other. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I9c7c725792737b6cfa6bba20eeeb3b1d4ef1e471
2019-07-16Fixing buildWojciech Sliwka1-2/+8
Change-Id: Ia75cdf511e44347294bb646add89b6c1f60f239c Issue-ID: SDC-2403 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-16Constructor injection in asdctoolPiotr Darosz23-99/+253
Use constructor injection where possible Change-Id: Ibc80850166406a6e3230f555818988109e6ca776 Issue-ID: SDC-2403 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek87-60/+1710
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-07Remove field injection in catalog-daoWojciech Sliwka5-12/+22
Change-Id: I24c3a898fa34491e80074944614722fbb3085515 Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-23ExportImportMenu testsTomasz Golabek1-146/+149
Main class tested and refactored Change-Id: I379a18c289b613cdc7ecbb1617618af96ffa275b Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar30-438/+529
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-10Inheritance in ComponentExceptionTomasz Golabek1-1/+2
ComponentException was split into ByActionStatus and ByResponseFormat exceptions. Test added for ComponentLockAspectTest in passing Change-Id: I89c9ee966b8b4445e791af897bd60cdb845b845b Issue-ID: SDC-2321 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-03fix sonar: close resourcesk.kazak2-36/+46
Use try-with-resources to close file data stream Fix tests for GraphJsonValidator Change-Id: I20931b4ef815abfb8da8ebd6242b765d0b02ef23 Issue-ID: SDC-2340 Signed-off-by: k.kazak@samsung.com
2019-03-25fix a typoLiang Ding1-1/+1
retrive -- > retrieve Change-Id: Ic6bce5b991c042cc2d19f1f72dd827644111b105 Issue-ID: SDC-2207 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-03-18Service Consumption BEojasdubey1-0/+167
1. Service consumption feature backend implementation 2. Operation output bug fix for delete operation not allowed for mapped operation output Change-Id: Ib2554eed4f940b003955263a0c8bf795a23cac9a Issue-ID: SDC-1990 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-02-26Fix Blocker & Critical Sonar issues in asdctoolParshad Patel3-11/+13
Fix NullPointerException issues Update test case Issue-ID: SDC-1895 Change-Id: I183b0bee127efa4331e79a1b76df558dbc9ca33a Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-11-29Fix critical sonar issuesParshad Patel2-1/+2
Fix rethrow the "InterruptedException" and Use "isAssignableFrom" sonar issues Issue-ID: SDC-1895 Change-Id: I2cadc08b9e7acdc84cf25a3ce9d22199711afa5d Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-11-22asdctool code quality improvementsSonsino, Ofir (os0695)8-48/+64
Change-Id: I443c9bb288d123d10bcc2f1f58f540206fb947fc Issue-ID: SDC-1950 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-11-19Refactor Code asdctool classesSindhuri.A2-39/+32
Code refactor : asdctool classes Issue-ID: SDC-1880 Change-Id: I9a3bfb20441f7c5df25c6a61b77abcb8268a0d62 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-11-11Deleted artifact generator modulesvempo1-12/+16
Change-Id: Ibad18285edc1181d7247d395efa8f2322e255147 Issue-ID: SDC-1906 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-09-25Add copyright info for asdctool classesSindhuri.A3-0/+87
Addition of copyright info for asdctool classes Issue-ID: SDC-1754 Change-Id: I3c899fa3d4b9aec7b09c4ee1c81f1a36d64b34e1 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-09-18Fix use try-with-resources issues in asdctoolParshad Patel2-35/+18
Fix sonar issues in ArtifactValidatorExecuter.java,ExportImportTitanServlet.java Issue-ID: SDC-1672 Change-Id: I39a6376ea61de135bfb824e121adff37b631fdf2 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-08-29Add tests for SdcSchema classesPiotr Darosz1-3/+9
Introduce Cassandra Unit tool and tests for schema-related classes Change-Id: I14da602c42056730e7992dd92b4da8b87dd9fb0d Issue-ID: SDC-1358 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2018-08-06ASDC dead code removalPiotr Krysiak7-199/+33
Issue-ID: SDC-1493 Change-Id: I74c1748eb2b1f478a0e44b07c174f95964fed667 Signed-off-by: Piotr Krysiak <piotr.krysiak@nokia.com>
2018-08-05Fix sonar issuesParshad Patel2-35/+27
Fix try-with-resources and NPE issue Issue-ID: SDC-1529 Change-Id: Ia1071608528493e0a1a2985c458998d1197a8c0b Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-08-01sonar issue fix blocker, criticalArindam Mondal2-12/+9
Issue-ID: SDC-1534 Change-Id: I58ae2497568fbdff58a1928bdc1e7187be9f0632 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-07-29re base codeMichael Lando76-1738/+3605
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-24Fix use try-with-resources sonar issueParshad Patel1-47/+8
Fix in ArtifactUuidFix.java Issue-ID: SDC-1529 Change-Id: Ic6438acbeebcbd5cdaa078a63700560563c518c6 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-07-10update dockers base version to 1.4.0Yuli Shlosberg2-3/+1
Change-Id: I6c2490ade7ff3071487be5c0e783060390e2a2f1 Issue-ID: SDC-1344 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-07-02first attempt to fix vulnerabilitiesYuli Shlosberg11-85/+98
Change-Id: Iaf5f7db54511f730e09a8af8921d52ebf7f6c078 Issue-ID: SDC-1457 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-06-12update sdc logic for new typesMichael Lando1-19/+35
update sdc conformance level and add logic to package onap normatives. Change-Id: I321eeb0cccf662346eb36cb42420fd8fca72ae32 Issue-ID: SDC-1380 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-06Raise JUnit coverage asdctoolTal Gitelman21-77/+49
Change-Id: I26742875e8e3dddb98b525c4833588bc23d81fdc Issue-ID: SDC-1296 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-05-01Remove dead code asdctoolTal Gitelman14-40/+7
Change-Id: I467f70b442a02a15b8a18b160309bac9a8ab3f9a Issue-ID: SDC-1270 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-04-30Remove dead code asdctoolTal Gitelman1-352/+0
Change-Id: I74d37c867fc0d9899095bf96af03807253173fdf Issue-ID: SDC-1270 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2018-03-07Sync Integ to MasterMichael Lando42-1970/+2809
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74 Issue-ID: SDC-977 Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
2018-02-20Sonar fixes in ArtifactUuidFixwejs1-1138/+1046
Blocker sonar issues fix and CheckStyle formating corrections. Change-Id: Iad6db09237d3ca7766e10d55f85171a89b4f36c3 Issue-ID: SDC-1013 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-15Sonar fixes in DataMigrationwejs2-774/+743
Blocker and other sonar issues fix and Check style corrections. Change-Id: I508a0e33666caaaa350bb7aa6e26f74b112cd6b7 Issue-ID: SDC-1035 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-08Sonar fixes in ArtifactValidatorExecuterwejs1-110/+102
Blocker sonar issues fix and CheckStyle formating corrections. Change-Id: I0882722f66bb0bb80b6eb85fe11657d10fe86d37 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2017-12-10Final commit to master merge fromTal Gitelman33-71/+3207
Change-Id: Ib464f9a8828437c86fe6def8af238aaf83473507 Issue-ID: SDC-714 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-10-22add more unit tests remove importsYuli Shlosberg18-72/+117
Change-Id: If2274759f929f595e63d71cc70c374268c019947 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit b947eb599bfab4599ce1b0c0573b1701c646e429)
2017-10-18Sanity docker buildTal Gitelman1-3/+0
Sanity docker build & vLB + vCSCF_aligned VNF addition Change-Id: I5998c7232c1a99c6ad83066f6dd19cd45bb8b351 Issue-ID: SDC-478 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-08-07[SDC] syncTal Gitelman1-7/+0
Change-Id: I150c22c816c52cc142e8d0f3c92e5df7ecea4e3c Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
2017-08-02[SDC] code rebase for sdc resync to LFAvi Ziv68-11556/+159
Change-Id: If6d87c9e324f508a8a6b80b10a03d1843901472e Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-30[SDC]add information to final report.cb478c5-25/+71
Change-Id: I20eab3422e74e22606a763007641108cbb0856d1 Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-30[SDC]first draft of module json validation taskcb478c2-0/+80
Change-Id: I551560e79ccd284ab852e8c1f1fec6cc9bf958d0 Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-24[SDC] 1710 rebaseMichael Lando1-5/+9
Change-Id: Ib07b7baacc68a357d302ee591e1fe74151dcea96 Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-22[sdc] 1710 rebase codeMichael Lando2-18/+244
Change-Id: Icedeac71c0a9d27518969effcd5d5519de9955a6 Signed-off-by: Michael Lando <ml636r@att.com>
2017-07-20[SDC] 1710 rebase + pom modificationsMichael Lando6-2/+105
Change-Id: I1f9c0a5201576c7a6b124f6a786db12c1a8cd7c0 Signed-off-by: Michael Lando <ml636r@att.com>