aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-07-10Added seq generator changes for vnf level actionsGeorge, Lina (lg941u)43-991/+1304
Issue-ID: APPC-921 Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-07-09use try with resourcesKrishnajinka3-50/+51
Issue-ID: APPC-1046 Change-Id: I28ca35b8a888875f91afda05c4dedee3ed301dde Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-06APPC CDT Future timestamp issue fix -new HTTP reqod74274-4/+35
APPC CDT GUI generated timestamp in user browser in request data. Sometimes the timestamp appeared in future compared to APPC server time. To fix the APPC CDT Future timestamp issue adding a new HTTP request to DesignDBService to get UTC Timestamp from the APPC server. Also adding this request to DbResponseProcessor, RequestValidator to avoid validation failures. Modified DesignDBService.java to satisfy review comments. Made additional corrections after failed build. Change-Id: Ic9d3f1ebb42143e497e21520843a78ecb882d0fc Issue-ID: APPC-1026 Signed-off-by: od7427 <od7427@att.com>
2018-07-03Add feature to support reboot lcm commandMei Su4-1/+51
Add method getIdentityUrl to fetch identity-url Issue-ID: APPC-1044 Change-Id: I8fe6f774754e04b0329fe3e735f4b927d6db10bc Signed-off-by: Mei Su <ms6523@att.com>
2018-07-02Adding responses to payload in LCM APIvidhyasree3-4/+118
For HealthCheck, UpgradePrecheck and UpgradePostcheck Issue-ID: APPC-920 Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-29Changes to Config Component AdaptorBalaji, Ramya (rb111y)3-5/+61
Issue-ID: APPC-1014 Change-Id: I1ac95c68df92e39678b64919357333cd1664218d Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-06-29Changes to encryption tool bundleGeorge, Lina (lg941u)4-100/+64
Issue-ID: APPC-1016 Change-Id: I6161948e063e10ce6aec0b818f970f947ce490ad Signed-off-by: George, Lina (lg941u) <lg941u@att.com>