[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Thu Feb 14 04:04:55 UTC 2008


kawas
Wed Feb 13 23:04:55 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier
In directory dev.open-bio.org:/tmp/cvs-serv21738/Java/src/main/org/biomoby/registry/rdfagent/verifier

Modified Files:
	Processor.java 
Log Message:
fixed spelling mistake
moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier Processor.java,1.31,1.32
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/Processor.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/Processor.java	2007/01/27 00:16:04	1.31
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/Processor.java	2008/02/14 04:04:55	1.32
@@ -7,6 +7,7 @@
 import java.util.Vector;
 
 import org.biomoby.client.rdf.builder.ServiceInstanceRDF;
+import org.biomoby.registry.meta.Registry;
 import org.biomoby.registry.rdfagent.util.CentralAdmin;
 import org.biomoby.registry.rdfagent.util.Constants;
 import org.biomoby.registry.rdfagent.util.Log;
@@ -451,8 +452,10 @@
 
 	private void removeMissingServiceFromRegistry(MobyService service, Central central,
 			String reason) {
-		String rdf = ServiceInstanceRDF.findService(service.getAuthority(), service.getName(),
-				central.getRegistryEndpoint(), central.getRegistryNamespace());
+		
+		// TODO - add attachment support
+		//String rdf = new ServiceInstanceRDF(new Registry(central.getRegistryEndpoint(),central.getRegistryEndpoint(), central.getRegistryNamespace())).findService(service.getAuthority(), service.getName());
+	    
 		if (enableDeregistrationFromURL) {
 
 			CentralAdmin centralAdmin = new CentralAdmin(Constants.REGISTRY_REMOVAL_ENDPOINT,
@@ -469,7 +472,7 @@
 			processCentralAdminCode(code);
 
 		} else {
-			Log.info("No services removed because Agent isnt configured to remove services");
+			Log.info("No services removed because Agent isn't configured to remove services");
 			updateMailbag(service.getEmailContact(), "Service " + service.getUniqueName()
 					+ " was a cannidate for removal from the registry because:" + newline + reason
 					+ newline + "But the agent is not configured to remove services.");




More information about the MOBY-guts mailing list