aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-07-29added test case to TestResponseHandlerOutput.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7cb23c2e389a8c0d8d153cb241b726360a759f03 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-29updatd test in RequestValidationExceptionTest.javaSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id2a2f7f2476f4a6d2f917c713af374cd0d02f682 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-27added test case to TestRequestHandlerInput.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie0a570c7b20d236d8203d57f1351f34e0b7466d1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-27added test case to TestLCMCommandStatus.javaSandeep J1-0/+18
addes test case to increase code-coverage Issue-ID: APPC-1086 Change-Id: Ie36b332e947900990d62a11723070a5ae8e53a99 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-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>