Merge pull request #8 from tiffanycmeyer13/thin_client_updates
Default CAVE/Thin Client setup with Alertview
This commit is contained in:
commit
845c878de6
11 changed files with 17 additions and 105 deletions
|
@ -298,7 +298,9 @@
|
||||||
<antcall target="p2.build.repo">
|
<antcall target="p2.build.repo">
|
||||||
<param name="feature" value="com.raytheon.uf.viz.d2d.ui.awips.feature" />
|
<param name="feature" value="com.raytheon.uf.viz.d2d.ui.awips.feature" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
<antcall target="p2.build.repo">
|
||||||
|
<param name="feature" value="com.raytheon.uf.viz.alertview.feature" />
|
||||||
|
</antcall>
|
||||||
<antcall target="cleanup.features" />
|
<antcall target="cleanup.features" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
# Warngen
|
|
||||||
com.raytheon.viz.warngen
|
|
||||||
# GFe Perspective
|
|
||||||
com.raytheon.viz.gfe
|
|
||||||
com.raytheon.viz.ghg
|
|
||||||
# AvnFPS
|
|
||||||
com.raytheon.viz.aviation
|
|
||||||
com.raytheon.viz.avnconfig
|
|
||||||
# MPE
|
|
||||||
com.raytheon.viz.mpe
|
|
||||||
com.raytheon.viz.mpe.ui
|
|
||||||
# Hydro
|
|
||||||
com.raytheon.viz.hydrobase
|
|
||||||
com.raytheon.viz.hydrocommon
|
|
||||||
com.raytheon.viz.hydro
|
|
||||||
# ncep
|
|
||||||
gov.noaa.nws.ncep.viz.ui.perspectives
|
|
||||||
gov.noaa.nws.ncep.ui.nctextui
|
|
||||||
gov.noaa.nws.ncep.viz.cloudHeight
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.airmet
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.atcf
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.convsigmet
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.ffa
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.ffg
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.idft
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.intlsig
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.lightning
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.mosaic
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.ncgrid
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.ncscat
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.nonconvsigmet
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.plotdata
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.satellite
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.svrl
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.warn
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.wcn
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.wcp
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.wstm
|
|
||||||
gov.noaa.nws.ncep.viz.rsc.wou
|
|
||||||
#localization
|
|
||||||
com.raytheon.uf.viz.localization.perspective
|
|
||||||
org.eclipse.wst.xml.ui
|
|
||||||
com.python.pydev
|
|
||||||
com.python.pydev.analysis
|
|
||||||
com.python.pydev.codecompletion
|
|
||||||
com.python.pydev.debug
|
|
||||||
com.python.pydev.fastparser
|
|
||||||
com.python.pydev.refactoring
|
|
||||||
org.python.pydev
|
|
||||||
org.python.pydev.ast
|
|
||||||
org.python.pydev.core
|
|
||||||
org.python.pydev.customizations
|
|
||||||
org.python.pydev.debug
|
|
||||||
org.python.pydev.django
|
|
||||||
org.python.pydev.help
|
|
||||||
org.python.pydev.jython
|
|
||||||
org.python.pydev.parser
|
|
||||||
org.python.pydev.refactoring
|
|
||||||
org.python.pydev.shared_core
|
|
||||||
org.python.pydev.shared_interactive_console
|
|
||||||
org.python.pydev.shared_ui
|
|
|
@ -78,7 +78,7 @@ import com.raytheon.viz.ui.personalities.awips.CAVE;
|
||||||
* Dec 04, 2015 5169 bsteffen Allow ProductAlertObserver to send messages
|
* Dec 04, 2015 5169 bsteffen Allow ProductAlertObserver to send messages
|
||||||
* to the AutoUpdater
|
* to the AutoUpdater
|
||||||
* Feb 08, 2016, 5281 tjensen Combined Data and Menu Refresh Intervals
|
* Feb 08, 2016, 5281 tjensen Combined Data and Menu Refresh Intervals
|
||||||
*
|
* May 05, 2017 mjames Removed thinclient blacklist
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @author njensen
|
* @author njensen
|
||||||
|
@ -117,34 +117,6 @@ public class ThinClientComponent extends CAVE implements IThinClientComponent {
|
||||||
|
|
||||||
ThinClientURICatalog.getInstance();
|
ThinClientURICatalog.getInstance();
|
||||||
ThinClientDataUpdateTree.getInstance();
|
ThinClientDataUpdateTree.getInstance();
|
||||||
List<String> pluginBlacklist = new ArrayList<String>();
|
|
||||||
File blacklistFile = BundleScanner.searchInBundle(
|
|
||||||
com.raytheon.uf.viz.thinclient.cave.Activator.PLUGIN_ID, "",
|
|
||||||
"ThinClientPluginBlacklist.txt");
|
|
||||||
if (blacklistFile != null && blacklistFile.exists()) {
|
|
||||||
BufferedReader reader = null;
|
|
||||||
try {
|
|
||||||
reader = new BufferedReader(new FileReader(blacklistFile));
|
|
||||||
String line = null;
|
|
||||||
while (null != (line = reader.readLine())) {
|
|
||||||
pluginBlacklist.add(line.trim());
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
if (reader != null) {
|
|
||||||
reader.close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
for (Bundle b : Activator.getDefault().getContext().getBundles()) {
|
|
||||||
if (pluginBlacklist.contains(b.getSymbolicName())) {
|
|
||||||
b.stop();
|
|
||||||
b.uninstall();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (Throwable t) {
|
|
||||||
t.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -68,7 +68,7 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
|
||||||
* method will be used.
|
* method will be used.
|
||||||
*/
|
*/
|
||||||
store.setDefault(ThinClientPreferenceConstants.P_DATA_REFRESH_METHOD,
|
store.setDefault(ThinClientPreferenceConstants.P_DATA_REFRESH_METHOD,
|
||||||
ThinClientPreferenceConstants.P_DATA_REFRESH_METHOD_PUSH);
|
ThinClientPreferenceConstants.P_DATA_REFRESH_METHOD_POLL);
|
||||||
|
|
||||||
store.setDefault(
|
store.setDefault(
|
||||||
ThinClientPreferenceConstants.P_ENABLE_REQUEST_COMPRESSION,
|
ThinClientPreferenceConstants.P_ENABLE_REQUEST_COMPRESSION,
|
||||||
|
@ -80,7 +80,7 @@ public class PreferenceInitializer extends AbstractPreferenceInitializer {
|
||||||
|
|
||||||
// Default data refresh rate
|
// Default data refresh rate
|
||||||
store.setDefault(ThinClientPreferenceConstants.P_DATA_REFRESH_INTERVAL,
|
store.setDefault(ThinClientPreferenceConstants.P_DATA_REFRESH_INTERVAL,
|
||||||
5);
|
1);
|
||||||
|
|
||||||
// By default, no proxy used
|
// By default, no proxy used
|
||||||
store.setDefault(ThinClientPreferenceConstants.P_USE_PROXIES, false);
|
store.setDefault(ThinClientPreferenceConstants.P_USE_PROXIES, false);
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
|
-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
|
||||||
-Dorg.eclipse.swt.internal.gtk.useCairo=false
|
-Dorg.eclipse.swt.internal.gtk.useCairo=false
|
||||||
-Dorg.eclipse.ui/KEY_CONFIGURATION_ID=com.raytheon.viz.ui.cave.scheme
|
-Dorg.eclipse.ui/KEY_CONFIGURATION_ID=com.raytheon.viz.ui.cave.scheme
|
||||||
-Dlogback.configurationFile=logback-viz-core.xml
|
-Dlogback.configurationFile=logback-viz-alertview.xml
|
||||||
-Dlogback.statusListenerClass=com.raytheon.uf.common.logback.UFLogbackInternalStatusListener
|
-Dlogback.statusListenerClass=com.raytheon.uf.common.logback.UFLogbackInternalStatusListener
|
||||||
-Dthrift.stream.maxsize=320
|
-Dthrift.stream.maxsize=320
|
||||||
-Dviz.memory.warn.threshold=10M
|
-Dviz.memory.warn.threshold=10M
|
||||||
|
|
5
dist/comps.xml
vendored
5
dist/comps.xml
vendored
|
@ -102,7 +102,6 @@
|
||||||
<packagereq type="mandatory">awips2-yajsw</packagereq>
|
<packagereq type="mandatory">awips2-yajsw</packagereq>
|
||||||
<packagereq type="mandatory">awips2-edex-rcm</packagereq>
|
<packagereq type="mandatory">awips2-edex-rcm</packagereq>
|
||||||
<packagereq type="mandatory">awips2-edex-mpe</packagereq>
|
<packagereq type="mandatory">awips2-edex-mpe</packagereq>
|
||||||
<packagereq type="mandatory">awips2-gfesuite</packagereq>
|
|
||||||
<packagereq type="mandatory">awips2-edex-geodb</packagereq>
|
<packagereq type="mandatory">awips2-edex-geodb</packagereq>
|
||||||
<packagereq type="mandatory">awips2-ldm</packagereq>
|
<packagereq type="mandatory">awips2-ldm</packagereq>
|
||||||
|
|
||||||
|
@ -120,6 +119,7 @@
|
||||||
<packagereq type="mandatory">awips2-python</packagereq>
|
<packagereq type="mandatory">awips2-python</packagereq>
|
||||||
<packagereq type="mandatory">awips2-python-jep</packagereq>
|
<packagereq type="mandatory">awips2-python-jep</packagereq>
|
||||||
<packagereq type="mandatory">awips2-qpid-broker-j</packagereq>
|
<packagereq type="mandatory">awips2-qpid-broker-j</packagereq>
|
||||||
|
<packagereq type="mandatory">awips2-qpid-proton</packagereq>
|
||||||
<packagereq type="mandatory">awips2-rcm</packagereq>
|
<packagereq type="mandatory">awips2-rcm</packagereq>
|
||||||
<packagereq type="mandatory">awips2-data.hdf5-topo</packagereq>
|
<packagereq type="mandatory">awips2-data.hdf5-topo</packagereq>
|
||||||
<packagereq type="mandatory">awips2-data.gfe</packagereq>
|
<packagereq type="mandatory">awips2-data.gfe</packagereq>
|
||||||
|
@ -177,9 +177,9 @@
|
||||||
<packagereq type="mandatory">awips2-cave-wrapper</packagereq>
|
<packagereq type="mandatory">awips2-cave-wrapper</packagereq>
|
||||||
<packagereq type="mandatory">awips2-gfesuite</packagereq>
|
<packagereq type="mandatory">awips2-gfesuite</packagereq>
|
||||||
|
|
||||||
<packagereq type="mandatory">awips2-alertviz</packagereq>
|
|
||||||
<packagereq type="mandatory">awips2-cli</packagereq>
|
<packagereq type="mandatory">awips2-cli</packagereq>
|
||||||
<packagereq type="mandatory">awips2-notification</packagereq>
|
<packagereq type="mandatory">awips2-notification</packagereq>
|
||||||
|
<packagereq type="mandatory">awips2-qpid-proton</packagereq>
|
||||||
|
|
||||||
<packagereq type="mandatory">awips2-python-dynamicserialize</packagereq>
|
<packagereq type="mandatory">awips2-python-dynamicserialize</packagereq>
|
||||||
<packagereq type="mandatory">awips2-python-h5py</packagereq>
|
<packagereq type="mandatory">awips2-python-h5py</packagereq>
|
||||||
|
@ -232,7 +232,6 @@
|
||||||
<packagereq type="mandatory">awips2-ncep-gempak</packagereq>
|
<packagereq type="mandatory">awips2-ncep-gempak</packagereq>
|
||||||
<packagereq type="mandatory">awips2-gfesuite</packagereq>
|
<packagereq type="mandatory">awips2-gfesuite</packagereq>
|
||||||
|
|
||||||
<packagereq type="mandatory">awips2-alertviz</packagereq>
|
|
||||||
<packagereq type="mandatory">awips2-cli</packagereq>
|
<packagereq type="mandatory">awips2-cli</packagereq>
|
||||||
<packagereq type="mandatory">awips2-notification</packagereq>
|
<packagereq type="mandatory">awips2-notification</packagereq>
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ buildRPM "Installer.gfesuite-server"
|
||||||
buildRPM "Installer.database-standalone-configuration"
|
buildRPM "Installer.database-standalone-configuration"
|
||||||
buildRPM "Installer.database-server-configuration"
|
buildRPM "Installer.database-server-configuration"
|
||||||
buildRPM "Installer.adapt-native"
|
buildRPM "Installer.adapt-native"
|
||||||
buildRPM "Installer.alertviz"
|
#buildRPM "Installer.alertviz"
|
||||||
buildRPM "Installer.aviation"
|
buildRPM "Installer.aviation"
|
||||||
buildRPM "Installer.cli"
|
buildRPM "Installer.cli"
|
||||||
buildRPM "Installer.database"
|
buildRPM "Installer.database"
|
||||||
|
|
|
@ -9,7 +9,7 @@ if ( ${USER} == "root" ) then
|
||||||
endif
|
endif
|
||||||
exit 1
|
exit 1
|
||||||
endif
|
endif
|
||||||
alias cave /awips2/cave/run.sh
|
alias cave /awips2/cave/cave.sh
|
||||||
set JAVA_INSTALL="/awips2/java"
|
set JAVA_INSTALL="/awips2/java"
|
||||||
set PYTHON_INSTALL="/awips2/python"
|
set PYTHON_INSTALL="/awips2/python"
|
||||||
set QPID_LIB_DIR="/awips2/qpid/lib"
|
set QPID_LIB_DIR="/awips2/qpid/lib"
|
||||||
|
|
|
@ -25,7 +25,7 @@ if [[ ${USER} = "root" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# CAVE alias
|
# CAVE alias
|
||||||
alias cave='/awips2/cave/run.sh'
|
alias cave='/awips2/cave/cave.sh'
|
||||||
if [ -d /awips2/cave ]; then
|
if [ -d /awips2/cave ]; then
|
||||||
export TMCP_HOME=/awips2/cave/caveEnvironment
|
export TMCP_HOME=/awips2/cave/caveEnvironment
|
||||||
export FXA_HOME=/awips2/cave/caveEnvironment
|
export FXA_HOME=/awips2/cave/caveEnvironment
|
||||||
|
|
|
@ -342,10 +342,10 @@ function lookupRPM()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# awips2 rpms -> viz rpms.
|
# awips2 rpms -> viz rpms.
|
||||||
if [ "${1}" = "awips2-alertviz" ]; then
|
#if [ "${1}" = "awips2-alertviz" ]; then
|
||||||
export RPM_SPECIFICATION="${awips2_cave_dir}/Installer.alertviz"
|
# export RPM_SPECIFICATION="${awips2_cave_dir}/Installer.alertviz"
|
||||||
return 0
|
# return 0
|
||||||
fi
|
#fi
|
||||||
if [ "${1}" = "-cave" ]; then
|
if [ "${1}" = "-cave" ]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -165,7 +165,7 @@ function build_server(){
|
||||||
build_pypies
|
build_pypies
|
||||||
buildLocalization
|
buildLocalization
|
||||||
|
|
||||||
buildRPM "awips2-alertviz"
|
#buildRPM "awips2-alertviz"
|
||||||
buildRPM "awips2-aviation-shared"
|
buildRPM "awips2-aviation-shared"
|
||||||
buildRPM "awips2-cli"
|
buildRPM "awips2-cli"
|
||||||
buildRPM "awips2-common-base"
|
buildRPM "awips2-common-base"
|
||||||
|
|
Loading…
Add table
Reference in a new issue