From e6b303e1149aed60b7d19f88afe1ef9171d8ebd0 Mon Sep 17 00:00:00 2001 From: Fatih Pense Date: Tue, 25 Aug 2020 04:14:44 +0300 Subject: [PATCH] change config file name --- example-test-data/{pizugtest.yaml => pizug-test.yaml} | 0 src/main/java/com/pizug/cpi/mappingtest/App.java | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename example-test-data/{pizugtest.yaml => pizug-test.yaml} (100%) diff --git a/example-test-data/pizugtest.yaml b/example-test-data/pizug-test.yaml similarity index 100% rename from example-test-data/pizugtest.yaml rename to example-test-data/pizug-test.yaml diff --git a/src/main/java/com/pizug/cpi/mappingtest/App.java b/src/main/java/com/pizug/cpi/mappingtest/App.java index 9f8505d..cf95fa0 100644 --- a/src/main/java/com/pizug/cpi/mappingtest/App.java +++ b/src/main/java/com/pizug/cpi/mappingtest/App.java @@ -32,7 +32,7 @@ public class App implements Callable { @Option(names = { "-d", - "--directory" }, paramLabel = "DIRECTORY", description = "the directory containing test data and pizugtest.yaml configuration") + "--directory" }, paramLabel = "DIRECTORY", description = "the directory containing test data and pizug-test.yaml configuration") String directoryString; @Option(names = { "-p", "--password" }, description = "Default password for CPI user", interactive = true) @@ -53,10 +53,10 @@ public Integer call() throws Exception { } Path directoryPath = Paths.get(directoryString); - Path configFile = Paths.get(directoryString, "pizugtest.yaml"); + Path configFile = Paths.get(directoryString, "pizug-test.yaml"); if (!Files.exists(configFile)) { - System.out.println("No pizugtest.yaml config file found: " + configFile.normalize().toAbsolutePath()); + System.out.println("No pizug-test.yaml config file found: " + configFile.normalize().toAbsolutePath()); return 1; }