Plaintext config files will no longer be supported in future versions.
Only xml format for config files is fully supported.
Change-Id: Ia232163b3a85338b3ef16df4e5417e038bb33ee7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
private ConfigSnapshotHolder loadLastConfig(File file, FileType fileType) throws IOException {
switch (fileType) {
case plaintext:
+ logger.warn("Plaintext configuration files are deprecated, and will not be supported in future versions. " +
+ "Use xml files instead");
return DirectoryPersister.loadLastConfig(file);
case xml:
try {