Author: challngr Date: Tue Feb 4 16:53:16 2014 New Revision: 1564376 URL: http://svn.apache.org/r1564376 Log: UIMA-3405 Sync service registration message with 1.0.0 messages.
Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceHandler.java Modified: uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceHandler.java URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceHandler.java?rev=1564376&r1=1564375&r2=1564376&view=diff ============================================================================== --- uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceHandler.java (original) +++ uima/sandbox/uima-ducc/trunk/uima-ducc-sm/src/main/java/org/apache/uima/ducc/sm/ServiceHandler.java Tue Feb 4 16:53:16 2014 @@ -765,7 +765,7 @@ public class ServiceHandler String url = meta.getProperty("endpoint"); if ( serviceStateHandler.getServiceByUrl(url) != null ) { - return new ServiceReplyEvent(false, "Duplicate service: " + url + ". Registration fails", url, id.getFriendly()); + return new ServiceReplyEvent(false, "Duplicate." + url + ". Registration fails", url, id.getFriendly()); } ServiceSet sset = null; @@ -808,7 +808,7 @@ public class ServiceHandler if ( error == null ) { serviceStateHandler.registerService(id.getFriendly(), url, sset); - return new ServiceReplyEvent(true, "Registered service.", url, id.getFriendly()); + return new ServiceReplyEvent(true, "Registered.", url, id.getFriendly()); } else { File mf = new File(meta_filename); mf.delete();