summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-dispatcher-common
AgeCommit message (Collapse)AuthorFilesLines
2019-03-28remove appc-test-dependencyTaka Cho2-14/+11
there are two poms having appc-test-dependency Change-Id: I9e096601bf92c05ac6ff93ddd9d436c82a5ecb39 Issue-ID: APPC-1559 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-21Change identifier in database queryJoss Armstrong1-2/+2
Future release of MariaDB adds a keyword currently used as an identifier Issue-ID: APPC-1548 Change-Id: I4ced052e6acb816797024f5581f14f5f969d357f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-03-15Revert "upgrade databind artifact"Patrick Brady1-11/+0
Fasterxml databind is being brought in to karaf by opendaylight and trying to force a different version for the appc components is causing class errors. This reverts commit 52cf1a81d591efb2b1ee4b8c5a70b137dfb6c212. Change-Id: I6d0da2ed081e4abd4b83e8b11935ba43bee0e1aa Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1533
2019-03-13upgrade databind artifactTaka Cho1-0/+11
upgrade jackson's databind from 2.8.11.2 to 2.8.11.3 Change-Id: I9bf3ab8021f91f6ed36bdffdacbaeeac78d2e87c Issue-ID: APPC-1533 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-13Adding DistributeTrafficCheck LCM APIosinstom1-1/+2
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2019-03-07Update appc-dispatcher for >1 ansible serversDunietz, Irwin6-82/+314
Change Transaction record update logic to handle null instance entry. Issue-ID: APPC-1516 Change-Id: Ia87e08fbb61d4d0be38802e3e81b45773b1d9498 Signed-off-by: Dunietz, Irwin <irwin.dunietz@att.com>
2019-03-04Added test case for Connection FactoryLathishbabu Ganesan1-0/+81
Increased the code coverage from 0% to 100% Issue-ID: APPC-1515 Change-Id: I186f57ce78127c64cc120bcdaa61b418e67fb0de Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-08Test coverage in transaction-recorderJoss Armstrong3-20/+146
Increased coverage from 64% to 96% Issue-ID: APPC-1403 Change-Id: Idbb94d5e8933ac65bfc68cec6996c5ac039e8748 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07Coverage in lock-managerJoss Armstrong2-0/+94
Increased package coverage to 93% Issue-ID: APPC-1400 Change-Id: I4ff2a02466fc7a178c4d411ca4647b1c3877b405 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07Coverage for lockmanager.sql.optimistic packageJoss Armstrong2-15/+219
Increased coverage from 54% to 95% Issue-ID: APPC-1400 Change-Id: Ic71a090ff9e292a9d9856f50561f348a77653e4f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07Test coverage in lockmanager.sql.pessimisticJoss Armstrong2-11/+252
Increased package coverage from 52% to 98% Issue-ID: APPC-1400 Change-Id: Iabce54c1004f4c5f1729d11b2ae40003d202625e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-07New test class for QueueManagerJoss Armstrong2-19/+81
Increase test coverage from 8% to 84% Issue-ID: APPC-1396 Change-Id: I82fa20559e37fa387dbc7efa0bc24ba93139a973 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Add coverage for executionqueue helper packageJoss Armstrong2-3/+113
New test file giving 100% coverage Issue-ID: APPC-1396 Change-Id: I597a778e4c128f745335ad243c0fa8cc8b0b1e45 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Improve testing in ExecutionQueueServiceImplJoss Armstrong2-8/+23
Increased coverage to 100% Issue-ID: APPC-1396 Change-Id: Ie9c2bd14d83f43e4fc41dacfd45a596ec46b1d95 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Add coverage for untested DBHelper classJoss Armstrong1-0/+89
Added tests and provided coverage of 95% Issue-ID: APPC-1394 Change-Id: Id63e78a72fe49d3a36af786192dc2359f3d3e334 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Test coverage for DBConnectionPoolJoss Armstrong2-3/+42
Increased class coverage to 100% Issue-ID: APPC-1394 Change-Id: I7c8adb081b7342a5a18d3a2ca0238625317c6b4d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Increase coverage in AppcDatabaseConnectionPoolJoss Armstrong2-24/+39
Add test cases and increase coverage to 94% Issue-ID: APPC-1394 Change-Id: I7ec2b0cb4fe5a22ebd8020eb7f5636075e1c5ac5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Additional test case added ResponseContext.javaSudarshan Kumar1-15/+30
Additional junit test case added for ResponseContext.java Issue-ID: APPC-1372 Change-Id: Iaa9455d80e84c46c39ffce066abe3aedfb56a58d Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-11Fix for unit tests in appc-data-access-libJoss Armstrong2-11/+5
Increased test coverage from 32% to 82% Removed PrepareForTest annotation from class under test Issue-ID: APPC-1324 Change-Id: I58f7e495d0405d994132eea20ebae248d8887238 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-11-12Increment version numberPatrick Brady10-11/+11
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-11Roll to next version after releasePatrick Brady10-11/+11
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady1-0/+1
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-17Adding DistributeTraffic LCM APITomek Osinski1-0/+3
This commit contains code modifications for APPC to support DistributeTraffic LCM API. Tests has been implemented for new service. Change-Id: I853120eced93928268074cf89dd62fb89fea9ff8 Issue-ID: APPC-1169 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2018-09-11In progress trxns criteria fixBalaji, Ramya (rb111y)3-13/+36
Changed the criteria for inprogress transactions to the last X hours. This will eliminate stale transactions causing an incorrect scope overlap error. Issue-ID: APPC-1194 Change-Id: I2f3147503f4202e8e8931b2615e626e3b9af8261 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-08-24Remove old appc-commonRyan Young2-2/+2
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-23add test case to TestRequestContext.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: I6d6319321f930bd736c85f42676f448c4f44b48a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21added test cases to TestRequestContext.javaSandeep J1-0/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I32fc17823608fb0c79f11b3385379e34f6eb49cc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-13Upgrade appc-dispatcher features to karaf4Patrick Brady2-2/+3
Change-Id: I9d2ea6e968a214f0b141d7a3fad7e09dd07eb6d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1136
2018-07-31added test case to TestTransactionRecord.javaSandeep J1-0/+7
to increase code coverage Issue-ID: APPC-1086 Change-Id: I35d44cf74166edd126b918b0624a99ebc0396b07 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-29added test cases to TestResponseContext.javaSandeep J1-0/+17
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia82129b891a518e6dfa1809ab94f308775d29a9c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-29added test cases to TestRuntimeContext.javaSandeep J1-0/+39
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iaca5e351a38e37bd6310e191c3515d2d24789858 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-29added test cases to TestTransactionRecord.javaSandeep J1-0/+41
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib1327bea47d5feb6fa7d5a2ad5bdb136642661b1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-27added test case to TestCommonHeader.javaSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: I9ddee44a33daa768a73e7575ac5901b13e87237b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-27added test case to TestRequestContext.javaSandeep J1-0/+11
to increase code-coverage Issue-ID: APPC-1086 Change-Id: Iabee69884c983ff3391d682d185524a22ea08ab0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-06-14Update license header in appc-dispatcher xml filesJohn McClung16-32/+16
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-11Update license header in misc appc filesJohn McClung1-2/+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-07Update license header in appc-dispatcher filesJohn McClung36-71/+35
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-22Increment version for new branchPatrick Brady10-10/+10
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-04-11ODL Upgrade Method 2Patrick Brady1-3/+2
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-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-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-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-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-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree1-1/+1
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 Wonnell19-36/+230
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>