summaryrefslogtreecommitdiffstats
path: root/vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java')
-rw-r--r--vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java b/vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java
index 8553110..534bb20 100644
--- a/vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java
+++ b/vnf-sdk-function-test/src/main/java/org/onap/vnfsdk/functest/scriptmgr/ScriptManager.java
@@ -66,7 +66,7 @@ public class ScriptManager {
public static String storeChunkFileInLocal(String dirName, String fileName, InputStream uploadedInputStream)
throws IOException {
File tmpDir = new File(dirName);
- LOGGER.info("tmpdir=" + dirName);
+ LOGGER.info("tmpdir={}", dirName);
if (!tmpDir.exists()) {
tmpDir.mkdirs();
}
@@ -132,10 +132,10 @@ public class ScriptManager {
// Unzip the folder
String tempDir = System.getProperty("user.dir") + nl + "temp";
List<String> list = FileUtil.unzip(filePath, tempDir);
- LOGGER.info("File path=" + filePath);
+ LOGGER.info("File path={}", filePath);
String[] directories = FileUtil.getDirectory(tempDir);
- LOGGER.info("tempdir=" + tempDir);
+ LOGGER.info("tempdir={}", tempDir);
if (null != directories && 0 != directories.length) {
filePath = tempDir + File.separator + directories[0];
} else {
@@ -192,13 +192,13 @@ public class ScriptManager {
}
public Response getOperationResult(UUID operID) {
- LOGGER.info("[Script Manager] Query functest Status by ID." + operID);
+ LOGGER.info("[Script Manager] Query functest Status by ID: {}.", operID);
return OperationStatusHandler.getInstance().getOperationStatus(operID);
}
public Response downloadResults(UUID taskID) {
- LOGGER.info("[Script Manager] Download functest Result by ID: " + taskID);
+ LOGGER.info("[Script Manager] Download functest Result by ID: {}.", taskID);
Response resp = VnfFuncTestResponseHandler.getInstance().downloadResults(taskID.toString());