aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
2019-02-22Test coverage in MessageAdapterImplJoss Armstrong2-11/+113
Added test cases for untested portions of code Issue-ID: APPC-1481 Change-Id: Id61ec5c5824c3d9fecbfb83d47bfa0164ae96759 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-22Test coverage in AbstractRequestHandlerImplJoss Armstrong1-8/+64
Increased coverage from 72% to 95% Issue-ID: APPC-1484 Change-Id: I1bbb8aaf1b7ca33b20d8768cacd14c7bdabe5caa Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-22Test coverage for RequestValidationPolicyJoss Armstrong2-7/+90
Added test cases for untested parts of code Issue-ID: APPC-1482 Change-Id: I3dfa64b4eb1f69a08ca3346d75ae362affd55e0d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-18Added test case for License Data AccessLathishbabu Ganesan1-0/+76
Increased code coverage from 0% to 98% Issue-ID: APPC-1450 Change-Id: I6fbf7ef905bac06ec5a8245eeb1bfb3d5b263b9f Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-14Added test case for DgResolver PluginLathishbabu Ganesan1-0/+1
Increased the coverage from 0% to 94% Issue-ID: APPC-1421 Change-Id: Ide813344cc2a00444bfd97fdeb9cbbe5a15eef08 Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-08Test coverage in workflow-implJoss Armstrong2-8/+49
Increased package coverage to 83% Issue-ID: APPC-1408 Change-Id: I24b634ee7926bac2a196256cd20362d2f7b93b76 Signed-off-by: Joss Armstrong <joss.armstrong@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-08Increase coverage in workflow.activator packageJoss Armstrong3-1/+149
From 32% to 85% Issue-ID: APPC-1408 Change-Id: I52447e5df9fd3a6ebdb257dbba9a83013bad6f05 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-18Update install-feature for pre-installPatrick Brady1-3/+1
Since the feature zip files will be extracted during docker build, the install-features scripts need to be modified so that the script will not fail when the zip file does not exist, since the zip file will have already been unzipped. Change-Id: I441064226db956addae5c2f238114ce3965c13ef Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1337
2019-01-17Fix unit tests for appc-command-executor-coreJoss Armstrong5-99/+187
Increase line coverage of package from 43% to 93% Issue-ID: APPC-1329 Change-Id: I0a4e2a0a85f6761becde4a74609358267530d92d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-17Test coverage for appc-workflow-management-coreJoss Armstrong3-114/+152
Increase test coverage from 2% to 73% Issue-ID: APPC-1332 Change-Id: I41567d3b5108581bbdce95671366a57323c7b1a4 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.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>
2019-01-08Change parent version to appc snapshotPatrick Brady24-24/+24
Changing to the current release snapshot version of the appc parents instead of the previous release version. This allows updated changes to parents to be in builds. Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Update parent pom versionPatrick Brady24-24/+24
Update the parent version to appc parent 1.4.1 Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2018-11-16More code changes for importingBalaji, Ramya (rb111y)1-0/+2
Adding explicit import/exports to pom, to see if issue the issue will resolve. Issue-ID: APPC-1231 Change-Id: I2138d9a8b8ddea151a97562663236061fef60275 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-12Increment version numberPatrick Brady37-38/+38
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-11-08Code modification attempts to fix issue1.4.1Balaji, Ramya (rb111y)1-2/+3
Issue-ID: APPC-1231 Change-Id: I710487b70624b1f4736de29f84f627a8f7a2ccf7 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-07More logging added to debugBalaji, Ramya (rb111y)2-3/+14
Issue-ID: APPC-1231 Change-Id: I45790aff545c566fbf62ea1908143b15f3920122 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-07Added more logging to narrrow down issueBalaji, Ramya (rb111y)3-3/+18
Issue-ID: APPC-1231 Change-Id: I145c1309cb80b46477eca665ace5ce2358fac819 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-10-11Roll to next version after releasePatrick Brady37-38/+38
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-09Change to released parent pomsPatrick Brady24-24/+24
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady10-0/+10
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-18scopeOverlap errorfix actionrequest fr force=falseModaboina, Kusumakumari (km583p)2-2/+11
Issue-ID: APPC-1188 Change-Id: Ife6666e80025a595c5a8f840a00d0882ac80ed71 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-17Adding DistributeTraffic LCM APITomek Osinski3-0/+32
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-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
patch description: Restore of valid shebang lines and exec flags Change-Id: Id44c9d4ac9f2243f478213b34f61a30576ca2235 Issue-ID: APPC-1203 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-09-11In progress trxns criteria fixBalaji, Ramya (rb111y)5-30/+135
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-09-10Fix for provider rpc errorPatrick Brady1-5/+0
Change over to using blueprint for rpc registration Tests cases will need to be modified and uncommented Change-Id: I6535c2d9d141406ac29dc8bb2b769fea3bdbf53f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-08-24Remove old appc-commonRyan Young5-4/+8
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-23Fix request handler class errorPatrick Brady2-0/+8
Change-Id: I8e46de98f1a319452a9133835d0fe0b1430303ca Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
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 Brady22-411/+583
Change-Id: I9d2ea6e968a214f0b141d7a3fad7e09dd07eb6d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1136
2018-08-13Karaf4 for license and lifecyclePatrick Brady8-135/+213
Change-Id: I392affa978507eae64583e0b5d6fd85111b39c97 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1122
2018-08-09Improve LicenseManagerImpl implementationJoanna Jeremicz9-68/+355
- Use STAX API for XML processing instead of parsing it manually - Rearrange code for clarity and testing - Adjust JUnits accordingly Issue-ID: APPC-1024 Change-Id: I9d655b581adb401b0c20bc29eda6a2bce1f2ef89 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-07-31added test cases to TestWorkFlowRequest.javaSandeep J1-0/+26
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic13af8abd0b984111cec2b8b4c822ea0f85c6286 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-31added test case to TestWorkFlowResponse.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I99d9a92e458a1e4066c7abe2d6595d1ce6c7b946 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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>