Skip to content
Snippets Groups Projects
Commit aafc7209 authored by gmantele's avatar gmantele
Browse files

[TAP] Fix bug: TAP and its resources were never initialized by ConfigurableTAPServlet.

parent 65449bab
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ import tap.resource.TAPResource; ...@@ -56,7 +56,7 @@ import tap.resource.TAPResource;
* </p> * </p>
* *
* @author Gr&eacute;gory Mantelet (ARI) * @author Gr&eacute;gory Mantelet (ARI)
* @version 2.0 (04/2015) * @version 2.0 (06/2015)
* @since 2.0 * @since 2.0
*/ */
public class ConfigurableTAPServlet extends HttpServlet { public class ConfigurableTAPServlet extends HttpServlet {
...@@ -174,8 +174,11 @@ public class ConfigurableTAPServlet extends HttpServlet { ...@@ -174,8 +174,11 @@ public class ConfigurableTAPServlet extends HttpServlet {
/* 6. DEFAULT SERVLET INITIALIZATION */ /* 6. DEFAULT SERVLET INITIALIZATION */
super.init(config); super.init(config);
/* 7. INITIATILIZE THE TAP SERVICE */
tap.init(config);
/* 7. FINALLY MAKE THE SERVICE AVAILABLE */ /* 8. FINALLY MAKE THE SERVICE AVAILABLE */
serviceConn.setAvailable(true, "TAP service available."); serviceConn.setAvailable(true, "TAP service available.");
} }
......
...@@ -53,7 +53,7 @@ import adql.db.FunctionDef; ...@@ -53,7 +53,7 @@ import adql.db.FunctionDef;
* <p>At its creation it is creating and configuring the other resources in function of the given description of the TAP service.</p> * <p>At its creation it is creating and configuring the other resources in function of the given description of the TAP service.</p>
* *
* @author Gr&eacute;gory Mantelet (CDS;ARI) * @author Gr&eacute;gory Mantelet (CDS;ARI)
* @version 2.0 (04/2015) * @version 2.0 (06/2015)
*/ */
public class TAP implements VOSIResource { public class TAP implements VOSIResource {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment