diff options
author | Joss Armstrong <joss.armstrong@ericsson.com> | 2019-02-11 11:37:11 +0000 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-02-11 14:15:02 +0000 |
commit | c99acfce1a84cb6d7f827f8585af9c01d0383b67 (patch) | |
tree | 7af486e22ae5162ae9baf79f6d87ffbac3a345dc /appc-config/appc-encryption-tool/provider/src/main/java | |
parent | 991d833fd7558beaf7f2f2df63deb72dabda3e8a (diff) |
Test coverage in wrapperEncryptionTool
Increased coverage from 0% to 81%
Issue-ID: APPC-1409
Change-Id: I1b4d285eff9fad8a60e855a97ff843078d628862
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Diffstat (limited to 'appc-config/appc-encryption-tool/provider/src/main/java')
-rw-r--r-- | appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/WrapperEncryptionTool.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/WrapperEncryptionTool.java b/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/WrapperEncryptionTool.java index e29920ec6..1be6967e0 100644 --- a/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/WrapperEncryptionTool.java +++ b/appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/WrapperEncryptionTool.java @@ -5,6 +5,8 @@ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Copyright (C) 2017 Amdocs + * ================================================================================ + * Modifications Copyright (C) 2019 Ericsson * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,8 +51,8 @@ public class WrapperEncryptionTool { String action = args[4]; String port = args[5]; String url = args[6]; - log.info("vnfType = " + vnfType + " protocol = " + protocol + " user=" + user + " password=" + password - + " action=" + action + " port=" + port + " url=" + url); + log.info("vnfType = " + vnfType + " protocol = " + protocol + " " + USER_PARAM + "=" + user + " " + PASS_PARAM + + "=" + password + " action=" + action + " " + PORT_PARAM + "=" + port + " " + URL_PARAM + "=" + url); if (StringUtils.isBlank(user)) { log.info("ERROR-USER can not be null"); |