aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
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-26add new reboot LCM APITaka Cho1-0/+58
In R3, AT&T contributes a new lcm api: reboot this is for adding reboot LCM API into readdoc Change-Id: I3bb9e338d78424005aa6b1584073db101ae7f337 Issue-ID: APPC-1034 Signed-off-by: Taka Cho <tc012c@att.com>
2018-07-26added test case to JsonDgutilImplTest.javaSandeep J1-3/+23
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib2bb400348ebde7200d46e1f05775be6fbe298cd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-26added test case to TransactionTest.javaSandeep J1-2/+24
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib02211122e9d662387858c70876f3784e65ec0ce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-25added some more test cases to TimeTest.javaSandeep J1-5/+26
added some more test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: I8f4458ddcc70d360eae71e41d1608d0529ed2269 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24Change appc-parent to new odlPatrick Brady5-5/+5
Changing the parent ccsdk version of the appc-parent pom files so they will use the new ODL version. Change-Id: Ia573a707f2c73899c415d7c2015362f7506f1f1d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-939
2018-07-24Fix query statements in DBServiceMei Su1-2/+2
Fix query statements related to url in DBService Issue-ID: APPC-1107 Change-Id: I2f8e2bc77c04a4b96160af00bdc9d3debe4395c3 Signed-off-by: Mei Su <ms6523@att.com>
2018-07-24added test case to PreCheckTest.javaSandeep J1-72/+87
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: I51aff34afc47db330c773431d59a5e30cea74d79 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24added few test cases to TestSQLSaveQuery.javaSandeep J1-1/+34
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: Id895923e0df4b55c7705534e971d67b972514e50 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24added test cases to TestCompareNodeJson.javaSandeep J1-1/+37
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: I64fcbae96f7627469900f9c67e52b3ef3ce6e5f3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-24Add parent to appc-parent aggregatorPatrick Brady1-0/+5
The parent is required to supply the distributionManagement properties for deployment. Change-Id: I3c66552a9563db88701e5a8b8a087652073fe87b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1045
2018-07-24added test case to TestCompareNodeCli.javaSandeep J1-0/+13
added test case to increase code coverage. A part of the else block in compare method of CompareNode.java was not being covered. Getting covered now with this test case. Issue-ID: APPC-1086 Change-Id: I2821ec0c5d9203f5c76e6a091c6734f41333d638 Signed-off-by: Sandeep Jha<sandeejh@in.ibm.com>
2018-07-23Fix ssh adapter compilation issues.David Crosson4-39/+63
Apache sshd library updated to 2.0.0 Issue-ID: APPC-835 Change-Id: Idfbc396291c3d05a47e4dceb45d06bc8084c054d Signed-off-by: David Crosson <david.crosson@orange.com>
2018-07-23Junit Test cases for Ansible adapterDilip kumar Pampana1-0/+178
Junits test cases for ansibleMessageParser in Ansible Adapter Issue-ID: APPC-1106 Change-Id: I9ef0664fb613d80f3275637413f0d2fae76b0186 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-23added few more test cases to TimeTest.javaSandeep J1-0/+28
added few more test cases to TimeTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I910a5ab4420cc38d9c27fc2a206ac96b5377e225 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-21replaced @ignore with @test to include the testSandeep J1-1/+3
replaced the @ignore with @test to include the test as it is a legitimate test and has wrongly been ignored. After removing ignore, the test runs successfully and also increases the code-coverage. Issue-ID: APPC-1086 Change-Id: I60066a1f225f9a0afe5d4150f9f9e8f053258deb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added few test cases to TimeTest.javaSandeep J1-3/+24
added few test cases to increase code coverage Issue-ID: APPC-1086 Change-Id: Iab08ef3eef7fefab09a4389ffde8e0e1a4ca6025 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19added few test cases to increase code coverageSandeep J2-7/+34
added few test cases to increase code-coverage for DmaapConsumerImpl.java Issue-ID: APPC-1086 Change-Id: I3cf10a195063a05acf77b01aa2ea66e3da44d179 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-19Update the lastest PTL infoTaka Cho1-16/+11
I updated INFO.yaml for new PTL info Change-Id: I7ca2a4d9a48d80465069d1ad0ba2c80b0716e8d7 Issue-ID: APPC-1096 Signed-off-by: Taka Cho <tc012c@att.com>
2018-07-19added few test cases in StringHelperTest.javaSandeep J1-1/+38
added few test cases in stringhelpertest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I32d8648de64d1736685eb7c8a88017a2d3b7df98 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-19Parent files for karaf4Patrick Brady7-0/+266
Change-Id: I795255733d945d918e608453c15dff3991005241 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-938
2018-07-19Junit tests for config/flowControllerDilip kumar Pampana4-121/+276
Junit Tests for code coverage in config/flow-controller, added a constructor in FlowControlDBService.java file to get the code coverage. Issue-ID: APPC-1090 Change-Id: If1c33d1bfde58fc5f22ef2faa50380e71f2fdac4 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-16Junits for Interface-servicesDilip kumar Pampana1-0/+17
Junit test for vf-module-id to check for scope overlap Issue-ID: APPC-1079 Change-Id: I7345e709809f46df3532d8d8608ce5d53d04ed11 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-16Tests for appc-inbound/design-servicesDilip kumar Pampana1-0/+12
Test coverage for GetAppcTimestampUTC in inound/ design-services Issue-ID: APPC-1078 Change-Id: I508c3bcebad5c7c35bd2257436ad3f4099eb8345 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-16Junit for appc-config/Data-servicesDilip kumar Pampana1-0/+13
Junit Test to GetConfigFileReferenceByVnfType in appc-config/Data-services Issue-ID: APPC-1080 Change-Id: I351cd7acc1ef6310d230d22bd7a0035d35722290 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-07-11Fix XML injection issueMei Su1-0/+5
Fix XML injection security issue Issue-ID: APPC-1068 Change-Id: Id534da6d0c8287ba32febd959c81c313ee21302a Signed-off-by: Mei Su <ms6523@att.com>
2018-07-11junits for DefaultResponseHandlerTomasz Gwozdecki1-3/+36
-Added new test for DefaultResponseHandler Change-Id: Iee616c2a73eee3b130bbc68a16055355ecf4eab9 Issue-ID: APPC-975 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-07-10null ptr checkKrishnajinka5-17/+39
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>