diff --git a/edexOsgi/build.edex/esb/bin/setup.env b/edexOsgi/build.edex/esb/bin/setup.env index c0a3cc65af..9857aad0c5 100644 --- a/edexOsgi/build.edex/esb/bin/setup.env +++ b/edexOsgi/build.edex/esb/bin/setup.env @@ -40,6 +40,7 @@ export DATADELIVERY_SERVER=http://${DATADELIVERY_HOST}:${DATADELIVERY_PORT}/serv export EBXML_REGISTRY_SERVICE=http://${EBXML_REGISTRY_HOST}:${EBXML_REGISTRY_PORT}/services export EBXML_REGISTRY_LCM_SERVICE=http://${EBXML_REGISTRY_HOST}:${EBXML_REGISTRY_SOAP_PORT}/lcm?WSDL export EBXML_REGISTRY_QUERY_SERVICE=http://${EBXML_REGISTRY_HOST}:${EBXML_REGISTRY_SOAP_PORT}/query?WSDL +export NCF_BANDWIDTH_MANAGER_SERVICE=http://${DATADELIVERY_HOST}:9590/services # set the AWIPS II shared directory export SHARE_DIR=/awips2/edex/data/share diff --git a/edexOsgi/build.edex/esb/bin/yajsw/conf/wrapper.conf b/edexOsgi/build.edex/esb/bin/yajsw/conf/wrapper.conf index e273ad22e3..82b63b6af1 100644 --- a/edexOsgi/build.edex/esb/bin/yajsw/conf/wrapper.conf +++ b/edexOsgi/build.edex/esb/bin/yajsw/conf/wrapper.conf @@ -126,7 +126,7 @@ wrapper.java.additional.47=-Dconfidential.port=8443 wrapper.java.additional.48=-Dhttp.port=${HTTP_PORT} wrapper.java.additional.49=-Dedex.arch=${EDEX_BITS}-bit wrapper.java.additional.50=-Dedex.tmp=${TEMP_DIR} -wrapper.java.additional.51=-Dawips.registrymanager.debug=${AWIPS_REGISTRYMANAGER_DEBUG} +wrapper.java.additional.51=-Dncf.bandwidth.manager.service=${NCF_BANDWIDTH_MANAGER_SERVICE} # Initial Java Heap Size (in MB) wrapper.java.initmemory=${INIT_MEM} diff --git a/edexOsgi/com.raytheon.uf.common.datadelivery.request/res/spring/datadelivery-common.xml b/edexOsgi/com.raytheon.uf.common.datadelivery.request/res/spring/datadelivery-common.xml index d0009327e2..8f0c8c005a 100644 --- a/edexOsgi/com.raytheon.uf.common.datadelivery.request/res/spring/datadelivery-common.xml +++ b/edexOsgi/com.raytheon.uf.common.datadelivery.request/res/spring/datadelivery-common.xml @@ -1,12 +1,12 @@ + + \ No newline at end of file diff --git a/edexOsgi/com.raytheon.uf.common.datadelivery.request/src/com/raytheon/uf/common/datadelivery/request/DataDeliveryConstants.java b/edexOsgi/com.raytheon.uf.common.datadelivery.request/src/com/raytheon/uf/common/datadelivery/request/DataDeliveryConstants.java index 5486ea50a6..e7e938e0a8 100644 --- a/edexOsgi/com.raytheon.uf.common.datadelivery.request/src/com/raytheon/uf/common/datadelivery/request/DataDeliveryConstants.java +++ b/edexOsgi/com.raytheon.uf.common.datadelivery.request/src/com/raytheon/uf/common/datadelivery/request/DataDeliveryConstants.java @@ -30,17 +30,19 @@ package com.raytheon.uf.common.datadelivery.request; * ------------ ---------- ----------- -------------------------- * Nov 14, 2012 1286 djohnson Initial creation * Dec 03, 2012 1379 djohnson Separate registry service keys. + * Feb 26, 2013 1643 djohnson Add NCF_BANDWIDTH_MANAGER_SERVICE. * * * * @author djohnson * @version 1.0 */ - public final class DataDeliveryConstants { public static final String DATA_DELIVERY_SERVER = "datadelivery.server"; + public static final String NCF_BANDWIDTH_MANAGER_SERVICE = "ncf.bandwidth.manager.service"; + /** * Private constructor. */ diff --git a/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/RegistryManager.java b/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/RegistryManager.java index 55e54a7b14..d37c6472ff 100644 --- a/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/RegistryManager.java +++ b/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/RegistryManager.java @@ -25,6 +25,7 @@ import com.raytheon.uf.common.registry.ebxml.IdQuery; * Aug 20, 2012 0743 djohnson Allow instance to be changed from {@link RegistryManagerTest}. * Sep 14, 2012 1169 djohnson Add use of create only mode. * Nov 15, 2012 1322 djohnson Use package-level constructor to control who can set the handler instance. + * Feb 26, 2013 1643 djohnson Remove registry manager debug toggle. * * * @@ -35,11 +36,6 @@ public final class RegistryManager { private static RegistryHandler instance; - private static final String REGISTRYMANAGER_DEBUG = "awips.registrymanager.debug"; - - public static final boolean DEBUG = Boolean - .getBoolean(REGISTRYMANAGER_DEBUG); - /** * Package-level constructor for utility class, it allows Spring to set the * instance multiple times. diff --git a/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/ebxml/FactoryRegistryHandler.java b/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/ebxml/FactoryRegistryHandler.java index ca20e717e9..7f937aa743 100644 --- a/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/ebxml/FactoryRegistryHandler.java +++ b/edexOsgi/com.raytheon.uf.common.registry.ebxml/src/com/raytheon/uf/common/registry/ebxml/FactoryRegistryHandler.java @@ -39,7 +39,6 @@ import com.raytheon.uf.common.registry.IResultFormatter; import com.raytheon.uf.common.registry.OperationStatus; import com.raytheon.uf.common.registry.RegistryException; import com.raytheon.uf.common.registry.RegistryHandler; -import com.raytheon.uf.common.registry.RegistryManager; import com.raytheon.uf.common.registry.RegistryQuery; import com.raytheon.uf.common.registry.RegistryQueryResponse; import com.raytheon.uf.common.registry.RegistryResponse; @@ -68,6 +67,7 @@ import com.raytheon.uf.common.util.ReflectionException; * Aug 15, 2012 0743 djohnson Type-safe result formatters, warn of time-consuming queries. * Aug 27, 2012 0743 djohnson Add handling for AssociationQuery objects. * Sep 14, 2012 1169 djohnson Add use of create only mode. + * Feb 26, 2013 1643 djohnson Remove registry manager debug toggle. * * * @@ -496,10 +496,6 @@ public class FactoryRegistryHandler implements RegistryHandler { // Submit to the ebXML QueryManager QueryRequest query = RegistryUtil.getQuery(registryQuery); - if (RegistryManager.DEBUG) { - print(query); - } - QueryResponse r = qm.executeQuery(query); if (RegistryUtil.RESPONSE_SUCCESS.equals(r.getStatus())) { @@ -539,11 +535,6 @@ public class FactoryRegistryHandler implements RegistryHandler { t.setId(id); objectRefs.add(t); - if (RegistryManager.DEBUG) { - System.out - .println("Attempting to remove RegistryObject with id [" - + id + "]"); - } } } @@ -560,10 +551,6 @@ public class FactoryRegistryHandler implements RegistryHandler { i.getObjectRef().addAll(objectRefs); deleteRequest.setObjectRefList(i); - if (RegistryManager.DEBUG) { - print(deleteRequest); - } - // Submit to the ebXML LifecycleManager LifecycleManager a = lifecycleManagerFactory.getLifeCycleManager(); RegistryResponseType r = a.removeObjects(deleteRequest); @@ -1015,12 +1002,6 @@ public class FactoryRegistryHandler implements RegistryHandler { SubmitObjectsRequest a = RegistryUtil.newSubmitObjects(batch, mode); - if (RegistryManager.DEBUG) { - JAXBManager jaxb = new JAXBManager( - SubmitObjectsRequest.class); - System.out.println("submitObjects( [" - + jaxb.marshalToXml(a) + "])"); - } RegistryResponseType rt = lifecycleManager.submitObjects(a); diff --git a/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-edex-impl.xml b/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-edex-impl.xml index 81fec14335..195aa3868d 100644 --- a/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-edex-impl.xml +++ b/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-edex-impl.xml @@ -40,6 +40,12 @@ + + + + + diff --git a/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-ncf-edex-impl.xml b/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-ncf-edex-impl.xml index 9ab74e7f79..1cb8d5f946 100644 --- a/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-ncf-edex-impl.xml +++ b/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-ncf-edex-impl.xml @@ -6,4 +6,6 @@ + + \ No newline at end of file diff --git a/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-wfo-edex-impl.xml b/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-wfo-edex-impl.xml index 42567407b6..50f4db56a0 100644 --- a/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-wfo-edex-impl.xml +++ b/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/bandwidth-datadelivery-wfo-edex-impl.xml @@ -6,4 +6,8 @@ + + + + \ No newline at end of file