aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/src/main
AgeCommit message (Collapse)AuthorFilesLines
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-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 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-14ComponentCache & ComponentCassandraDao removalTomasz Golabek1-33/+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 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 Graphshrikantawachar37-455/+546
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-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-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 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>
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-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-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-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 Lando82-1761/+3760
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-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 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 Lando48-2021/+2931
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>