[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Apr 25 17:30:08 UTC 2007


kawas
Wed Apr 25 13:30:08 EDT 2007
Update of /home/repository/moby/moby-live/Java/src/support/registry-servlets
In directory dev.open-bio.org:/tmp/cvs-serv27826/Java/src/support/registry-servlets

Modified Files:
	moby.jsp 
Log Message:
service tester html should only be shown if the server hosting the registry servlets enables testing ...
moby-live/Java/src/support/registry-servlets moby.jsp,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/support/registry-servlets/moby.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/support/registry-servlets/moby.jsp	2006/11/16 22:00:05	1.1
+++ /home/repository/moby/moby-live/Java/src/support/registry-servlets/moby.jsp	2007/04/25 17:30:08	1.2
@@ -1,79 +1,153 @@
-<%@ page info="Moby Central Servlets" %>
+<%@ page info="Moby Central Servlets"%>
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<link rel="stylesheet" type="text/css" href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/stylesheet.css"/>
+<link rel="stylesheet" type="text/css"
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/stylesheet.css" />
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 <title>Moby Servlets</title>
 </head>
 
 <body>
 <h1>BioMOBY Registry Servlets</h1>
-<p><br /> 
-<a href="./forms/getSignatureForm">Update SignatureURLs For your BioMoby Services</a> - Form that aids in the updating of SignatureURLs. This form <br />
-returns valid RDF upon successfully updating your signatureURL.s </p>
-<p><a href="./lsid/ResolveLSID">Client LSID Resolver</a> - Resolve LSIDs to metadata</p>
-<blockquote>
-  <p>To use this servlet, pass the parameter <em><strong>lsid</strong></em>, that is a valid LSID. <br />
-  As an example invocation, <a href="./lsid/ResolveLSID?lsid=urn:lsid:biomoby.org:objectclass:DNASequence" target="_blank">click here</a>. </p>
-</blockquote>
-<p><a href="./RDFGenerator">RDFGenerator</a> - Retrieve the RDF representation for your BioMoby Service.</p>
-<blockquote>
-  <p>This servlet takes in the following parameters:</p>
-  <ul>
-    <li><strong><em>name</em></strong> - the name of your service</li>
-    <li><strong><em>auth</em></strong> - the service providers authority URI</li>
-    <li><strong><em>url</em></strong> - an optional mobycentral registry endpoint to use when generating your RDF</li>
-    <li><strong><em>uri</em></strong> - an optional mobycentral registry namespace to  use when generating your RDF </li>
-  </ul>
-As an example invocation, <a href="./RDFGenerator?name=getGoTerm&amp;auth=bioinfo.icapture.ubc.ca" target="_blank">click here.</a> </blockquote>
-<p><a href="./AgentRDFValidator">RDF Agent Test</a> - Invoke the RDF agent on the remote location that houses your RDF.</p>
-<blockquote>
-  <p>This servlets takes as parameter, <em><strong>url</strong>,</em> the url to test the agent with.</p>
-  <p>As an example, <a href="./AgentRDFValidator?url=http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/metadata?lsid=urn:lsid:biomoby.org:serviceinstance:www.bioinformatics.nl,MobyBlast_submit:2006-03-01T18-36-21Z" target="_blank">click here</a>.    </p>
-  <p>For a form based page, <a href="./RDFAgent_test.jsp">click here</a>. </p>
-</blockquote>
-<p><a href="./ValidateService">CallableServiceServlet</a> -Use this to determine whether or not a particular service(s) is reachable. </p>
-<blockquote>
-  <p>This servlet takes in the following parameters:</p>
-  <ul>
-    <li><strong><em>service</em></strong> - the name of your service &lt;optional&gt; </li>
-    <li><strong><em>authority</em></strong> - the service providers authority URI &lt;optional&gt;</li>
-    <li><strong><em>getStats</em></strong> - Whether or not to show some statistics &lt;optional&gt; - set parameter to <b>true</b> to see stats</li>
-  </ul>
-  <p>As an example, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService" target="_blank">click here</a> to see a report for all services. <br />
-  In addition, to see a report for services by the authority bioinfo.icapture.ubc.ca, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?authority=bioinfo.icapture.ubc.ca" target="_blank">click here.<br />
-  </a>
-To see a list of unreachable services sorted by service provider, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?getDeadServices" target="_blank">click here.</a><br/>  
-To see some stats regarding the percent of alive services, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?getStats=true" target="_blank">click here.</a><br/>
-Finally, to see whether the service, getGoTerm, by the authority bioinfo.icapture.ubc.ca is alive, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?authority=bioinfo.icapture.ubc.ca&amp;service=getGoTerm" target="_blank">click here.</a><br/>
+<p><br />
+<a href="./forms/getSignatureForm">Update SignatureURLs For your
+BioMoby Services</a> - Form that aids in the updating of SignatureURLs. This
+form <br />
+returns valid RDF upon successfully updating your signatureURL.s</p>
+<p><a href="./lsid/ResolveLSID">Client LSID Resolver</a> - Resolve
+LSIDs to metadata</p>
+<blockquote>
+<p>To use this servlet, pass the parameter <em><strong>lsid</strong></em>,
+that is a valid LSID. <br />
+As an example invocation, <a
+	href="./lsid/ResolveLSID?lsid=urn:lsid:biomoby.org:objectclass:DNASequence"
+	target="_blank">click here</a>.</p>
+</blockquote>
+<p><a href="./RDFGenerator">RDFGenerator</a> - Retrieve the RDF
+representation for your BioMoby Service.</p>
+<blockquote>
+<p>This servlet takes in the following parameters:</p>
+<ul>
+	<li><strong><em>name</em></strong> - the name of your service</li>
+	<li><strong><em>auth</em></strong> - the service providers
+	authority URI</li>
+	<li><strong><em>url</em></strong> - an optional mobycentral
+	registry endpoint to use when generating your RDF</li>
+	<li><strong><em>uri</em></strong> - an optional mobycentral
+	registry namespace to use when generating your RDF</li>
+</ul>
+As an example invocation, <a
+	href="./RDFGenerator?name=getGoTerm&amp;auth=bioinfo.icapture.ubc.ca"
+	target="_blank">click here.</a></blockquote>
+<p><a href="./AgentRDFValidator">RDF Agent Test</a> - Invoke the RDF
+agent on the remote location that houses your RDF.</p>
+<blockquote>
+<p>This servlets takes as parameter, <em><strong>url</strong>,</em>
+the url to test the agent with.</p>
+<p>As an example, <a
+	href="./AgentRDFValidator?url=http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/metadata?lsid=urn:lsid:biomoby.org:serviceinstance:www.bioinformatics.nl,MobyBlast_submit:2006-03-01T18-36-21Z"
+	target="_blank">click here</a>.</p>
+<p>For a form based page, <a href="./RDFAgent_test.jsp">click
+here</a>.</p>
+</blockquote>
+<%
+	boolean validate = false;
+	String valString = System.getProperty("DO_SERVICE_VALIDATION");
+	if (valString != null && valString.trim().length() != 0) {
+		validate = Boolean.parseBoolean(valString);
+	}
+	if (validate) {
+%>
+<p><a href="./ValidateService">CallableServiceServlet</a> - Use this
+to determine whether or not a particular service(s) is reachable.</p>
+<blockquote>
+<p>This servlet takes in the following parameters:</p>
+<ul>
+	<li><strong><em>service</em></strong> - the name of your service
+	&lt;optional&gt;</li>
+	<li><strong><em>authority</em></strong> - the service providers
+	authority URI &lt;optional&gt;</li>
+	<li><strong><em>getStats</em></strong> - Whether or not to show
+	some statistics &lt;optional&gt; - set parameter to <b>true</b> to see
+	stats</li>
+</ul>
+<p>As an example, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService"
+	target="_blank">click here</a> to see a report for all services. <br />
+In addition, to see a report for services by the authority
+bioinfo.icapture.ubc.ca, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?authority=bioinfo.icapture.ubc.ca"
+	target="_blank">click here.<br />
+</a> To see a list of unreachable services sorted by service provider, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?getDeadServices"
+	target="_blank">click here.</a><br />
+To see some stats regarding the percent of alive services, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?getStats=true"
+	target="_blank">click here.</a><br />
+Finally, to see whether the service, getGoTerm, by the authority
+bioinfo.icapture.ubc.ca is alive, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/ValidateService?authority=bioinfo.icapture.ubc.ca&amp;service=getGoTerm"
+	target="_blank">click here.</a><br />
 </p>
 </blockquote>
-<p><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/LSID_resolver.jsp">LSID Resolver Client </a> - Using AJAX, retrieve metadata that describes Moby Ontologies..</p>
-<blockquote>
-  <p>As an example, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/LSID_resolver.jsp" target="_blank">click here</a>. </p>
-</blockquote>
-<p><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/data/LSID_resolver.jsp">LSID Resolver Client 2 </a> - Resolve LSIDs to data and or metadata..</p>
-<blockquote>
-  <p>As an example, <a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/data/LSID_resolver.jsp" target="_blank">click here</a>. </p>
-</blockquote>
-<p><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/">The Resources 'Scripts'  </a> - Servlets that return the RDF representations of the BioMOBY ontologies. </p>
-<blockquote>
-  <p>For example,</p>
-  <ol>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/Objects">Object Ontology  </a></li>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/Namespaces">Namespace Ontology</a></li>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/Services">Service Type Ontology</a></li>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/ServiceInstances">Service Instance Ontology</a></li>
-  </ol>
-</blockquote>
-<p><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/">The Types 'Scripts'  </a> - Servlets that perform data dumps for the ontologies in a structured manner. </p>
-<blockquote>
-  <p>For example,</p>
-  <ol>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/Objects">Object Ontology  </a></li>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/Namespaces">Namespace Ontology</a></li>
-    <li><a href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/Services">Service Type Ontology</a></li>
-  </ol>
+<%
+}
+%>
+<p><a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/LSID_resolver.jsp">LSID
+Resolver Client </a> - Using AJAX, retrieve metadata that describes Moby
+Ontologies..</p>
+<blockquote>
+<p>As an example, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/LSID_resolver.jsp"
+	target="_blank">click here</a>.</p>
+</blockquote>
+<p><a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/data/LSID_resolver.jsp">LSID
+Resolver Client 2 </a> - Resolve LSIDs to data and or metadata..</p>
+<blockquote>
+<p>As an example, <a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/data/LSID_resolver.jsp"
+	target="_blank">click here</a>.</p>
+</blockquote>
+<p><a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/">The
+Resources 'Scripts' </a> - Servlets that return the RDF representations of
+the BioMOBY ontologies.</p>
+<blockquote>
+<p>For example,</p>
+<ol>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/Objects">Object
+	Ontology </a></li>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/Namespaces">Namespace
+	Ontology</a></li>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/Services">Service
+	Type Ontology</a></li>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/RESOURCES/MOBY-S/ServiceInstances">Service
+	Instance Ontology</a></li>
+</ol>
+</blockquote>
+<p><a
+	href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/">The
+Types 'Scripts' </a> - Servlets that perform data dumps for the ontologies
+in a structured manner.</p>
+<blockquote>
+<p>For example,</p>
+<ol>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/Objects">Object
+	Ontology </a></li>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/Namespaces">Namespace
+	Ontology</a></li>
+	<li><a
+		href="http://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/types/Services">Service
+	Type Ontology</a></li>
+</ol>
 </blockquote>
 </html>




More information about the MOBY-guts mailing list