aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config
AgeCommit message (Collapse)AuthorFilesLines
2019-01-07Update parent pom versionPatrick Brady42-42/+42
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-12-11Further fixes for APPC-1270Joss Armstrong2-259/+714
Fixed >100 sonar issues Increased line coverage from 26% to 87% Improved testing Removal of redundant code in class under test Issue-ID: APPC-1270 Change-Id: I63f53f03be815bb951d650df2f77999e5629ad75 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-06Fix for APPC-1270Joss Armstrong2-219/+318
Reduced testing time from 90 seconds to 2 seconds Removed code smell for multiple instance/static references Added assertions and coverage for success scenarios for all methods Line coverage increased from 55% to 84% Moved construction of objects to protected methods to facilitate testing Issue-ID: APPC-1270 Change-Id: I7945c069c703d2ea3fac9ffa33927856170656c9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-03Fix for APPC-1264Joss Armstrong20-406/+298
Fixed broken unit tests. Improved unit testing and increased line and branch coverage. Deleted unused and duplicated files used in tests. Issue-ID: APPC-1264 Change-Id: Idea7d46f4a6c9c591617fb973a8d33e5275e4579 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-11-30Fix for APPC-1263Joss Armstrong6-176/+111
Removal of unused code. Refactoring of duplicated code and replacement with FileUtils library function and adding test case for ArtifactTransformer Issue-ID: APPC-1263 Change-Id: I4eab0cefa09620bae18c08ec2c4307d54dddd872 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-11-29Test case improvements for APPC-1262Joss Armstrong7-25/+153
Improvements to existing test cases and new test case to increase coverage of PropertyDefinition code from 84% to 96% and coverage of ArtifactProcess code to 95% Issue-ID: APPC-1262 Change-Id: Ibfd46c341e218ffac0505b097770c64aa00a494e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-11-29added test cases to TestPropertyDefinitionNodeSandeep J1-0/+46
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib2e6bcd3a479ed9c8335461ddbfe4e3fd36a7bab Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-29added test cases to TestMergeNode.javaSandeep J1-0/+40
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7113c096993247135d54dcb9b686f1006907ca33 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-28added test case to TestXSLTTransformerNodeSandeep J1-1/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4e185d1c1117f0bab6a63618621b55aef376a2c9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-28added test case to TestDataTool.javaSandeep J1-2/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: If4e5bacbfe63bca2d0859f2f86623044c6cba3a2 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-28added test case to TestPatternNode.javaSandeep J1-1/+16
to increase code coverage Issue-ID: APPC-1086 Change-Id: I4b0ac6e586245c532a2a698b2907d518ce4d6adb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-28added test case to TestConvertNode.javaSandeep J1-1/+52
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia5890e45849fad0a17753fe03c217a60777a8945 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-11-12Increment version numberPatrick Brady43-51/+51
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-11Code Fix for exceptionBalaji, Ramya (rb111y)1-8/+0
Removed code added for debug purposes to show parameters in payload as it causes exception at run-time. Issue-ID: APPC-1215 Change-Id: Ib20b7616a3a24beb540910a58a1fb582788fbe57 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-10-11Roll to next version after releasePatrick Brady43-51/+51
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 Brady42-42/+42
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-01Last few pom files missing versionPatrick Brady7-0/+7
Change-Id: I8fbf26f06ea770bae85d0ad4943148225895a885 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-24Add version to pom filesPatrick Brady15-0/+15
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-21Remove logback 1.1.3 security issuePatrick Brady6-4/+70
cdp-pal and eelf are the dependencies using logback-classic 1.1.3. Need to use exclusions option in pom file Change-Id: Id8f5817ec955e2b7b486bc0215c35541086606aa Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-09-21Remove logback 1.1.2 security issuePatrick Brady1-2/+10
Replace the logback version brought brought in by tosca datatype dependency of appc-config-params. Change-Id: I6ebeb13676ff284fa4c56b39028d2d91cffdf37a Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1018
2018-09-19Changes to identity-url for multistep flowGeorge, Lina (lg941u)3-12/+10
Change-Id: I82f1d4302ebd4ad53d7f1f0b78b16f98ee8916f9 Issue-ID: APPC-1186 Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-09-19Changes to encryptionToolDGWrapperGeorge, Lina (lg941u)1-41/+68
Issue-ID: APPC-1199 Change-Id: Ifa93fd75d08081e0fdc8fc4f941934df0cc4706a Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-09-12Revert "remove logback 1.1.2 security issue"Patrick Brady1-10/+0
Fix for bundle error. This reverts commit b51a315636321718cde5ea759cebcb1b28a06d94. Change-Id: Idd5cc7452a4ff36c1238ccc6c38dbcdcd4453769 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1202
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel7-14/+14
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-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>