juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject svn commit: r1526850 - /juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java
Date Fri, 27 Sep 2013 11:16:44 GMT
Author: alexoree
Date: Fri Sep 27 11:16:44 2013
New Revision: 1526850

URL: http://svn.apache.org/r1526850
Log:
JUDDI-644 adding additional debug info

Modified:
    juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java

Modified: juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java
URL: http://svn.apache.org/viewvc/juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java?rev=1526850&r1=1526849&r2=1526850&view=diff
==============================================================================
--- juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java (original)
+++ juddi/trunk/uddi-tck-base/src/main/java/org/apache/juddi/v3/tck/TckBusiness.java Fri Sep
27 11:16:44 2013
@@ -285,7 +285,7 @@ public class TckBusiness 
         }
         
         public void saveBusiness(String authInfo, String businessXML, String businessKey)
{
-            saveBusiness(authInfo, businessXML, businessKey, false);
+            saveBusiness(authInfo, businessXML, businessKey, true);
         }
 	public void saveBusiness(String authInfo, String businessXML, String businessKey, boolean
serialize) {
 		try {
@@ -294,8 +294,8 @@ public class TckBusiness 
 
 			BusinessEntity beIn = (BusinessEntity)EntityCreator.buildFromDoc(businessXML, "org.uddi.api_v3");
 			sb.getBusinessEntity().add(beIn);
-			
-			publication.saveBusiness(sb);
+                    BusinessDetail saveBusiness = publication.saveBusiness(sb);
+                    logger.info("Business saved with key " + saveBusiness.getBusinessEntity().get(0).getBusinessKey());
 	
 			// Now get the entity and check the values
 			GetBusinessDetail gb = new GetBusinessDetail();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message