Merge "Issue #2196 changed wfoRegistry mode to devWfoRegistry mode. exclude crawler and harvester from wfo modes." into development

Former-commit-id: d0746350d7 [formerly 1a4c887b6f] [formerly 42248850a6] [formerly 6223ee42de [formerly 42248850a6 [formerly d85dd6c0b1c657bc2ff23c461370fbc480656229]]]
Former-commit-id: 6223ee42de
Former-commit-id: 64a9689355af15f6e09574ae0fe2b065b687f3bb [formerly eb0e4c9a70]
Former-commit-id: 5b3944835a
This commit is contained in:
Richard Peter 2013-07-31 13:40:49 -05:00 committed by Gerrit Code Review
commit 08f6dae69f
4 changed files with 21 additions and 18 deletions

View file

@ -69,6 +69,7 @@ import com.raytheon.uf.viz.datadelivery.filter.config.xml.FilterTypeXML;
* Dec 10, 2012 1259 bsteffen Switch Data Delivery from LatLon to referenced envelopes.
* Jun 04, 2013 223 mpduff Add data set type to filter.
* Jul 05, 2013 2137 mpduff Single data type.
* Jul 29, 2013 2196 bgonzale Added levels isEmpty check.
*
* </pre>
*
@ -254,7 +255,8 @@ public class MetaDataManager {
List<String> levels = DataDeliveryHandlers
.getParameterHandler().getDataLevelTypeDescriptions(
dataTypeList);
if (levels != null && levels.get(0) != null) {
if (levels != null && !levels.isEmpty()
&& levels.get(0) != null) {
allAvailableLevels.addAll(levels);
}
} catch (RegistryHandlerException e) {

View file

@ -186,30 +186,20 @@
<includeMode>statsTemplate</includeMode>
</mode>
<mode name="registry">
<!-- WFO Registry production mode -->
<include>ebxml.*\.xml</include>
<includeMode>statsTemplate</includeMode>
<includeMode>dataDeliveryTemplate</includeMode>
<exclude>.*datadelivery-ncf.*</exclude>
<exclude>harvester-*</exclude>
<exclude>crawler-*</exclude>
</mode>
<!-- Eventually these two modes will either become the production versions,
or the existing registry server will be migrated to one or the other. -->
<mode name="ncfRegistry">
<include>ebxml.*\.xml</include>
<includeMode>statsTemplate</includeMode>
<includeMode>dataDeliveryTemplate</includeMode>
<exclude>.*datadelivery-wfo.*</exclude>
</mode>
<mode name="wfoRegistry">
<include>ebxml.*\.xml</include>
<includeMode>statsTemplate</includeMode>
<includeMode>dataDeliveryTemplate</includeMode>
<!-- TODO: These patterns can be commented out when this mode is productionized -->
<include>.*sbn-simulator.*</include>
<!-- END TODO -->
<exclude>.*datadelivery-ncf.*</exclude>
<exclude>harvester-*</exclude>
<exclude>crawler-*</exclude>
</mode>
<mode name="statsTemplate" template="true">
<include>event-common.xml</include>
@ -261,6 +251,17 @@
<!-- modes listed below are not supported in a production setting, they
are for DEVELOPMENT purposes only -->
<mode name="devWfoRegistry">
<!-- This is the development WFO registry mode.
It runs the sbn simulator for development. -->
<include>.*sbn-simulator.*</include>
<include>ebxml.*\.xml</include>
<includeMode>statsTemplate</includeMode>
<includeMode>dataDeliveryTemplate</includeMode>
<exclude>.*datadelivery-ncf.*</exclude>
<exclude>harvester-*</exclude>
<exclude>crawler-*</exclude>
</mode>
<mode name="grib">
<include>grib-common.xml</include>
<include>grib-decode.xml</include>

View file

@ -22,7 +22,7 @@
export MAX_MEM=1536 # in Meg
export MAX_PERM_SIZE=192m
export METADATA_POOL_MIN=10
export EDEX_DEBUG_PORT=5009
export EDEX_DEBUG_PORT=5013
export EDEX_JMX_PORT=1620
export LOG_CONF=logback-registry.xml
export MGMT_PORT=9605

View file

@ -22,7 +22,7 @@
export MAX_MEM=1536 # in Meg
export MAX_PERM_SIZE=192m
export METADATA_POOL_MIN=10
export EDEX_DEBUG_PORT=5009
export EDEX_DEBUG_PORT=5012
export EDEX_JMX_PORT=1620
export LOG_CONF=logback-registry.xml
export MGMT_PORT=9605