aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
2018-04-12Add junit tests to LocalRequestValidatorImpl classIrwin Dunietz1-11/+38
Introduce additional junit tests for LocalRequestValidatorImpl class Change-Id: Iea8cabafab55d6b948303b8d4fa3c427efad44c2 Issue-ID: APPC-850 Signed-off-by: Irwin Dunietz <id1681@att.com>
2018-04-11ODL Upgrade Method 2Patrick Brady5-21/+26
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-04-09Add junit coverage to ActionIdentifierModel classIrwin Dunietz1-0/+77
Introduce junit-tests for ActionIdentifierModel class Change-Id: I792c6787e94b4aeaec992720c359c0f740b44485 Issue-ID: APPC-839 Signed-off-by: Irwin Dunietz <id1681@att.com>
2018-03-29Unit Test Coverageshubhada1-0/+34
Unit Test for TransactionRecorderServiceNotFoundException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-workflow-management-core%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fworkflow%2Factivator%2FTransactionRecorderServiceNotFoundException.java Change-Id: I3568cbd8260a061d81c910622866c04cacb6424e Issue-ID: APPC-811 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-28Restore removed license text linesamshegokar2-0/+8
Restored below license text: * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * Copyright (C) 2017 Amdocs Change-Id: If79dbea73111552773092fda8dcd62d9569c70e3 Issue-ID: APPC-801 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-27Test Coverage for Constants.javaamshegokar1-0/+39
Test Coverage for Constants.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-license-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flicmgr%2FConstants.java Change-Id: I8da7e415fa724993e974b1d8af6061241cb67ce1 Issue-ID: APPC-796 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Coverage for:org/onap/appc/dao/util/exceptionamshegokar3-74/+156
Unit Tests for: 1) DataAccessException.java 2)DBConnectionPoolException.java 3) JdbcRuntimeException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc-netconf-adapter-bundle&selected=org.onap.appc%3Aappc-data-access-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdao%2Futil%2Fexception Change-Id: Ie5c44417ca33c73de5577052a01ca5f019adeb1b Issue-ID: APPC-781 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Unit test for Messages.javaamshegokar1-0/+48
Unit test for Messages.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc-netconf-adapter-bundle&selected=org.onap.appc%3Aappc-data-access-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdao%2Futil%2Fmessage Change-Id: I2204f296d3d2200eb4aa4f809e0c0dd841b0b93e Issue-ID: APPC-782 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-22Bugfixes for error handling while attaching volumeModaboina, Kusumakumari (km583p)1-1/+10
Change-Id: I103709186eff4fc9e42038b2e1113b010b822528 Issue-ID: APPC-761 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-03-21Add junit coverage to request handler exceptionsLori Keighron7-0/+263
Introduce 7 more junit-test files: DGWorkflowNotFoundExceptionTest.java LCMOperationsDisabledExceptionTest.java MultipleRecordsRetrievedExceptionTest.java NoRecordsRetrievedExceptionTest.java RequestValidationExceptionTest.java VNFNotFoundExceptionTest.java WorkflowNotFoundExceptionTest.java Issue-ID: APPC-773 Change-Id: I2e962a9614e3b17d77d2685e1055322531d832a1 Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-21Unit Test Coverageshubhada2-0/+95
Unit Test Coverage for: 1.RequestHandlerInput.java 2.RequestHandlerOutput.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-request-handler-api Change-Id: I07e6be04fbe4958cd98cb0313e672e2a0098856e Issue-ID: APPC-771 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-20Add junits to request-handler-exception classesLori Keighron3-0/+119
Introduce junit-tests for 3 request-handler-excetion classses Issue-ID: APPC-769 Change-Id: I49f45ba50adccbfcc9725a7e458054e19f0c5efd Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-19Unit Test Coverageamshegokar6-1/+248
Unit Tests for APPC Dispatcher Common - Domain Model Lib classes Part:2 1.ActionLevel.java 2.RequestModes.java 3.RequestStatus.java 4.ExternalActionStatus.java 5.VNFOperation.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I8f870e43d6f847cd9800a6178e1020ba26f0e211 Issue-ID: APPC-749 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Coverage for org.onap.appc.licmgr.exception classamshegokar2-0/+71
Coverage for org.onap.appc.licmgr.exception class Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-license-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flicmgr%2Fexception Change-Id: Iefe4243fa12b2abb799db807ade2895c3d282a70 Issue-ID: APPC-729 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Unit Test Coverageamshegokar4-0/+184
Unit test Coverage for: org/onap/appc/executor/objects classes Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-command-executor-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fexecutor%2Fobjects Change-Id: I692ed8e4fc6d3789fdcff24a4fc231320f5a23e3 Issue-ID: APPC-746 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Unit tests for Dispatcher:lockmanager-api classesshubhada3-1/+101
Unit Test Coverage for: 1)LockException.java 2)LockRuntimeException Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Alock-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flockmanager%2Fapi Change-Id: Ic8407e10bbe49c868963bc4fb5c0125d4c8f29a2 Issue-ID: APPC-732 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-09Unit test for Workflow Management API classesshubhada3-0/+165
Unit test for Workflow Management API classes Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-workflow-management-api Change-Id: I641d4b14d213f8369d0b07c92feee49dadbcf70f Issue-ID: APPC-716 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree2-6/+6
A new action ConfigScaleOut is added to LCM API and Yang model. Removed old action item configscaleout supporting VM action level which is no longer needed. Issue-ID: APPC-479 Change-Id: Ie5452f4d5625fc3be6b66c0f403d12baa64fa096 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell51-88/+664
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-16Unit test coverageshubhada5-0/+369
Unit test coverage for 1.CommonHeader.java 2.Flags.java 3.RequestContext.java 4.ResponseContext.java 5.RuntimeContext.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I275495faa8c34f4b2174e93a56071298450c354b Issue-ID: APPC-640 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-14Unit test coverageshubhada3-0/+265
Unit test coverage for 1.Status.java, 2.TransactionRecord.java 3.VNFContext.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I38421c753d215ddab49431a2124c6a74056b3bf1 Issue-ID: APPC-617 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-12Unit test coverage for ActionIdentifiers.javaamshegokar1-0/+81
Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm%2FActionIdentifiers.java Change-Id: I5ae2e24811e32b7c8c19780e9eb64f083aadd6ce Issue-ID: APPC-606 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-07Unit Tests for APPC Dispatcher LicenseModel classamshegokar1-0/+48
Adding Unit test for org.onap.appc.licmgr.objects class https://sonar.onap.org/drilldown/measures/org.onap.appc:appc?highlight=overall_coverage&metric=overall_uncovered_lines&rids%5B%5D=116663&rids%5B%5D=117093 Change-Id: I9e49f42bb4cfc9756a0c26b71413216003adc9e3 Issue-ID: APPC-576 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-07Fixed issues in MSO and StopApplication payloadvidhyasree1-1/+35
Issue-ID: APPC-567 Change-Id: I7729322aea93eea6b83cf88b0e9d7600a41535e0 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-05Sonar fixes in "appc-ranking-framework-lib"wejs9-53/+62
Change-Id: Ib9c490a8bcb5107fda4be1baf12d776b30777be1 Issue-ID: APPC-477 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-01-30quick fix and make constant publicTaka1-1/+1
Change-Id: I8fb290ec7d0ef6f04478cb10e43a24b9a5ef7b27 Issue-ID: APPC-487 Signed-off-by: Taka <tc012c@att.com>
2018-01-30add junit cases in AppcDatabaseConnectionPoolTaka3-21/+82
Change-Id: I978d9db8aa5f459c578d4080bee5365af187a7cd Issue-ID: APPC-531 Signed-off-by: Taka <tc012c@att.com>
2018-01-29enhance test coverage under appc-request-handlerTaka1-0/+41
Change-Id: Ifa491d78dd2a65e3e3cbd25d09d8eda7a983a398 Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-487
2018-01-26Fix in DBUtilsburdziak1-2/+5
Changed to EELF Change-Id: I6e78aaa9c350e89b68fed597313580dd3b167a61 Issue-ID: APPC-503 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-25fixed critical issues from sonar reportTaka2-9/+11
Change-Id: I443db1a8104bdfbfb20ec604978d758edfe7fb44 Issue-ID: APPC-429 Signed-off-by: Taka <tc012c@att.com>
2018-01-25Fix in WorkflowResolverburdziak1-1/+1
Change-Id: If415f893a521ad3c3caf7951b0f8d97cd5158cc6 Issue-ID: APPC-516 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-22fixed for defect APPC-315 bundle dependency addedprashank1-0/+1
Change-Id: I32a703c5f0598fef6237b1069f7864e096a5a56b Issue-ID: APPC-315 Signed-off-by: prashank <prashant.kumar1@amdocs.com>
2018-01-19Fixing the dblib import packagePatrick Brady1-1/+1
The import was incorrectly set to org.onap.ccsdk.sli.resource.dblib. It should be org.onap.ccsdk.sli.core.dblib Change-Id: I4ad2b78c49f81d23fd12496aa8b31c18ff3bb27c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-434
2018-01-08Include impacted changes for APPC-346,APPC-348Anand194-7885/+11420
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2018-01-03Fix sonar blockersTomek Kaminski1-12/+10
Fix two blockers with possible NPE in accessing parentNode Fix major related to using diamond operator with generics Fix major related to nesting more than 3 if statements. Change-Id: Ic3e5271bc599120ff6a3d1f74c97e614866c44ad Issue-ID: APPC-367 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-01-02fix some minor issues for SonarTaka3-3/+0
Issue-ID: APPC-363 Change-Id: I3761ea2f235e6b182f04d5ccdb104df295441c05 Signed-off-by: Taka <tc012c@att.com>
2017-12-21enahance Sonar coverage rateTaka5-8/+0
Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737 Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-21Fix sonar issues for APPCTaka2-2/+0
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho5-62/+62
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Fourth part of onap renamePatrick Brady7-7/+7
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13Third part of onap renamePatrick Brady154-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady197-855/+855
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-11-17Bump minor versionJessica Wagantall30-30/+30
Bump minor version in preparation for Amsterdam branching. Change-Id: I83e13547f583db020d6f756ddb8918360c38903b Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-11-07Changing to Amsterdam release versionv1.2.01.0.0-ONAP1.0.0-AmsterdamPatrick Brady30-30/+30
Appc will be realeased as version 1.2.0 since version 1.1.0 already was created spring 2017. Change-Id: I177931e892c2556c11a261f018fd835d62a14d54 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-314
2017-10-07Fix for the LCM Restart Request date issueRahul Sharma (153216)1-1/+2
Issue-Id: APPC-262 Change-Id: I34455f902d55ff0c97ca1dc81e7388da388d735e Signed-off-by: Rahul Sharma <Rahul.Sharma2@amdocs.com>
2017-09-28Sonar Critical Fixsanchitap1-1/+1
WorkflowResolver.java: L47 Sonar link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|rules=squid%3AS2184 Change-Id: Id73e2153b13716706b0dce4204d8c7519885afe5 Issue-Id :APPC-238 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-15Changing to mariadb java clientPatrick Brady4-9/+10
Changing from the mysql java connector to the mariadb java client. Change-Id: I2f9b1f5da37424d529e196f9b6b8d0bf4f1f9d2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-198
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell1-1/+1
Code used mix of seconds and milliseconds calculate TTL. Updated to use consistent units. Also added a new test file to increase code coverage. Issue-ID: APPC-207 Issue-ID: APPC-181 Change-Id: I07687ac30fa2e75cedb027ec2bb71f6914d42075 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady18-44/+38
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-31Update ASDC References to SDC 1/2mojahidi3-10/+10
This patch changes ASDC to SDC in APPC code, bundle names and other pertinent places. This change sanitizes SDC for Open Source. It is the first in a two part change, the first updates code mentions and artifacts. The second will update database references. Change-Id: Iffd73480cc325172b5d8969fe839728f1c88ef78 Issue-ID:APPC-179 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>