aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-02-05Test coverage in rest-healthcheck-adapterJoss Armstrong2-94/+92
Increased coverage Issue-ID: APPC-1387 Change-Id: Idafa0d7dbd5cb740728197bc3b4c232bdbef0821 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Improve test coverage of rebootJoss Armstrong2-17/+49
Increase line coverage from 20% to 73% Issue-ID: APPC-1374 Change-Id: I219261a228f42df56f6988b2d5dc157e6fb10c42 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05Increase coverage of EvacuateServerJoss Armstrong2-3/+63
Increased line coverage of class Issue-ID: APPC-1374 Change-Id: Ica44ff92a446e8b380162675d0f0f79e30ad6e73 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05made changes to existing test caseSandeep J1-6/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I72df9d78b439ff5d8b610d87a5295f5dce3fba59 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05Volume_ - Junit Test case addedSudarshan Kumar1-9/+25
Volume_ - Junit Test case added Issue-ID: APPC-1372 Change-Id: Ie35baff6161aaeecd25e2055ef40f3a6d5b0000b Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-02-05listener bundle change for multiple ansibleBalaji, Ramya (rb111y)10-119/+163
Changes to event listener and dependent bundles Issue-ID: APPC-1376 Change-Id: I26e9f6f39caa2a0b0ad46a3a61d21db9f0c05d47 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2019-02-05added test case to TestSshConnectionMock.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: Icbfd25c82b28783ea2afb7c6cd0411d72f6db12b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05Test coverage in netconf-oldconnectorJoss Armstrong6-38/+261
Increased coverage from 0% to 92% for package Issue-ID: APPC-1388 Change-Id: I9f332f799f67937a40c09bdf724701ef80bbad89 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05added test case to TestSnapShot.javaSandeep J1-4/+12
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iecc9f217c7f230311daf14ba49e3106ce31d017a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05added test case to TestTemplate.javaSandeep J1-5/+13
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie6fdd33aab4ef6f0395d98375a26e83c750a06ce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05added test file to cover VnfType.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia85fd2a0fab0de8b5fbf770ce58b4f308a1e5d74 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-04modified existing test case to increase coverageSandeep J1-24/+29
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ic028f65e2d62529a91de069050aec11db09b6014 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-01Add test coverage for AttachVolumeServerJoss Armstrong2-14/+71
New test file to cover success flow in class Issue-ID: APPC-1374 Change-Id: I576f523225e5ac427b972e78a8392496a71b6bfa Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for DetachVolumeServerJoss Armstrong2-1/+102
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: I334d53df87efb6a25a6f76a1660dd43c98d143b3 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for SnapshotStackJoss Armstrong2-3/+72
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: I6323eb60df3f0966bfa78291ffb3d1b277399ef2 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Test coverage for RestoreStackJoss Armstrong1-0/+92
Added new test file for untested class Issue-ID: APPC-1374 Change-Id: Ie180b5a8f10aaa8aa7ea8b83b403a2eab1885818 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-01Update rest return parametersPatrick Brady1-16/+16
Change-Id: If5d860a37a87ac0feb6452173cf147bbafa079b3 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1381
2019-02-01added test file to cover Resources.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: I65861398bb166baa8691034a17ecb7da248bbca9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31Parameters - Junit Test case addedSudarshan Kumar1-0/+43
Parameters - Junit Test case added Issue-ID: APPC-1372 Change-Id: I04aa72f49066b214f8294bf7592b203f4d10479c Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-31added test file to cover Resources_.javaSandeep J1-0/+49
to increase code coverage Issue-ID: APPC-1086 Change-Id: I9bc51094d3588adbe50089bf85f6f04cf05f99fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31added test file to cover Resources__.javaSandeep J1-0/+52
to increase code coverage Issue-ID: APPC-1086 Change-Id: I3fedafa767942bb6427407d65b2eaf2cff4fd88f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-31Metadata - Junit Test Case AddedSudarshan Kumar1-0/+43
Metadata - Junit Test Case Added Issue-ID: APPC-1372 Change-Id: Iaaefd6161a7657f7997ce0e90558f75866ec006b Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-31added test file for ResourceRegistry.javaSandeep J1-0/+46
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ifa3e0fc4f01293f31ba9ede6cbf6c545da318863 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-01-30remove the old python filesTaka Cho8-1845/+2
Since ansible container build moved to CCSDK/distribution/ansible_server, the files under this directory will be removed Change-Id: Iac2303c3430e2952d59732960a7462f6253a0ecc Issue-ID: CCSDK-1009 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-01-30Data-Junit Test Case AddedSudarshan Kumar1-10/+56
Data-Junit Test Case Added Issue-ID: APPC-1372 Change-Id: Ib0a8c0c66d23bedd213df17d517c10add0ee18a9 Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-30Environment-Junit Test Case AddedSudarshan Kumar1-0/+62
Environment-Junit Test Case Added Issue-ID: APPC-1372 Change-Id: I571f2417eb69e5d7c3ec451ef0b778eb79dde92e Signed-off-by: Sudarshan Kumar <sudars19@in.ibm.com>
2019-01-30Multiple Sonar FixesDriptaroop Das3-13/+10
Multiple Sonar Fixes Issue-ID: APPC-1353 Change-Id: I5bdf2119e886a58606bf6192b97c9ae43e4e0069 Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2019-01-18Update install-feature for pre-installPatrick Brady7-21/+7
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-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-08Change parent version to appc snapshotPatrick Brady45-46/+46
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-07Update parent pom versionPatrick Brady45-46/+46
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)3-5/+22
linkage error Issue-ID: APPC-1289 Change-Id: I7a424430bc3510c87b087913fad8992378e27a1b Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.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-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-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-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>
2018-12-14Possible fix for NoClassDefFoundErrorBalaji, Ramya (rb111y)8-105/+107
Changed package structure, pom file for Utils classto expose it under export-package for DMaap adapter bundle Issue-ID: APPC-1247 Change-Id: I1662d3af027982a87c063cabee77a645f2bc3afa Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-12-13Fix for APPC-1271Joss Armstrong3-36/+148
Replaced slow running tests which wait for timeout Testing time reduced from 22 seconds to 0.5 seconds Improved tests and line coverage increased from 26% to 96% Issue-ID: APPC-1271 Change-Id: I88713e5c819e5ce1bf695f6de3834db7c3007285 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-01Sonar Fix: AnsibleMessageParser.javaArundathi Patil1-1/+4
Fixed sonar issues/code-smells across this file. Issue-ID: APPC-1256 Change-Id: I70480e3867c0ab49325d10e0ec91e76bf6979c50 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-28Sonar Fix: ChefApiClientFactory.javaArundathi Patil1-3/+3
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1253 Change-Id: Id1060c34f0b99e906dba618d9ea0aebca0fc1beb Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-28Sonar Fix: ConnectionBuilder.javaArundathi Patil1-2/+2
Fixed sonar issues/code-smells across this file Issue-ID: APPC-1252 Change-Id: I8f07da91c7b29012c8d4b72af8b94ee5c5a017a4 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-28Sonar Fix: AnsibleResult.javaArundathi Patil1-8/+8
Fixed sonar issues/code-smells across the file. Issue-ID: APPC-1250 Change-Id: I9adca61255c1e20094bf992bfa1430ee4af50528 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-15Add w3c importPatrick Brady1-1/+1
Change-Id: I7eb93f41fb2fc505af609e9c2d53bc4c45d8aee1 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1241
2018-11-12Increment version numberPatrick Brady50-55/+55
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-11-07More logging added to debugBalaji, Ramya (rb111y)2-1/+10
Issue-ID: APPC-1231 Change-Id: I45790aff545c566fbf62ea1908143b15f3920122 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>