Skip to content

Commit 165fd47

Browse files
committed
display the contents of override files
1 parent b80efa4 commit 165fd47

File tree

1 file changed

+11
-0
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator

1 file changed

+11
-0
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/SitConfig.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// http://oss.oracle.com/licenses/upl.
44
package oracle.kubernetes.operator;
55

6+
import java.io.File;
67
import java.io.IOException;
78
import java.nio.charset.Charset;
89
import java.nio.charset.StandardCharsets;
@@ -197,6 +198,16 @@ private static void copySitConfigFiles(String files[], String secretName) throws
197198
Files.write(path, content.getBytes(charset));
198199
}
199200
}
201+
display(dstDir);
202+
}
203+
204+
private static void display(String dir) throws IOException {
205+
File contents = new File(dir);
206+
String[] list = contents.list();
207+
for (String file : list) {
208+
String content = new String(Files.readAllBytes(Paths.get(file)));
209+
logger.log(Level.INFO, content);
210+
}
200211
}
201212

202213
/**

0 commit comments

Comments
 (0)