aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-22Increase coverage in artifact-handler-node packageJoss Armstrong4-111/+115
Increased coverage from 56% to 93% Issue-ID: APPC-1335 Change-Id: I65ed7979141a035444ff45e7540d7fb022d24355 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-22Coverage for appc-artifact-handler packageJoss Armstrong5-41/+262
Increased coverage from 0% to 95% Issue-ID: APPC-1335 Change-Id: I3c2e1f22009c47cda983e61eda7e98c48564ee98 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-21Added Junit test file for RequestInfo.javaezhil1-0/+68
Change-Id: I715d86976b1a328ce463701add3967a559ae1b7e Issue-ID: APPC-1320 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-21Correct unit tests for DBService classJoss Armstrong5-113/+221
Increased test coverage from 74% to 92% in DBService class Issue-ID: APPC-1335 Change-Id: Iabd792eb104429d5090e0099dba463e8ad6d499a Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-21Network Inventory Cient Platform HardeningBalaji, Ramya (rb111y)8-1228/+1242
Renamed class files to be more meaningful and synched up directories Issue-ID: APPC-1338 Change-Id: I5eee7c96013e8733fb14e4b0a1de88d4c9611a0f Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2019-01-18Update install-feature for pre-installPatrick Brady33-99/+33
Since the feature zip files will be extracted during docker build, the install-features scripts need to be modified so that the script will not fail when the zip file does not exist, since the zip file will have already been unzipped. Change-Id: I441064226db956addae5c2f238114ce3965c13ef Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1337
2019-01-18add new committter Joss ArmstrongTaka Cho1-0/+5
Modify INFO.yaml for new committer Change-Id: Ibdee209785944ad5ae4f8c497df483b6b993a782 Issue-ID: APPC-1333 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-01-18added test case to TestDGGeneralDBServiceSandeep J1-0/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I2e5908c7f4728ff9cd33d11ddf6b398c0a472bdd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-18made changes to existing test caseSandeep J1-91/+98
to increase code coverage Issue-ID: APPC-1086 Change-Id: I521d6770ee383d78a005bd9ce8c77c6682e14678 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-18added test file for SequenceGeneratorInputBuilderSandeep J1-0/+86
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibebd0df80d998c596aa1b5e06950898a735d2256 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-17added test cases to ConfigComponentAdaptorTestSandeep J1-1/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: I41734fcfc86da21114daacedaab02fbb2de86504 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-17Fix intermittent time based test failuresJoss Armstrong8-399/+414
Fix bug in test code causing intermittent failure and tidy up test code in package Issue-ID: APPC-1331 Change-Id: Ic03b189a797ed6b88c868ec21c79ef037224fcb7 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-17Fix unit tests for appc-command-executor-coreJoss Armstrong5-99/+187
Increase line coverage of package from 43% to 93% Issue-ID: APPC-1329 Change-Id: I0a4e2a0a85f6761becde4a74609358267530d92d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-17Test coverage for appc-workflow-management-coreJoss Armstrong3-114/+152
Increase test coverage from 2% to 73% Issue-ID: APPC-1332 Change-Id: I41567d3b5108581bbdce95671366a57323c7b1a4 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-17Added junit test file for ResponseTest.javaezhil1-0/+61
Change-Id: I89a6669bb6ce209e0f01b616530b87ee2048f3f3 Issue-ID: APPC-1316 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-16added test case to ConfigResourceNode.javaSandeep J1-1/+19
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3d49e11a910b42a9e0ec17768a79c43dfc018c34 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-16added test cases to TestDGGeneralDBServiceSandeep J1-2/+37
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5c765135fad3720818d76a87b7ebe1691dc39155 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-16Remove deprecated mock implementations of LCMJoss Armstrong10-631/+10
Removal of deprecated code Issue-ID: APPC-1328 Change-Id: I075ed20b648b78c51cbfcb123958340ab379ac09 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-14Fix unit tests in provider-lcm-serviceJoss Armstrong7-912/+92
Increased line coverage from 69% to 87% Removed PrepareForTest annotations for classes under test Issue-ID: APPC-1326 Change-Id: I75be7235f4c13b0f395843907958d7391a333a32 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-14Fix VM Snapshot error during image validationJoss Armstrong2-3/+7
prefix image name with 'in:' and surround with quotes to deal with change to Glance that no longer supports image names including colons passed as plain strings Issue-ID: APPC-869 Change-Id: If81accc3edd7b4805eb965b11f466df9654d6010 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-11Fixed sonar issue in ProviderAdapterImplezhil1-5/+2
Change-Id: I0a2e6f4ad94ad3c172ca15b0111892d38b188a55 Issue-ID: APPC-1299 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-11Fix for unit tests in appc-data-access-libJoss Armstrong2-11/+5
Increased test coverage from 32% to 82% Removed PrepareForTest annotation from class under test Issue-ID: APPC-1324 Change-Id: I58f7e495d0405d994132eea20ebae248d8887238 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-11Fix unit test with @PrepareForTest annotationJoss Armstrong1-22/+3
Removed annotation and fixed tests. Increased package line coverage from 50% to 88% Issue-ID: APPC-1323 Change-Id: Iae5441e5e6243755f8ec6ab178668a5c985eaf6a Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-11Add code coverage for metric-service-policy codeJoss Armstrong8-50/+188
Increased line coverage from 0% to 79% Issue-ID: APPC-1321 Change-Id: I79f65d97055248b73da875e9591bd2c6e86afca4 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-10Added JUNIT test for PreCheckOption.javaezhil1-0/+64
Change-Id: Id50d6b00a1c86ca5a350dc0f5f36f0decc28d413 Issue-ID: APPC-1314 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-10Test coverage in appc-dg-sshJoss Armstrong7-188/+356
Increased line coverage from 49% to 93% Issue-ID: APPC-1313 Change-Id: I2f27742fd996cd6d07668fd61c887e29f2140818 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-09Test coverage for appc-provider-topologyJoss Armstrong2-20/+14
Increased line coverage from 0% to 86% Issue-ID: APPC-1317 Change-Id: I2297634d50a389c8c250981656e00a9bb2741ea3 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-09Added Junit test file for ActionIdentifier.javaezhil1-0/+44
Change-Id: Ia9a2a0df159448354ed094875e5ba16316a87432 Issue-ID: APPC-1315 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-09Added test file to Transaction.javaezhil1-0/+107
Change-Id: I75419387c7b36790c5e41f9577672bcb1c65eba4 Issue-ID: APPC-1307 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-09Test Coverage in appc-dg-netconfJoss Armstrong6-64/+23
Increased coverage from 22% to 97% Issue-ID: APPC-1311 Change-Id: I631cfdb29e4c374f0f015d3a81b4918eed6894ec Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Test coverage in appc-dg-mdsal-bundleJoss Armstrong9-31/+325
Increase test coverage from 11% to 77% Issue-ID: APPC-1308 Change-Id: I5cb45e2879bcf97a182687276fdf926f769b0e51 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Change parent version to appc snapshotPatrick Brady218-219/+219
Changing to the current release snapshot version of the appc parents instead of the previous release version. This allows updated changes to parents to be in builds. Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Increase unit test coverage in appc-dg-aai projectJoss Armstrong5-15/+321
Increased line coverage from 11% to 93% Issue-ID: APPC-1305 Change-Id: Iab844f4b6a048eee884c92d397c87159d38b0aa5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-07Update parent pom versionPatrick Brady219-220/+221
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
2019-01-07Fixes feature install on latest ccsdkPatrick Brady4-55/+6
Updated rest adapter to resolve dependencies the same way that other appc features do. This fixed the karaf crash during install. Added necessary dependencies as embedded or karaf bundles to other appc features, as needed. Change-Id: Id04d08cd09c2ff0cae0db8ecbc61405da10882d7 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-04Dependency changes to overcomeBalaji, Ramya (rb111y)4-6/+36
linkage error Issue-ID: APPC-1289 Change-Id: I7a424430bc3510c87b087913fad8992378e27a1b Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2019-01-03Sonar Fix: AAIResourceNode.javaArundathi Patil1-5/+4
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1265 Change-Id: Id0339b89f05ba3d55d6b01a0c885fabcadcd86da Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2019-01-03Fixed sonar issue in Utils.javaezhil1-7/+2
Change-Id: I5edf48443c10f08200b0ea376194a9a8fc6dc29a Issue-ID: APPC-1302 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-03Increase code coverage in appc-dg-dependency-modelJoss Armstrong5-10/+204
Increased coverage of sub-project from 50% to 80% Issue-ID: APPC-1301 Change-Id: Ib69b010cd34302a8a9c3b9a291bcbc351babd731 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-02Fixed sonar in SequenceGeneratorDBservices.javaezhil1-8/+20
Change-Id: I9931d24771399dedb8c7884d1009d6c3cb84ba16 Issue-ID: APPC-1297 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2019-01-02Fixed sonar issues in CreateSapshot.javaezhil1-2/+2
Change-Id: Ib3c1e84cdbec3e2698f55b13c038afdf9e51d294 Issue-ID: APPC-1298 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-12-31Fix for test coverage in dg common impl packageJoss Armstrong11-37/+225
Increased test coverage from 42% to 73% Issue-ID: APPC-1296 Change-Id: Ib36c86c325bbc49a14a8ae7076a3b3da14c89b6f Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-20Test coverage in OAM and OAM message-adapterJoss Armstrong5-40/+307
Increased coverage from 19% to 96% for oam package. Increased coverage from 14% to 93% for oam.message-adapter package. Issue-ID: APPC-1290 Change-Id: I91c313ba42b49718445463a524bf80ac0734b0a9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-19Fix for test coverage in oam.utils packageJoss Armstrong6-18/+157
Removed 'PrepareForTest' annotations which were preventing test coverage of classes in appc.oam.utils package. Added unit tests for untested code. Increased line coverage of the package from 49% to 83%. Issue-ID: APPC-1287 Change-Id: I893de5281f8c46e92269be895ef304bbf87c88b9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-19Sonar fix: ServiceCatalogV3.javaArundathi Patil1-2/+2
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1281 Change-Id: I118fe3da8ae3ac3c46ad5f2128353e332387086c Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar Fix: ConnectionBuilder.javaArundathi Patil1-3/+3
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1278 Change-Id: Ic81337c3a2f8c60f5a25adfc10fb4416311de08d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar Fix: ChefResponse.javaArundathi Patil1-4/+6
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1279 Change-Id: I50d5de26d69928037882686452aecd3deb6edbec Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar fix: ProviderAdapter.javaArundathi Patil1-1/+2
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1280 Change-Id: I168acf475095b7ef1a40cc1662d844470f045a5d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Fix for APPC-1286Joss Armstrong8-85/+593
Increased test coverage from 49% to 73% for package. Added coverage for 4 classes that were previously at 0% coverage. Refactored slow running code into a method that can be mocked to speed up execution of unit tests. Issue-ID: APPC-1286 Change-Id: I3ebe5f6bfbc59228b57d20a3c45081e40ee8e31e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-17Fix for OOM-1538Joss Armstrong1-1/+3
This is APPC code change, values.yaml in OOM project also requires update. This is using EncryptionTool class already present in APPC for decryption of password. Alternative may be to use the CryptoUtils class from SO to have common encrypted string? Issue-ID: OOM-1538 Change-Id: I8201dd2587604c19ac584c7af1a9281ab96340d2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>