aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/src
AgeCommit message (Collapse)AuthorFilesLines
2019-07-22Improved unit tests for ArtifactValidationUtils and Sonar fixes.k.kedron5-158/+308
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-17Remove duplicated entries on error-configuration.yamlvasraz1-1780/+1769
Change-Id: Ie9caf4a01283df368fd441f8ddecc82b84caa861 Issue-ID: SDC-2455 Signed-off-by: vasraz <vasyl.razinkov@est.tech>
2019-07-16Fixing buildWojciech Sliwka2-3/+11
Change-Id: Ia75cdf511e44347294bb646add89b6c1f60f239c Issue-ID: SDC-2403 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-07-16Constructor injection in asdctoolPiotr Darosz39-176/+405
Use constructor injection where possible Change-Id: Ibc80850166406a6e3230f555818988109e6ca776 Issue-ID: SDC-2403 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
2019-07-14ComponentCache & ComponentCassandraDao removalTomasz Golabek2-39/+0
Also removed all classes uses these two. Change-Id: I6793c3c935ae61c5c65f70d3541c542edf188ab4 Issue-ID: SDC-2389 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-11Added oparent to sdc mainTomasz Golabek157-108/+3158
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 Sliwka11-26/+50
Change-Id: I24c3a898fa34491e80074944614722fbb3085515 Issue-ID: SDC-2398 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-06-23ExportImportMenu testsTomasz Golabek2-146/+421
Main class tested and refactored Change-Id: I379a18c289b613cdc7ecbb1617618af96ffa275b Issue-ID: SDC-2326 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-13Added unit tests for SpringCLIToolPiotr Borelowski1-0/+61
Improved the unit test coverage in the package org.openecomp.sdc.asdctool.cli Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: Ie5b262587ae704952eb75f8f4008f4d321a4acbd
2019-06-12Upgrade SDC from Titan to Janus Graphshrikantawachar58-588/+687
Upgrade SDC from Titan to Janus Graph Change-Id: I67fb8b8e60cc6751697bc5ff2f06754c92803786 Issue-ID: SDC-2296 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
2019-06-12Added unit tests for CLIToolPiotr Borelowski1-0/+79
Improved the unit test coverage in the package org.openecomp.sdc.asdctool.cli Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I06bc14882d7e608b9e7beef49f310b708290a7f5
2019-06-10Inheritance in ComponentExceptionTomasz Golabek2-5/+26
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.kazak4-40/+54
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-04-16Adds a new artifact for controller blueprintagileone1-0/+15
Defines CONTROLLER_BLUEPRINT_ARCHIVE artifact type for PNF and VF. Issue-ID: SDC-2139 Change-Id: Ib28bb25a6751b053ffe50323bb7c16576bc181f4 Signed-off-by: agileone <serge@agilitae.com>
2019-04-10add file extentions for cloud specific artifactsLiang Ding1-0/+2
Change-Id: I23c98ac6963bc4f708461d40dbda40a97a6939bc Issue-ID: SDC-2041 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-04-04Make Cassandra port configurable.Tal Gitelman1-0/+1
SDC-BE & Onboarding - BE. Reviewer: Evgenia A & Areli F. Change-Id: Iaf86d647b0560764ef65d9148c85bffaf934992d Issue-ID: SDC-2077 Signed-off-by: Tal Gitelman <tal.gitelman@att.com>
2019-04-03Add artifact typeskooper1-0/+19
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-04-01Increase test coverage for asdctoolParshad Patel4-0/+162
Add basic JUnit test cases in asdctool/migration/tasks/mig1806 Add hamcrest-all version in parent pom.xml Issue-ID: SDC-1895 Change-Id: I88b1bdb2f3619721fe80f57f0526de5b59e8a6af Signed-off-by: Parshad Patel <pars.patel@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-03-13Add Deployment Artifacts to PNFdermot1231-1/+16
Add support for PM_Dictionary and VES Events Deployment Artifacts to PNF Change-Id: Ief85d40bd180aae0662cfb58f794f5b0d7e5ec9c Issue-ID: SDC-2109 Issue-ID: SDC-2155 Signed-off-by: dermot123 <dermot.melia@est.tech>
2019-03-06add cloud specific typeLiang Ding1-1/+5
Change-Id: I9fed3476405ff8fd13b8980e65eef76bfa48187b Issue-ID: SDC-2041 Signed-off-by: Liang Ding <liang.ding@intel.com>
2019-03-04Requirement and capabilities featuremojahidi1-0/+113
1. Enhance Service/VF/PNF to support Req & Cap 2. Added Type fetch APIs to fetch types from global types Change-Id: I2b749ec9da34e488421b8ebe311ccf03c4b7c0fd Issue-ID: SDC-2142 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2019-02-26Fix Blocker & Critical Sonar issues in asdctoolParshad Patel4-13/+17
Fix NullPointerException issues Update test case Issue-ID: SDC-1895 Change-Id: I183b0bee127efa4331e79a1b76df558dbc9ca33a Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2019-02-18fix a typoLiang Ding1-1/+1
ALRADY --> ALREADY Signed-off-by: Liang Ding <liang.ding@intel.com> Issue-ID: SDC-2124 Change-Id: I6dc337b7b6b9229253107aca461bf32129601ed8
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 modulesvempo2-13/+16
Change-Id: Ibad18285edc1181d7247d395efa8f2322e255147 Issue-ID: SDC-1906 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-24UT-asdctool DataMigrationSindhuri.A1-3/+103
UT for asdctool impl DataMigration class Issue-ID: SDC-1775 Change-Id: I78a114127ec461a74b29b226026a93c0a895befe Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-17UT-asdctool ModuleJsonTaskSindhuri.A1-13/+60
UT for asdctool impl validator ModuleJsonTask class Issue-ID: SDC-1775 Change-Id: Ia160c4b2b64313bd11927aaa45bf887ed3df96df Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-10-17UT-asdctool ArtifactUuidFixSindhuri.A1-67/+170
UT for asdctool impl ArtifactUuidFix class Issue-ID: SDC-1775 Change-Id: Idcf66bf73cdf013d615f4b7967197c3b99ee70e2 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.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-25UT-asdctool DeleteComponentHandlerSindhuri.A1-0/+91
UT for asdctool DeleteComponentHandler class Issue-ID: SDC-1775 Change-Id: Ifc574602d0451ad561a4d362f9d6bd0e4d17ff75 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-09-25fix licensing issuesMichael Lando1-17759/+0
remove unused files update the licensing file to aligne with LF format fix csars Change-Id: Ic511ed6ef53dd49f4af1ecef0522a852a7349f7a Issue-ID: SDC-1785 Signed-off-by: Michael Lando <ml636r@att.com>
2018-09-25UT-asdctool utils ReportWriterSindhuri.A1-0/+50
UT for asdctool utils ReportWriter class Issue-ID: SDC-1775 Change-Id: I8c53f2fa7db51bde899325feb503a5b1527ef85e Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2018-09-25UT-asdctool CsarGeneratorSindhuri.A1-0/+92
UT for asdctool CsarGenerator class Issue-ID: SDC-1775 Change-Id: I3ccc58d8d17dfab0baf5666ac9ce0d1b4adcd684 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-26json/yaml validation for modelsdekstroza1-1/+1
Introduced yaml-json-validator-maven-plugin a. Runs in validate phase b. For now only validate /import/tosca subfolders c. Validates both yml and json files Change-Id: I53513321c4378485dd821c251de5555050313911 Issue-ID: SDC-1343 Signed-off-by: dekstroza <dejan.kitic@ericsson.com>
2018-08-06ASDC dead code removalPiotr Krysiak10-258/+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 Lando115-2154/+4773
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 Lando2-20/+43
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-06fix logger in sdctoolMichael Lando1-16/+3
align logback xml Change-Id: Ib607a8c48e94a2d9fa597d6228d0ee07c5eedc02 Issue-ID: SDC-1300 Signed-off-by: Michael Lando <ml636r@att.com>
2018-05-06Raise JUnit coverage asdctoolTal Gitelman79-261/+2829
Change-Id: I26742875e8e3dddb98b525c4833588bc23d81fdc Issue-ID: SDC-1296 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>