mute nwsauth/archive plugins
This commit is contained in:
parent
eb11175f2e
commit
234a27ff99
6 changed files with 2 additions and 127 deletions
|
@ -14,4 +14,3 @@ Require-Bundle: org.eclipse.ui,
|
|||
com.raytheon.uf.viz.plugin.nwsauth;bundle-version="1.12.1174"
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Import-Package: com.raytheon.uf.common.plugin.nwsauth.xml
|
||||
|
|
|
@ -117,18 +117,10 @@
|
|||
id="com.raytheon.uf.viz.d2d.nsharp.feature"
|
||||
version="0.0.0"/>
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.archive.feature"
|
||||
version="0.0.0"/>
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.ncep.perspective.feature"
|
||||
version="0.0.0"/>
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.nwsauth.feature"
|
||||
version="0.0.0"/>
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.thinclient.feature"
|
||||
version="0.0.0"/>
|
||||
|
@ -152,11 +144,6 @@
|
|||
<includes
|
||||
id="com.raytheon.uf.viz.acarssounding.feature"
|
||||
version="0.0.0"/>
|
||||
<!--
|
||||
<includes
|
||||
id="com.raytheon.viz.avnfps.feature"
|
||||
version="0.0.0"/>
|
||||
-->
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.dat.feature"
|
||||
|
@ -165,15 +152,7 @@
|
|||
<includes
|
||||
id="com.raytheon.uf.viz.d2d.gfe.feature"
|
||||
version="0.0.0"/>
|
||||
<!--
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.collaboration.feature"
|
||||
version="0.0.0"/>
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.useradmin.feature"
|
||||
version="0.0.0"/>
|
||||
-->
|
||||
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.gisdatastore.feature"
|
||||
version="0.0.0"/>
|
||||
|
@ -189,11 +168,6 @@
|
|||
<includes
|
||||
id="com.raytheon.uf.viz.aviation.advisory.feature"
|
||||
version="0.0.0"/>
|
||||
<!--
|
||||
<includes
|
||||
id="com.raytheon.uf.viz.datadelivery.feature"
|
||||
version="0.0.0"/>
|
||||
-->
|
||||
|
||||
<includes
|
||||
id="edu.wisc.ssec.cimss.viz.convectprob.feature"
|
||||
|
|
|
@ -1902,13 +1902,6 @@
|
|||
id="GFE"
|
||||
name="GFE"
|
||||
point="com.raytheon.uf.viz.localization.localizationpath">
|
||||
<path
|
||||
extensionFilter=".py"
|
||||
localizationType="COMMON_STATIC"
|
||||
name="Base Python"
|
||||
recursive="true"
|
||||
value="python">
|
||||
</path>
|
||||
<path
|
||||
application="GFE"
|
||||
extensionFilter=".py"
|
||||
|
@ -2006,13 +1999,6 @@
|
|||
recursive="true"
|
||||
value="gfe/weGroups">
|
||||
</path>
|
||||
<path
|
||||
extensionFilter=".py"
|
||||
localizationType="COMMON_STATIC"
|
||||
name="VTEC"
|
||||
recursive="true"
|
||||
value="vtec">
|
||||
</path>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
|
|
|
@ -11,7 +11,6 @@ Require-Bundle: org.apache.commons.lang,
|
|||
com.raytheon.uf.edex.decodertools;bundle-version="1.0.0",
|
||||
com.raytheon.uf.common.status;bundle-version="1.11.17",
|
||||
com.raytheon.uf.common.site;bundle-version="1.12.1174",
|
||||
com.raytheon.uf.edex.archive,
|
||||
com.raytheon.uf.edex.ndm;bundle-version="1.0.0",
|
||||
com.raytheon.uf.common.localization;bundle-version="1.14.0"
|
||||
Export-Package: com.raytheon.uf.edex.plugin.text,
|
||||
|
|
|
@ -1,82 +0,0 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
package com.raytheon.uf.edex.plugin.text.maintenance.archiver;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.raytheon.uf.common.dataplugin.persist.DefaultPathProvider;
|
||||
import com.raytheon.uf.common.dataplugin.persist.PersistableDataObject;
|
||||
import com.raytheon.uf.common.dataplugin.text.db.StdTextProduct;
|
||||
import com.raytheon.uf.common.status.IUFStatusHandler;
|
||||
import com.raytheon.uf.common.status.UFStatus;
|
||||
import com.raytheon.uf.edex.archive.IPluginArchiveFileNameFormatter;
|
||||
import com.raytheon.uf.edex.database.plugin.PluginDao;
|
||||
|
||||
/**
|
||||
* Properly stores StdTextProducts by time.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Apr 20, 2012 dgilling Initial creation
|
||||
* Nov 05, 2013 2499 rjpeter Moved IPluginArchiveFileNameFormatter.
|
||||
* Dec 13, 2013 2555 rjpeter Refactored.
|
||||
* </pre>
|
||||
*
|
||||
* @author dgilling
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
public class TextArchiveFileNameFormatter implements
|
||||
IPluginArchiveFileNameFormatter {
|
||||
|
||||
private static final transient IUFStatusHandler statusHandler = UFStatus
|
||||
.getHandler(TextArchiveFileNameFormatter.class);
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
* @see
|
||||
* com.raytheon.uf.edex.archive.IPluginArchiveFileNameFormatter#getFilename
|
||||
* (java.lang.String, com.raytheon.uf.edex.database.plugin.PluginDao,
|
||||
* com.raytheon.uf.common.dataplugin.persist.PersistableDataObject)
|
||||
*/
|
||||
@Override
|
||||
public String getFilename(String pluginName, PluginDao dao,
|
||||
PersistableDataObject<?> pdo) {
|
||||
String path = null;
|
||||
if (pdo instanceof StdTextProduct) {
|
||||
StdTextProduct casted = (StdTextProduct) pdo;
|
||||
|
||||
// no refTime to use, so we use creation time
|
||||
Date time = new Date(casted.getRefTime());
|
||||
path = pluginName
|
||||
+ DefaultPathProvider.fileNameFormat.get().format(time);
|
||||
} else {
|
||||
statusHandler.error("Invalid PersistableDataObject class "
|
||||
+ pdo.getClass()
|
||||
+ "sent to TextArchiveFileNameFormatter to archive");
|
||||
}
|
||||
return path;
|
||||
}
|
||||
}
|
|
@ -13,8 +13,7 @@ Require-Bundle: com.raytheon.edex.common;bundle-version="1.12.1174",
|
|||
javax.persistence;bundle-version="1.0.0",
|
||||
org.apache.commons.lang;bundle-version="2.3.0",
|
||||
com.raytheon.uf.common.auth;bundle-version="1.12.1174",
|
||||
com.raytheon.uf.edex.auth;bundle-version="1.12.1174",
|
||||
com.raytheon.uf.common.plugin.nwsauth;bundle-version="1.12.1174"
|
||||
com.raytheon.uf.edex.auth;bundle-version="1.12.1174"
|
||||
Import-Package: com.raytheon.uf.common.localization,
|
||||
org.apache.commons.configuration
|
||||
Export-Package: com.raytheon.uf.edex.tafqueue
|
||||
|
|
Loading…
Add table
Reference in a new issue