summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
2018-07-26added test case to TestCommandExecuterInput.javaSandeep J1-0/+9
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Iad87297e2f52c7a14bfa178ab6be4a841604715d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19Add additional junits for LicenseManagerImplJoanna Jeremicz1-6/+67
- Positive and negative case Issue-ID: APPC-1024 Change-Id: Ic619553cc305517bebecf0754a7b9f7e8dd7ce51 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-07-10null ptr checkKrishnajinka1-0/+7
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-02Adding responses to payload in LCM APIvidhyasree2-4/+105
For HealthCheck, UpgradePrecheck and UpgradePostcheck Issue-ID: APPC-920 Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-26Fix for invalid locking approachvidhyasree2-6/+5
Issue-ID: APPC-1019 Change-Id: I738c4ad72c29f494488a3fe3657243927797e2b5 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-25new action Reboot to the LCM APIvidhyasree2-0/+25
Issue-ID: APPC-920 Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-22Shore up Logging Score on DGsvidhyasree1-1/+12
Modify TopologyService and DG calls to have all logging fields Issue-ID: APPC-1020 Change-Id: I60078960ed0cfa8c70d0f4673c6d4a5026afc673 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-21Unit tests for LicenseManagerImplJoanna Jeremicz3-24/+65
Add assertj test dependency for assertions. Change-Id: I7980a273eb0b24480d376cdb6acdd18ca1814702 Issue-ID: APPC-1024 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-06-18Unit tests APPC-443root7-86/+991
Unit test for request-handler Change-Id: Ida894d4c9ba920a6b8b7e105caab7952bd3be420 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-443
2018-06-14Update license header in appc-dispatcher xml filesJohn McClung44-88/+44
Modify license header in appc-dispatcher xml files to reflect 2018 changes. Change-Id: If9df0812b1205c1edbfbdf6529d64032385cd2a4 Issue-ID: APPC-1002 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13Update lic header in misc appc properties filesJohn McClung7-14/+7
Modify license header in miscellaneous appc properties files to reflect 2018 changes. Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33 Issue-ID: APPC-998 Signed-off-by: John McClung <jm1364@att.com>
2018-06-11Update license header in misc appc filesJohn McClung5-6/+1
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07Third lic header update for appc-dispatcher filesJohn McClung38-71/+33
Continuation of license header modifications for various appc-dispatcher java files to reflect 2018 changes. Change-Id: I944ba3902c1ed582528238d7a7514a9d2bd7d5df Issue-ID: APPC-981 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07More license header updates in appc-dispatcherJohn McClung48-96/+48
Modify license header in various appc-dispatcher java files to reflect 2018 changes. Change-Id: If6589f30441e0d0e7211a9f987b61118b5e72916 Issue-ID: APPC-980 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07Update license header in appc-dispatcher filesJohn McClung44-87/+43
Modify license header in various appc-dispatcher java files to reflect 2018 changes. Change-Id: Id522869bf1343c90222b16fc3a9173f24d1b583e Issue-ID: APPC-978 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07Update license header in appc-dispatcher-commonJohn McClung45-90/+45
Modify license header in appc-dispatcher-common java files to reflect 2018 changes. Change-Id: I69359d95bda11f060c67196b85fdc5e0fbf0296f Issue-ID: APPC-979 Signed-off-by: John McClung <jm1364@att.com>
2018-05-25Fix License Header IssuesJohn McClung1-0/+20
Add License Header to files without licenses. Change-Id: Iab51b7cb82ff4415deb9b06ef38f297b7cf28b3d Issue-ID: APPC-925 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady29-29/+29
Change from version 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT and update version file. Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-916
2018-05-16update bundle import/export causing linkage errorsRyan Young2-6/+7
Change-Id: Ifb161f411cc8b39be8576ff6c0a982260b4f218b Issue-ID: APPC-900 Signed-off-by: Ryan Young <ry303t@att.com>
2018-04-16Add junit coverage to Request classMei Su1-0/+80
Introduce junit-tests for Request class Issue-ID: APPC-852 Change-Id: I6ee0919565e0de9fba79604dac653e7634277f39 Signed-off-by: Mei Su <ms6523@att.com>
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>