edex archvier disabled by default

Former-commit-id: fa46b70c6c78dd19e8b775f320a6b9081d95ece4
This commit is contained in:
mjames-upc 2016-06-27 15:46:07 -05:00
parent ce96193f8d
commit 2ab6f1905f
4 changed files with 9 additions and 6 deletions

View file

@ -1,9 +1,9 @@
# enable archive
archive.enable=true
archive.enable=false
# runs database and hdf5 archive for archive server to pull data from
archive.cron=0+40+*+*+*+?
# path to store processed archive data
archive.path=/archive
archive.path=/awips2/archive
# enable archive purge
archive.purge.enable=true
@ -13,7 +13,7 @@ archive.purge.cron=0+5+0/2+*+*+?
archive.compression.enable=false
# To change Default case directory.
#archive.case.directory=/data/archiver
#archive.case.directory=/awips2/edex/data/archiver/
# to disable a specific archive, use property archive.disable=pluginName,pluginName...
#archive.disable=grid,text,acars

View file

@ -46,6 +46,7 @@ import com.raytheon.uf.edex.core.dataplugin.PluginRegistry;
* Dec 16, 2011 rjpeter Initial creation
* Nov 05, 2013 2499 rjpeter Repackaged, updated to use System properties.
* Dec 11, 2013 2555 rjpeter archivePath overridable via System properties.
* Jun 23, 2016 mjames@ucar Update archive path.
* </pre>
*
* @author rjpeter
@ -87,7 +88,7 @@ public class DataArchiver {
}
// default to /archive
archivePath = System.getProperty(PATH_PROPERTY, "/archive");
archivePath = System.getProperty(PATH_PROPERTY, "/awips2/archive");
}
public void archivePlugins() {

View file

@ -65,6 +65,7 @@ import com.raytheon.uf.edex.database.cluster.handler.SharedLockHandler.LockType;
* Apr 01, 2014 2862 rferrel Initial creation
* Apr 24, 2014 2726 rjpeter Added shutdown cancel
* May 28, 2014 3137 rferrel Checks to prevent NullPointerException.
* Jun 23, 2016 mjames@ucar Missing archive directory should be a warning.
* </pre>
*
* @author rferrel
@ -119,7 +120,7 @@ public class ArchivePurgeManager {
sentPurgeMessage = false;
if (!archiveRootDir.isDirectory()) {
statusHandler.error(archiveRootDir.getAbsolutePath()
statusHandler.warn(archiveRootDir.getAbsolutePath()
+ " not a directory.");
return purgeCount;
}

View file

@ -32,6 +32,7 @@ import com.raytheon.uf.common.archive.request.ArchiveCaseCreationAuthRequest;
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Mar 25, 2014 2853 rferrel Initial creation
* Jun 23, 2016 mjames@ucar Data archive path update.
*
* </pre>
*
@ -44,7 +45,7 @@ public class ArchiveCaseCreationAuthRequestHandler extends
private final String CASE_DIR_KEY = "archive.case.directory";
private final String CASE_DIR_DEFAULT = "/data/archiver";
private final String CASE_DIR_DEFAULT = "/awips2/edex/data/archiver/";
@Override
public ArchiveAdminAuthRequest handleRequest(ArchiveAdminAuthRequest request)