[MOBY-guts] biomoby commit
Nina Opushneva
nopushneva at pub.open-bio.org
Mon Apr 11 18:51:48 UTC 2005
nopushneva
Mon Apr 11 14:51:48 EDT 2005
Update of /home/repository/moby/moby-live/Java/docs
In directory pub.open-bio.org:/tmp/cvs-serv30149
Modified Files:
RDFAgent.html
Log Message:
rdfagent web page
moby-live/Java/docs RDFAgent.html,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/docs/RDFAgent.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/docs/RDFAgent.html 2004/12/05 22:28:02 1.1
+++ /home/repository/moby/moby-live/Java/docs/RDFAgent.html 2005/04/11 18:51:48 1.2
@@ -3,17 +3,90 @@
<link rel="shortcut icon" href="images/whale.gif">
</head>
-<body LINK="#0000FF" TEXT="#000000" BGCOLOR="#FFFFCD" VLINK="#0099FF">
+<body LINK="#0000FF" TEXT="#000000" BGCOLOR="#FFFFCD" >
<center>
<img src="images/moby-java.gif">
-<h1>RDF Agent</h1>
+<h1><a name="top">RDF Agent</a></h1>
</center>
+<p>The RDFAgent is the program for the checking of the service Signature data between Mobycentral Registry database
+ and the servers of the service providers. If the RDFAgent get the URL of your RDF file, then its do following:<br>
+ - check the database for services which have given signatureURL ( At least one service for given signatureURL must exist
+ in the registry database, otherwise this signatureURL will not be processed. So, first service with given signatureURL
+ must be registered by the standard way. );<br>
+ - make a connect to server of the service provider;<br>
+ - try to get RDF representation of the services located at this URL. ( If a connect will be refused three times in a row by the
+ same reason, the services located at this URL will be deleted from mobycentral database.)
+ - if a connect was a success, the RDFAgent browsing input stream and checking data in the database. The new services
+ from provider's server will be added to database, the updating into rdf file services will update into Registry database too,
+ the services which must be at this URL, but there are missing will be deleted from the database.
+ - the report about the RDFAgent work will send to you by E-mail.</p>
+ <p>The RDFagent allows you to register new services into Mobycentral Registry, delete and update the existing services
+ by changing your RDF file.
+ <ul>
+ <li><a href = "#add">Register new services</a>
+ <li><a href = "#del">Deregister a service</a>
+ <li><a href = "#upd">Update a service</a>
+ <li <a href = "#ex1">Example of RDfagent call</a>
+ </ul>
+ </p>
-<blockquote><em>
-Coming soon...
-</em></blockquote>
+<h4><a name="add">Registration of new services</a></h4>
+<p>For registration a new service into the Mobycentral registry you need:
+ <ul>
+ <li>to add the rdf representation of this service to your existing RDF file;
+ <li>run registerService from MOBY::Client::Central with only one defined parameter "signatureURL",
+ another parameters must be undefined <br>
+
+ (Example you can find <a href = "#ex1">here</a>)
+ </ul> </p>
+
+<h4><a name="del">Deregistration of services</a></h4>
+<p>For deletion a service from the Mobycentral registry database you need:
+ <ul>
+ <li>to delete the rdf representation of this service from your RDF file;
+ <li>run registerService from MOBY::Client::Central with only one defined parameter "signatureURL",
+ another parameters must be undefined <br>
+ (Example you can find <a href = "#ex1">here</a>)
+ </ul> </p>
+
+<h4><a name="upd">Updating of services</a></h4>
+<p>For updating a service registered into the Mobycentral registry you need:
+ <ul>
+ <li>to make changes in the rdf representation of this service in your RDF file;
+ <li>run registerService from MOBY::Client::Central with only one defined parameter "signatureURL",
+ another parameters must be undefined <br>
+
+ </ul> </p>
+
+
+<h4><a name = "ex1">Example RDFagent call:</a></h4>
+<pre>
+In Perl:
+
+use MOBY::Client::Central;
+my $m = MOBY::Client::Central->new(
+ Registries => {
+ mobycentral => {
+ URL => 'http://mobycentral.cbr.nrc.ca:8080/cgi-bin/MOBY05/mobycentral.pl',
+ URI => 'http://mobycentral.cbr.nrc.ca:8080/MOBY/Central'}
+ }
+ );
+ $REG = $m->registerService(
+ serviceName => "",
+ serviceType => "",
+ authURI => "",
+ contactEmail => '',
+ description => "",
+ category => "",
+ URL => "",
+ signatureURL => "http://path-to/your/rdf_file.rdf",
+
+ );
+</pre>
+
+<a href = "#top">Top of page</a>
<hr>
<div align=right><font size=-2>
<address><A HREF="mailto:opushneva at yahoo.ca">Nina Opushneva</A><BR></address>
More information about the MOBY-guts
mailing list