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

Change-Id: I3239daa25a4bc2116ff3423bfa71afe3947faff0

Former-commit-id: 18201a0153 [formerly 8a6ab05561 [formerly 9bea23cc83e7262721efa4fef9b573d4dd540502]]
Former-commit-id: 8a6ab05561
Former-commit-id: a053fc85f7
This commit is contained in:
Brad Gonzales 2013-07-29 11:54:07 -05:00
parent 6698d5d65f
commit 7ad2b1c953
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">
<include>ebxml.*\.xml</include>
<!-- 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
@ -31,4 +31,4 @@ export MGMT_PORT=9605
export EBXML_REGISTRY_WEBSERVER_PORT=8082
export EBXML_REGISTRY_WEBSERVER_CONFIDENTIAL_PORT=8444
export EBXML_QUERY_SERVICE_SOAP_PORT=10144
export EBXML_THRIFT_SERVICE_PORT=9588
export EBXML_THRIFT_SERVICE_PORT=9588