[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Mon Aug 25 16:27:28 UTC 2008


kawas
Mon Aug 25 12:27:28 EDT 2008
Update of /home/repository/moby/moby-live/Perl/MOSES-MOBY
In directory dev.open-bio.org:/tmp/cvs-serv7817/Perl/MOSES-MOBY

Modified Files:
	Makefile.PL Changes MANIFEST 
Log Message:
added async service support to moses. MOBY.pm has some documentation, but more is to come.
 *ASYNC_SERVICE_TABLE refers to an as yet unimplemented example.
 *for those updating to this version, please make sure to run moses-install.pl again.
 *this module now uses WSRF-Lite and MOBY-Client
moby-live/Perl/MOSES-MOBY Makefile.PL,1.6,1.7 Changes,1.6,1.7 MANIFEST,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/Makefile.PL,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/Makefile.PL	2008/05/11 23:44:37	1.6
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/Makefile.PL	2008/08/25 16:27:28	1.7
@@ -1,6 +1,9 @@
 	# Load the Module::Install bundled in ./inc/
 	use inc::Module::Install;
-
+    
+    # constant
+    use constant MSWIN => $^O =~ /MSWin32|Windows_NT/i ? 1 : 0;
+    
 	# Define metadata
 	name 'MOSES-MOBY';
 	version '0.86';
@@ -25,11 +28,20 @@
 	requires 'Class::Inspector' => 1.17;
 	requires 'Params::Util'     => 0.28;
 
-	#    requires        'Want'     		=> 0;
-	if ( not( $^O =~ /MSWin32|Windows_NT/i ) ) {
-	requires 'Want'       => '0.18';
-	requires 'IO::Prompt' => '0.99.2';
+    # windows doesn't need this
+	if ( not MSWIN ) {
+	    requires 'Want'       => '0.18';
+	    requires 'IO::Prompt' => '0.99.2';
 	}
+	
+	print STDOUT "Shall I check for async libraries (do you plan on writing async services)? y/n [n] ";
+    my $tmp = <STDIN>;
+    $tmp =~ s/\s//g; 
+    if ($tmp =~ /y/i) {
+    	requires 'MOBY::Client::Central' => 1.03;
+		requires 'WSRF::Lite'            => 0.8.8.2; 
+    }
+	
 	build_requires 'Test::More' => '0.42';
 	no_index 'directory'        => 'bin/scripts';
 

===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/Changes,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/Changes	2008/05/11 23:44:37	1.6
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/Changes	2008/08/25 16:27:28	1.7
@@ -1,6 +1,18 @@
 Revision history for Perl extension MOSES::MOBY.
 
-.85 Fri May 9 7:52:35 2008
+.87 
+	- fixed a string append bug where '+' was used
+	  instead of '.'
+	- added support for Asynchronous moby services
+	  * added async option to moses-generate-services.pl
+	  * added async option to moses-testing-service.pl
+	  * created an async dispatcher template
+	    AsyncMobyServer.cgi in the shared folder
+	  * created an async template skeleton module
+	    for async modules.
+	  * added another service table for async services  
+
+.86 Sun May 11 
 	- fixed a bug in one of the test cases.
 	
 .85 Fri May 9 7:52:35 2008

===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOSES-MOBY/MANIFEST,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Perl/MOSES-MOBY/MANIFEST	2008/05/07 17:33:30	1.5
+++ /home/repository/moby/moby-live/Perl/MOSES-MOBY/MANIFEST	2008/08/25 16:27:28	1.6
@@ -44,6 +44,7 @@
 lib/MOSES/MOBY/Generators/GenServices.pm
 lib/MOSES/MOBY/Generators/GenTypes.pm
 lib/MOSES/MOBY/Generators/templates/datatype.tt
+lib/MOSES/MOBY/Generators/templates/service-async.tt
 lib/MOSES/MOBY/Generators/templates/service-base.tt
 lib/MOSES/MOBY/Generators/templates/service-cgi.tt
 lib/MOSES/MOBY/Generators/templates/service.tt
@@ -60,11 +61,13 @@
 share/log4perl.properties.template
 share/mabuhay.file
 share/moby-services.cfg.template
+share/AsyncMobyServer.cgi.template
 share/MobyServer.cgi.template
 share/notes
 share/samples/Service/HelloBiomobyWorld.pm
 share/samples/Service/Mabuhay.pm
 share/samples/SERVICES_TABLE
+share/samples/ASYNC_SERVICE_TABLE
 share/USER_REGISTRIES
 t/MOSES-MOBY-Cache.t
 t/MOSES-MOBY-Registry.t




More information about the MOBY-guts mailing list