[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Oct 25 02:33:23 UTC 2006


gordonp
Tue Oct 24 22:33:23 EDT 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended
In directory dev.open-bio.org:/tmp/cvs-serv9957/src/main/org/biomoby/shared/extended

Modified Files:
	ServiceInstanceParser.java 
Log Message:
Added MobyServlet and Seahawk initial versions to the repository
moby-live/Java/src/main/org/biomoby/shared/extended ServiceInstanceParser.java,1.17,1.18
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended/ServiceInstanceParser.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended/ServiceInstanceParser.java	2006/07/13 18:35:01	1.17
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/shared/extended/ServiceInstanceParser.java	2006/10/25 02:33:23	1.18
@@ -293,6 +293,12 @@
 						.getObject().toString();
 				service.setDescription(description);
 			}
+			// see if the service is working
+			if (resource.hasProperty(FetaVocabulary.isAlive)) {
+				String bool = resource.getProperty(FetaVocabulary.isAlive)
+						.getObject().toString();
+				service.setStatus(MobyService.ALIVE, "true".equals(bool));
+			}
 
 			// process in/outputs
 			StmtIterator arguements = resource.listProperties(FetaVocabulary.hasOperation);




More information about the MOBY-guts mailing list