juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexo...@apache.org
Subject juddi git commit: NOJIRA removing some extra logging code which is unnecessary, possibly fixing the built bot test failure on juddi-trunk-win7-hibernate
Date Sun, 08 Oct 2017 16:17:28 GMT
Repository: juddi
Updated Branches:
  refs/heads/master 846ffde63 -> 2b0b6c13e


NOJIRA removing some extra logging code which is unnecessary, possibly fixing the built bot
test failure on juddi-trunk-win7-hibernate


Project: http://git-wip-us.apache.org/repos/asf/juddi/repo
Commit: http://git-wip-us.apache.org/repos/asf/juddi/commit/2b0b6c13
Tree: http://git-wip-us.apache.org/repos/asf/juddi/tree/2b0b6c13
Diff: http://git-wip-us.apache.org/repos/asf/juddi/diff/2b0b6c13

Branch: refs/heads/master
Commit: 2b0b6c13e1dc375271f33177359298d87d19d6f6
Parents: 846ffde
Author: Alex O'Ree <alexoree@apache.org>
Authored: Sun Oct 8 12:17:27 2017 -0400
Committer: Alex O'Ree <alexoree@apache.org>
Committed: Sun Oct 8 12:17:27 2017 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java     | 3 ---
 .../java/org/apache/juddi/api/impl/API_160_ReplicationTest.java   | 1 +
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juddi/blob/2b0b6c13/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
----------------------------------------------------------------------
diff --git a/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java b/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
index b9d48da..b451556 100644
--- a/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
+++ b/juddi-core/src/main/java/org/apache/juddi/api/impl/JUDDIApiImpl.java
@@ -1367,8 +1367,6 @@ public class JUDDIApiImpl extends AuthenticatedService implements JUDDIApiPortTy
                         }
                         new ValidateReplication(publisher).validateSetReplicationNodes(replicationConfiguration,
em, node, AppConfig.getConfiguration());
 
-                        //StringWriter sw = new StringWriter();
-                        //JAXB.marshal(replicationConfiguration, sw);
                         org.apache.juddi.model.ReplicationConfiguration model = null;
                         logger.info(publisher.getAuthorizedName() + " is setting the replication
config from " + getRequestorsIPAddress());// + " " + sw.toString());
                         try {
@@ -1417,7 +1415,6 @@ public class JUDDIApiImpl extends AuthenticatedService implements JUDDIApiPortTy
                         throw drfm;
                 } catch (Exception ex) {
                         logger.error(ex, ex);
-                        JAXB.marshal(replicationConfiguration, System.out);
                         throw new FatalErrorException(new ErrorMessage("E_fatalError", ex.getMessage()));
                 } finally {
                         if (tx.isActive()) {

http://git-wip-us.apache.org/repos/asf/juddi/blob/2b0b6c13/juddi-core/src/test/java/org/apache/juddi/api/impl/API_160_ReplicationTest.java
----------------------------------------------------------------------
diff --git a/juddi-core/src/test/java/org/apache/juddi/api/impl/API_160_ReplicationTest.java
b/juddi-core/src/test/java/org/apache/juddi/api/impl/API_160_ReplicationTest.java
index 71095ee..de0e75e 100644
--- a/juddi-core/src/test/java/org/apache/juddi/api/impl/API_160_ReplicationTest.java
+++ b/juddi-core/src/test/java/org/apache/juddi/api/impl/API_160_ReplicationTest.java
@@ -332,6 +332,7 @@ public class API_160_ReplicationTest {
                 r.getCommunicationGraph().getNode().add("test_node");
 
                 JAXB.marshal(r, System.out);
+                Thread.sleep(50);
                 setReplicationNodes = juddi.setReplicationNodes(authInfoRoot, r);
 
                 replicationNodes = juddi.getReplicationNodes(authInfoRoot);


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


Mime
View raw message