aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-12Parent updates for Karaf 4Patrick Brady2-2/+48
Change-Id: I1c368b64d5916adae980221ad0a639dfa8bee11c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1045
2018-08-10Remove all powermock(ito) usages in appc-dg-utilMichal Kabaj6-181/+243
- Replace powermock usage with mockito. - Introduce AAIServiceFactory for fetching AAIService from bundle - Using blueprint.xml DI to pass factory into ExecuteNodeActionImpl during construction - removed powermock(ito) deps from pom Change-Id: I54450580c68c7d4992cb412192ca6dd4741398fc Issue-ID: APPC-1008 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-08-09Update appc-common to Karaf 4Ryan Young147-1/+22501
update appc-common to karaf 4 feature Change-Id: Ib0ce37032e63ffc61bef94345701f3ab58785153 Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-1022
2018-08-09added test case to testDataTool.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: If736ff2d7cd30f6762ecb6bdc267b4a7c7f51c07 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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-08-09added test case to TestSignal.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iacc5d38bacc946cf203d690cbe5a174e6dab15e2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-09added test case to TestPatternNode.javaSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4d035ffb81367fd4de4004d4aefa8a6433e4fd7d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-09added test case to TestMergeNode.javaSandeep J1-0/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: If9a93361b275df98412dc23410a2094e340b7c9c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-09added test case to TestConvertNode.javaSandeep J1-1/+17
to increase code coverage Issue-ID: APPC-1086 Change-Id: If2320397a735dd4f510350802df631cb132145e8 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-08added test cases to TestDGGeneralDBService.javaSandeep J1-1/+25
to increase code coverage Issue-ID: APPC-1086 Change-Id: I309985d0b7d9cbfa60d3e1082afd84aaf9631ef1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-08added test case to TestSignal.javaSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ief0a74d2132295258c1a198309e310c235cad923 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-07add property to skip karaf feature testRyan Young1-0/+3
SingleFeatureTest results in ClassNotFoundException: ResolutionException (no security manage: RMI class loader disabled) Change-Id: I58ac5947557276ccc0c7add7cb4c9394418cfa26 Signed-off-by: Ryan Young <ry303t@att.com> Issue-ID: APPC-1045
2018-08-07updated existing test in TransactionTest.javaSandeep J1-2/+39
to increase code coverage Issue-ID: APPC-1086 Change-Id: I2a16e144489647a011735bad462665690eeba368 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-07Added test cases to ConfigResourceNodeTest.javaSandeep J1-0/+25
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iebffd1a614c286f50fca9b3159107d6e08a06670 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-07added test case to TestEncryptionTool.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Icf3522dee487c4ab876e11f201ad160c6be3831d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to DefaultConfigurationTest.javaSandeep J1-1/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4b0f1f352fa8b90810b7efc145e83edebff913da Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to PoolTest.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibbafa33ed726dff65cbc3528bf09d9cf68d97eb3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06updated existing test case to increase coverageSandeep J1-1/+6
updated existing test case to increase code coverage Issue-ID: APPC-1086 Change-Id: I3cec480ee68d5dc1aefd1aa8760ca70b485845b4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06added test case to TestStructuredPropertyHelperSandeep J1-1/+35
to increase code coverage Issue-ID: APPC-1086 Change-Id: I27a84f312fcdaed2ff85c686d2fa2e39884b6224 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-06Junits for inbound/InterfaceServicesDilip kumar Pampana2-1/+163
Code Coverage for appc-Inbound/InterfaceServices Issue-ID: APPC-1132 Change-Id: Idd36429115f2d324fded4ab4106226cfad33bb65 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-08-06Revert query changesPatrick Brady1-5/+7
The changes between patch 3 and patch 4 of this commit https://gerrit.onap.org/r/#/c/55093, where the parameters are sent to the SvcLogicContext instead of values, breaks the save functionality in cdt. When SvcLogicContext is allowed to subsitute the values, the StringUtils.isEmpty functions are skipped over. Although it appears this change is changing a parameterized query to a static statement query, in fact the query is not parameterized in its current form either. In its current form, SvcLogicContext is just subsituting the values into a static statement query. SvcLogicContext does perform a simple single quote escape, which could be duplicated here. Change-Id: If3ffceed5ad147c402355ffef17a8abf0752d5b1 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1107
2018-08-06added test case to ConfigResourceNodeTest.javaSandeep J1-1/+33
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie87a796113a818a2454f8f2e339563ac062ee627 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03added test case to TestAaiService.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5af628ec75f5dc16eac289fcaae4d62456b3edb0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03added test case to TestPropertyDefinitionNode.javaSandeep J1-3/+20
to increase code coverage Issue-ID: APPC-1086 Change-Id: I74760fd2d97c4ef429e5f9d6f6eff0297ccec17e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03added test case to TestStructuredPropertyHelperSandeep J1-0/+15
to increase code coverage Issue-ID: APPC-1086 Change-Id: I00237d24ef2fac893e7c1867e4aa38ba026e9a16 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03added test case to TestSignal.javaSandeep J1-2/+15
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iba603fd695d9f5e2a70fa08f07272e407d0db00c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-03Changed Code and DGs to return detailed response.Shailendra Borale5-9/+15
Added comment and used String instead of Integer.toString Change-Id: I07a0a7752b225fbf50d761b489b9320b47fcc71d Issue-ID: APPC-1013 Signed-off-by: sb8915 <sb8915@att.com>
2018-08-02added test case to TestValidatorService.javaSandeep J1-1/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id3d7d93fb02d62be8288ae7065b69b22ce1d8c2f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-01updated existing test case to increase coverageSandeep J1-7/+9
updated existing test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Iea8d0a833872cec864436300c4bcbc9e55cd3316 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-31updated test case to increase coverageSandeep J1-6/+5
updated test to cover getAppcTimeStampResponse method in DbResponseProcessor.java Issue-ID: APPC-1086 Change-Id: I6333683181498857aa58ca7ccb404329574513ff Signed-off-by: Sandeep J <sandeejh@in.ibm.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-31fixed failing test cases in TimeTest.javaSandeep J1-6/+7
fixed the issue APPC-1112, where few test cases where failing because of platform dependency. Removed assertEquals and replaced it with assertNotNull and assertTrue, so that coverage is not affected and the test case also passes succesfully. Cant use asserEquals here as the value timestamp is platform dependent. Issue-ID: APPC-1112 Change-Id: I4b9f786eaa61835765ffdadd0beb9092bc9beb17 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-31added test cases to TestMessages.javaSandeep J1-2/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I230ad0e38a1507e0619d490a3786b97fa6d5db32 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-31 GetTemplateConfigAnsible DG BugGanesh Chandrasekaran1-86/+170
Please refer to Jira page for more details Issue-ID: APPC-1115 Change-Id: I0f56009a44b37e0f30942da533f8bc08766de602 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-07-31 GetTemplateConfigChef DG BugGanesh Chandrasekaran1-88/+174
Please refer to the Jira page for more information. Issue-ID: APPC-1114 Change-Id: I6c0f033594371c33efd9ab224873c7f9cbec0f2e Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.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-31Junits for Inbound/designServicesDilip kumar Pampana4-255/+277
Added new test class files for code coverage of DesignDBServices and removed version for mockito-core as it is overriding existing one in pom.xml file in design services provide. Issue-ID: APPC-1117 Change-Id: I9eddf30c7e3c72467f4bf5f5850c22c083f51a9f Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-31ignoring testFetch as it is long time to executeSandeep J1-1/+1
ignoring the testFetch method as it is taking 130 sec to execute, as reported by Patrick in the issue APPC-1111. Issue-ID: APPC-1111 Change-Id: I7bef0719a04b5d3dd9d52a1c2608f16f16d76c5d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-30Increase coverage for sshdDataAccessDerviceGanesh Chandrasekaran2-0/+119
Issue-ID: APPC-1113 Change-Id: If7f466c6e6c205c220ae020c3e4ce24e1088f7f3 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.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-26API to support getConnection with SSH KeyFileGanesh Chandrasekaran7-72/+101
Issue-ID: APPC-1097 Change-Id: Ic9baa3e43be55bc20aa974898c164cc8a590a78a Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>