summaryrefslogtreecommitdiffstats
path: root/appc-config
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11refactored code for TestCompareNodeXmlSandeep J1-14/+18
added object creation to setup method using before annotation Issue-ID: APPC-1086 Change-Id: If0e0c438a4e31751ae17db6ee557b2a2adb55036 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11refactored code for TestCompareNodeCliSandeep J1-13/+14
added object creation to setup method using before annotation Issue-ID: APPC-1086 Change-Id: Ia125c53807d4f255686d4f2ff6af818c1b08ca4d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11refactored code for TestCompareNodeJsonSandeep J1-17/+15
added object creation to setup method using before annotation Issue-ID: APPC-1086 Change-Id: I136191ab61d7b39751ccffa63a711d9ef14add7d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11added test case to TestParsingNode.javaSandeep J1-21/+28
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1b37fa65a8cb8182f0f6f1af810c4cdddfa30ef0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11added test case to ConfigComponentAdaptorTestSandeep J2-0/+59
to increase code coverage Issue-ID: APPC-1086 Change-Id: I49259f114ed7e180c0dd4d71de11da331634dc12 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11added test case to TestDGGeneralDBServiceSandeep J1-2/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I034a158efa5d3d274b0ee92cc7d91ae918f7e744 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-10added test case to ConfigResourceNodeTestSandeep J1-1/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1e8948ed3009704bf4f118b2ac6a6b94aa96178c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-10remove logback 1.1.2 security issueTaka Cho1-0/+10
under provider, we need to specify logback artifact to remove the issue Change-Id: Idb85bac263983447cc4b0d3d8e828371d1c7b2b4 Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-09-09added test case to SshJcraftWrapperTestSandeep J1-1/+22
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic40b87f63f4b14b70870fa717bcf01f206dc982f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03upgrade netty-handler from 4.0.27 to 4.1.22Taka Cho1-0/+12
excluded cassandra from sdc tosca and upgrade cassandra to 3.0.8 Change-Id: I725329e35746a9ed62aa9eda59ecbaefdaf8575b Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-31Remove excess feature filesPatrick Brady7-189/+0
These feature stub files were accidently created, they should not be in these projects. Change-Id: Ib710d4d9be3d2f323ba2e4cfca31b2951777825f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-08-28removed redundant object assignmentSandeep J1-7/+0
removed PropertyDefinition object creation dependency. The object is already defined in the setUp method. Issue-ID: APPC-1086 Change-Id: Icb7e791109a409af1b646b07052bc43517d09dc5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-24Remove old appc-commonRyan Young3-3/+3
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-23added test case to TestPropertyDefinitionNode.javaSandeep J1-0/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7a07ce47115eff276217addc92baf1df15bdb06e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-22added test case to TestPropertyDefinitionNode.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3c5b31a1127a364512b7787e28b1cdc7191a9138 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21Revert "resolving logback-classic 1.13"Patrick Brady6-66/+2
Temporary revert to fix failing bundles. This reverts commit 76b6ff1ce84d4c2ab4518dd5f154083b91680245. Change-Id: Ibce5eee91ad8f1bec9b458a52a7f5d25ada85da9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-21Revert "remove logback 1.1.2 security issue"Patrick Brady1-9/+0
Temporary revert to fix failing bundles. This reverts commit 9922c9250a5419c726be6fae9ffb083e365d49e0. Change-Id: I148f5b2add6b247b56ff1a3169d69458b363a4de Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-08-21Correct missing bundlePatrick Brady1-0/+35
The appc-config-params feature requries a bundle which is not already added to the installation zip automatically. Change-Id: I2e256b0e28024e4b59ff002b2297447c5e3f9d12 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-20added test to cover catch portion of exceptionSandeep J1-1/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I91dcb8497ad2d5fe88238f1979f413584803d000 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-20resolving logback-classic 1.13 from security issueTaka Cho6-2/+66
cdp-pal and eelf are the jar using logback-classic 1.1.3. need to use exclusions option in pom file Issue-ID: APPC-1018 Change-Id: I00b41f9c366a5ead3f4205cd6fa6b9eb74599767 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-19fixing common-collection 3.2.1 security issueTaka Cho4-4/+4
changed pom.xml and features.xml to keep common-collection to 3.2.2 Change-Id: I3ccd44d61f2e58edae9de6d7042cdb752bbd73cb Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-17added test xml data to xml_data.xmlSandeep J1-0/+6
the code coverage for isXML method in CheckDataTool.java in appc-config-generator was failing because there was no data in xml_data.xml. So, added some test data. Now the coverage is happening properly. Issue-ID: APPC-1086 Change-Id: Iab203d502b145a83e7479dfaabfe8474ec629d90 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test cases to TestXSLTTransformerNode.javaSandeep J1-1/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: If07e899b03ba416b94675dfdcf1e45c5c365822d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case and formatted codeSandeep J1-33/+60
to increase code coverage Issue-ID: APPC-1086 Change-Id: I1f763c635cad7830cea4fbb55c864992bd04a184 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case to TestFileWriterNode.javaSandeep J1-1/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4665f2da142c4f5aaf01af8275ae480542a84cec Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case to TestPropertyDefinitionNode.javaSandeep J1-1/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: If07e7542e7f9eeebd4d7956227128106d77457cb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16remove logback 1.1.2 security issueTaka Cho1-0/+9
under provider, we need to specify logback artifact to remove the issue Change-Id: I1ab858558a9217fc2859fe663a9befe7884bb65a Issue-ID: APPC-1018 Signed-off-by: Taka Cho <tc012c@att.com>
2018-08-14Karaf 4 for appc-configPatrick Brady63-903/+1563
Change-Id: I3059bf9bca4320d29432b749df6c55aecbdb22e9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1144
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-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-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-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 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 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-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-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-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-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-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-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-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 checkKrishnajinka1-3/+4
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-09use try with resourcesKrishnajinka2-38/+38
Issue-ID: APPC-1046 Change-Id: I28ca35b8a888875f91afda05c4dedee3ed301dde Signed-off-by: Krishnajinka <kris.jinka@samsung.com>