Merge branch 'asm_16.1.1' of ssh://10.201.30.8:29418/AWIPS2_baseline into master_16.1.1

Former-commit-id: d0edf23a2e9fc05d5300b48073b917f7cf45ccb6
This commit is contained in:
Shawn.Hooper 2015-09-18 14:57:56 -04:00
commit dc6e80b24b
7 changed files with 29 additions and 19 deletions

View file

@ -39,6 +39,7 @@
# Oct 13, 2014 #3675 bclement logExitStatus() waits for child to start and renames log with child PID
# Jul 23, 2015 ASM#13849 D. Friedman Use a unique Eclipse configuration directory
# Aug 03, 2015 #4694 dlovely Fixed path for log file cleanup
# Sep 16, 2015 #18041 lshi Purge CAVE logs after 30 days instead of 7
source /awips2/cave/iniLookup.sh
RC=$?
@ -383,10 +384,10 @@ function deleteOldCaveLogs()
local mybox=$(hostname)
echo -e "Cleaning consoleLogs: "
echo -e "find $HOME/$BASE_LOGDIR -type f -name "*.log" -mtime +7 -exec rm {} \;"
echo -e "find $HOME/$BASE_LOGDIR -type f -name "*.log" -mtime +30 -exec rm {} \;"
find "$HOME/$BASE_LOGDIR" -type f -name "*.log" -mtime +7 -exec rm {} \;
find "$HOME/$BASE_LOGDIR" -type f -name "*.log" -mtime +30 -exec rm {} \;
exit 0

View file

@ -86,6 +86,7 @@ import com.vividsolutions.jts.geom.Coordinate;
* Nov 26, 2014 16889 snaples Updated to fix SNOTEL display
* Jun 18, 2015 14298,17388 ptilles Updated to fix problem with mpe_dqc_6hr_24hr_ste_bad token and problem
* with changing a 6hr value in 24hr mode
* Sep 11, 2015 17986 snaples Updated q45bnames array to correct order issue, with Screened and Questionable being reversed.
*
* </pre>
*
@ -208,8 +209,8 @@ public class EditPrecipStationsDialog extends AbstractMPEDialog implements
private String[] q2bnames = { "Manual", "Reset to Original" };
private String[] q45bnames = { "Verified", "Screened (Forced)",
"Questionable", "Bad" };
private String[] q45bnames = { "Verified", "Questionable", "Screened (Forced)",
"Bad" };
private int initial_qual = F_MANUAL;

View file

@ -67,6 +67,7 @@ import com.raytheon.viz.mpe.util.DailyQcUtils;
* Sep 11, 2013 #2353 lvenable Fixed cursor memory leak.
* Mar 10, 2015 14575 snaples Added additional status flag.
* Jul 9, 2015 14618 snaples Cleaned up code issues.
* Sep 11, 2015 17988 snaples Fixed issue with wait cursor not showing when Rendering Grids.
* </pre>
*
* @author snaples
@ -489,7 +490,7 @@ public class QcPrecipOptionsDialog extends AbstractMPEDialog {
}
});
Composite renderComp = new Composite(dataOptionsGroup, SWT.NONE);
final Composite renderComp = new Composite(dataOptionsGroup, SWT.NONE);
GridLayout renderCompLayout = new GridLayout(2, false);
renderCompLayout.marginHeight = 0;
renderCompLayout.marginWidth = 0;
@ -507,10 +508,10 @@ public class QcPrecipOptionsDialog extends AbstractMPEDialog {
renderGridsBtn.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
shell.setCursor(waitCursor);
renderComp.setCursor(waitCursor);
opo.render_options(0);
shell.setCursor(prevCursor);
renderGridsBtn.setEnabled(false);
renderComp.setCursor(prevCursor);
}
});

View file

@ -39,10 +39,13 @@
<to uri="jms-durable:queue:Ingest.Radar" />
</route>
-->
<endpoint id="radarJmsEndpoint" uri="jms-durable:queue:Ingest.Radar?concurrentConsumers=${radar-decode.sbn.threads}"/>
<endpoint id="radarRadarServerJmsEndpoint" uri="jms-durable:queue:Ingest.RadarRadarServer?concurrentConsumers=${radar-decode.local.threads}"/>
<!-- Begin Radar routes -->
<route id="radarIngestRoute">
<from uri="jms-durable:queue:Ingest.Radar"/>
<from ref="radarJmsEndpoint"/>
<setHeader headerName="dataType">
<constant>radar-sbn</constant>
</setHeader>
@ -50,7 +53,7 @@
</route>
<route id="radarRadarServerIngestRoute">
<from uri="jms-durable:queue:Ingest.RadarRadarServer"/>
<from ref="radarRadarServerJmsEndpoint"/>
<setHeader headerName="dataType">
<constant>radar-local</constant>
</setHeader>

View file

@ -0,0 +1,4 @@
# Number threads for radar products ingested from the SBN
radar-decode.sbn.threads=1
# Number threads for radar products ingested locally
radar-decode.local.threads=1

View file

@ -20,6 +20,7 @@
##### Fixed dupCounties.vm not working due a variable switch in HeadlineLocList and ZoneHeadlineLocList
##### Evan Bookbinder 3-23/24-2015 Changes for mixed case (including new capitalize function)
##### D. Friedman 08-11-2015 ASM #17841. Handle possibly duplicate second time zone time.
##### Qinglu Lin 09-11-2015 ASM #17890. Updated headlineExpire.
####################################################################################################
#*
Mile Marker Test Code
@ -1264,21 +1265,17 @@ Until #formatTwoTimes($time1, $time2)##
######### STATEMENTS. THIS WILL BE ALL CAPS ##########
#macro(headlineExpire $dateUtil $expire $timeFormat $localtimezone $secondtimezone $duration)
#if(${duration} >= 360)
#set($timevar = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.plain}, 15, ${localtimezone})})
#capitalize(${timevar} "ALL")##
#set($timevar1 = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.plain}, 15, ${localtimezone})})
#else
#set($timevar = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.clock}, 15, ${localtimezone})})
#capitalize(${timevar} "ALL")##
#set($timevar1 = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.clock}, 15, ${localtimezone})})
#end
#if(${secondtimezone})
#if(${duration} >= 360)
#set($timevar = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.plain}, 15, ${secondtimezone})})
/#capitalize(${timevar} "ALL")/##
#set($timevar2 = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.plain}, 15, ${secondtimezone})})
#else
#set($timevar = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.clock}, 15, ${secondtimezone})})
/#capitalize(${timevar} "ALL")/##
#end
#set($timevar2 = ${dateUtil.formatUseNoonMidnight(${expire}, ${timeFormat.clock}, 15, ${secondtimezone})})
#end
#set($timevar = "#formatTwoTimes($timevar1 $timevar2)")
#capitalize(${timevar} "ALL")##
#end
########END MACRO

View file

@ -129,6 +129,9 @@ rm -rf ${RPM_BUILD_ROOT}
%dir /awips2/rcm
%dir /awips2/rcm/data
/awips2/rcm/data/*
%config(noreplace) /awips2/rcm/data/config/drop-ins/elevationLists.txt
%config(noreplace) /awips2/rcm/data/config/drop-ins/tdwrElevations.txt
%config(noreplace) /awips2/rcm/data/config/drop-ins/ssssElevationLists.txt
%docdir /awips2/rcm/licenses
%dir /awips2/rcm/licenses