Added: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java?rev=1081918&view=auto ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java (added) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_091_RMISubscriptionListenerIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -0,0 +1,154 @@ +package org.apache.juddi.v3.tck; + +/* + * Copyright 2001-2009 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import java.rmi.registry.LocateRegistry; +import java.rmi.registry.Registry; + +import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.apache.juddi.v3.client.config.UDDIClerkManager; +import org.apache.juddi.v3.client.transport.Transport; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.uddi.v3_service.UDDIInquiryPortType; +import org.uddi.v3_service.UDDIPublicationPortType; +import org.uddi.v3_service.UDDISecurityPortType; +import org.uddi.v3_service.UDDISubscriptionPortType; + +import com.sun.xml.stream.xerces.util.URI; + +/** + * @author <a href="mailto:[email protected]">Tom Cunningham</a> + */ +public class JUDDI_091_RMISubscriptionListenerIntegrationTest +{ + private static Log logger = LogFactory.getLog(JUDDI_091_RMISubscriptionListenerIntegrationTest.class); + + private static TckTModel tckTModel = null; + private static TckBusiness tckBusiness = null; + private static TckBusinessService tckBusinessService = null; + private static TckSubscriptionListenerRMI rmiSubscriptionListener = null; + + private static String authInfoJoe = null; + private static UDDIClerkManager manager; + private static UDDISubscriptionListenerImpl rmiSubscriptionListenerService = null; + private static Registry registry; + + @AfterClass + public static void stopManager() throws ConfigurationException { + manager.stop(); + //shutting down the TCK SubscriptionListener + //re + } + + @BeforeClass + public static void startManager() throws ConfigurationException { + + try { + //bring up the RMISubscriptionListener + URI rmiEndPoint = new URI("rmi://localhost:9876/tck/rmisubscriptionlistener"); + registry = LocateRegistry.createRegistry(rmiEndPoint.getPort()); + String path = rmiEndPoint.getPath(); + + //starting the service + rmiSubscriptionListenerService = new UDDISubscriptionListenerImpl(0); + //binding to the RMI Registry + registry.bind(path,rmiSubscriptionListenerService); + + //double check that the service is bound in the local Registry + Registry registry2 = LocateRegistry.getRegistry(rmiEndPoint.getHost(), rmiEndPoint.getPort()); + registry2.lookup(rmiEndPoint.getPath()); + + + } catch (Exception e2) { + // TODO Auto-generated catch block + e2.printStackTrace(); + Assert.fail(); + } + + manager = new UDDIClerkManager(); + manager.start(); + + logger.debug("Getting auth tokens.."); + try { + + Transport transport = manager.getTransport(); + UDDISecurityPortType security = transport.getUDDISecurityService(); + authInfoJoe = TckSecurity.getAuthToken(security, TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword()); + Assert.assertNotNull(authInfoJoe); + UDDISubscriptionPortType subscription = transport.getUDDISubscriptionService(); + + UDDIPublicationPortType publication = transport.getUDDIPublishService(); + UDDIInquiryPortType inquiry = transport.getUDDIInquiryService(); + tckTModel = new TckTModel(publication, inquiry); + tckBusiness = new TckBusiness(publication, inquiry); + tckBusinessService = new TckBusinessService(publication, inquiry); + rmiSubscriptionListener = new TckSubscriptionListenerRMI(subscription, publication); + + } catch (Exception e) { + logger.error(e.getMessage(), e); + Assert.fail("Could not obtain authInfo token."); + } + } + + @Test + public void joePublisher() { + try { + tckTModel.saveJoePublisherTmodel(authInfoJoe); + tckBusiness.saveJoePublisherBusiness(authInfoJoe); + tckBusinessService.saveJoePublisherService(authInfoJoe); + rmiSubscriptionListener.saveService(authInfoJoe); + + rmiSubscriptionListener.saveNotifierSubscription(authInfoJoe); + + tckBusinessService.updateJoePublisherService(authInfoJoe, "foo"); + + //waiting up to 100 seconds for the listener to notice the change. + String test=""; + for (int i=0; i<200; i++) { + Thread.sleep(500); + System.out.print("."); + if (UDDISubscriptionListenerImpl.notificationCount > 0) { + break; + } else { + System.out.print(test); + } + } + if (UDDISubscriptionListenerImpl.notificationCount == 0) { + Assert.fail("No Notification was sent"); + } + if (!UDDISubscriptionListenerImpl.notifcationMap.get(0).contains("<name xml:lang=\"en\">Service One</name>")) { + Assert.fail("Notification does not contain the correct service"); + } + + } catch (Exception e) { + e.printStackTrace(); + + Assert.fail(); + } finally { + + rmiSubscriptionListener.deleteNotifierSubscription(authInfoJoe); + tckBusinessService.deleteJoePublisherService(authInfoJoe); + tckBusiness.deleteJoePublisherBusiness(authInfoJoe); + tckTModel.deleteJoePublisherTmodel(authInfoJoe); + } + } + +}
Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_100_ClientSubscriptionInfoTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_100_ClientSubscriptionInfoTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_100_ClientSubscriptionInfoTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/JUDDI_100_ClientSubscriptionInfoTest.java Tue Mar 15 19:55:01 2011 @@ -15,6 +15,8 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.api_v3.Clerk; import org.apache.juddi.api_v3.ClientSubscriptionInfo; import org.apache.juddi.api_v3.ClientSubscriptionInfoDetail; @@ -25,7 +27,6 @@ import org.apache.juddi.api_v3.SaveClien import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; import org.apache.juddi.v3_service.JUDDIApiPortType; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -40,7 +41,7 @@ public class JUDDI_100_ClientSubscriptio private static UDDISecurityPortType security = null; private static JUDDIApiPortType publisher = null; - private static Logger logger = Logger.getLogger(JUDDI_100_ClientSubscriptionInfoTest.class); + private static Log logger = LogFactory.getLog(JUDDI_100_ClientSubscriptionInfoTest.class); private static String authInfo = null; private static UDDIClerkManager manager; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_020_TmodelIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_020_TmodelIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_020_TmodelIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_020_TmodelIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -15,9 +15,10 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -36,7 +37,7 @@ import org.uddi.v3_service.UDDISecurityP public class UDDI_020_TmodelIntegrationTest { private static TckTModel tckTModel = null; - private static Logger logger = Logger.getLogger(UDDI_020_TmodelIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_020_TmodelIntegrationTest.class); private static String authInfoJoe = null; private static String authInfoSam = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_030_BusinessEntityIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_030_BusinessEntityIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_030_BusinessEntityIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_030_BusinessEntityIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -15,9 +15,10 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -32,7 +33,7 @@ import org.uddi.v3_service.UDDISecurityP */ public class UDDI_030_BusinessEntityIntegrationTest { - private static Logger logger = Logger.getLogger(UDDI_030_BusinessEntityIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_030_BusinessEntityIntegrationTest.class); protected static TckTModel tckTModel = null; protected static TckBusiness tckBusiness = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_040_BusinessServiceIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_040_BusinessServiceIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_040_BusinessServiceIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_040_BusinessServiceIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -15,9 +15,10 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -33,7 +34,7 @@ import org.uddi.v3_service.UDDISecurityP public class UDDI_040_BusinessServiceIntegrationTest { - private static Logger logger = Logger.getLogger(UDDI_040_BusinessServiceIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_040_BusinessServiceIntegrationTest.class); protected static TckTModel tckTModel = null; protected static TckBusiness tckBusiness = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_050_BindingTemplateIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_050_BindingTemplateIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_050_BindingTemplateIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_050_BindingTemplateIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -15,9 +15,10 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -32,7 +33,7 @@ import org.uddi.v3_service.UDDISecurityP */ public class UDDI_050_BindingTemplateIntegrationTest { - private static Logger logger = Logger.getLogger(UDDI_050_BindingTemplateIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_050_BindingTemplateIntegrationTest.class); private static TckTModel tckTModel = null; private static TckBusiness tckBusiness = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_060_PublisherAssertionIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_060_PublisherAssertionIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_060_PublisherAssertionIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_060_PublisherAssertionIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -19,9 +19,10 @@ package org.apache.juddi.v3.tck; * @author <a href="mailto:[email protected]">Kurt T Stam</a> */ import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -32,7 +33,7 @@ import org.uddi.v3_service.UDDISecurityP public class UDDI_060_PublisherAssertionIntegrationTest { - private static Logger logger = Logger.getLogger(UDDI_060_PublisherAssertionIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_060_PublisherAssertionIntegrationTest.class); private static TckTModel tckTModel = null; private static TckBusiness tckBusiness = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_070_FindEntityIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_070_FindEntityIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_070_FindEntityIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_070_FindEntityIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -15,9 +15,10 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -33,7 +34,7 @@ import org.uddi.v3_service.UDDISecurityP public class UDDI_070_FindEntityIntegrationTest { - private static Logger logger = Logger.getLogger(UDDI_070_FindEntityIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_070_FindEntityIntegrationTest.class); private static TckTModel tckTModel = null; private static TckBusiness tckBusiness = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_080_SubscriptionIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_080_SubscriptionIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_080_SubscriptionIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_080_SubscriptionIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -15,9 +15,10 @@ package org.apache.juddi.v3.tck; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -33,7 +34,7 @@ import org.uddi.v3_service.UDDISubscript */ public class UDDI_080_SubscriptionIntegrationTest { - private static Logger logger = Logger.getLogger(UDDI_080_SubscriptionIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_080_SubscriptionIntegrationTest.class); private static TckTModel tckTModel = null; private static TckBusiness tckBusiness = null; Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_090_SubscriptionListenerIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -17,9 +17,10 @@ package org.apache.juddi.v3.tck; import javax.xml.ws.Endpoint; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -36,7 +37,7 @@ public class UDDI_090_SubscriptionListen { - private static Logger logger = Logger.getLogger(UDDI_090_SubscriptionListenerIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_090_SubscriptionListenerIntegrationTest.class); private static TckTModel tckTModel = null; private static TckBusiness tckBusiness = null; @@ -55,15 +56,15 @@ public class UDDI_090_SubscriptionListen @BeforeClass public static void startManager() throws ConfigurationException { - - //bring up the TCK SubscriptionListener - endPoint = Endpoint.publish("http://localhost:12345/tcksubscriptionlistener", new TCK_UDDISubscriptionListenerImpl()); - - manager = new UDDIClerkManager(); - manager.start(); - - logger.debug("Getting auth tokens.."); try { + //bring up the TCK SubscriptionListener + endPoint = Endpoint.publish("http://localhost:12345/tcksubscriptionlistener", new UDDISubscriptionListenerImpl()); + + manager = new UDDIClerkManager(); + manager.start(); + + logger.debug("Getting auth tokens.."); + Transport transport = manager.getTransport(); UDDISecurityPortType security = transport.getUDDISecurityService(); @@ -90,24 +91,30 @@ public class UDDI_090_SubscriptionListen tckTModel.saveJoePublisherTmodel(authInfoJoe); tckBusiness.saveJoePublisherBusiness(authInfoJoe); tckBusinessService.saveJoePublisherService(authInfoJoe); + //Saving the Listener Service tckSubscriptionListener.saveService(authInfoJoe); - + //Saving the Subscription tckSubscriptionListener.saveNotifierSubscription(authInfoJoe); - - tckSubscriptionListener.changeSubscribedObject(authInfoJoe); + //Changing the service we subscribed to "JoePublisherService" + logger.info("Updating Service ********** "); + tckBusinessService.updateJoePublisherService(authInfoJoe, "foo"); + //tckSubscriptionListener.changeSubscribedObject(authInfoJoe); //waiting up to 100 seconds for the listener to notice the change. String test=""; for (int i=0; i<200; i++) { Thread.sleep(500); System.out.print("."); - if (TCK_UDDISubscriptionListenerImpl.notificationCount > 0) { + if (UDDISubscriptionListenerImpl.notificationCount > 0) { break; } else { System.out.print(test); } } - if (TCK_UDDISubscriptionListenerImpl.notificationCount == 0 || !TCK_UDDISubscriptionListenerImpl.notifcationMap.get(0).contains("<name xml:lang=\"en\">Notifier One</name>")) { + if (UDDISubscriptionListenerImpl.notificationCount == 0) { + Assert.fail("No Notification was sent"); + } + if (!UDDISubscriptionListenerImpl.notifcationMap.get(0).contains("<name xml:lang=\"en\">Service One</name>")) { Assert.fail("Notification does not contain the correct service"); } Modified: juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_110_FindServicesIntegrationTest.java URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_110_FindServicesIntegrationTest.java?rev=1081918&r1=1081917&r2=1081918&view=diff ============================================================================== --- juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_110_FindServicesIntegrationTest.java (original) +++ juddi/trunk/uddi-tck/src/test/java/org/apache/juddi/v3/tck/UDDI_110_FindServicesIntegrationTest.java Tue Mar 15 19:55:01 2011 @@ -18,9 +18,10 @@ package org.apache.juddi.v3.tck; import java.util.List; import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.juddi.v3.client.config.UDDIClerkManager; import org.apache.juddi.v3.client.transport.Transport; -import org.apache.log4j.Logger; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -55,7 +56,7 @@ public class UDDI_110_FindServicesIntegr final static String TOM_PUBLISHER_SERVICEINFO_NAME = "servicetest01"; - private static Logger logger = Logger.getLogger(UDDI_040_BusinessServiceIntegrationTest.class); + private static Log logger = LogFactory.getLog(UDDI_040_BusinessServiceIntegrationTest.class); protected static TckTModel tckTModel = null; protected static TckTModel tckTModel01 = null; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
