Commit aafc7209 authored by gmantele's avatar gmantele
Browse files

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

parent 65449bab
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ import tap.resource.TAPResource;
 * </p>
 * 
 * @author Gr&eacute;gory Mantelet (ARI)
 * @version 2.0 (04/2015)
 * @version 2.0 (06/2015)
 * @since 2.0
 */
public class ConfigurableTAPServlet extends HttpServlet {
@@ -175,7 +175,10 @@ public class ConfigurableTAPServlet extends HttpServlet {
		/* 6. DEFAULT SERVLET INITIALIZATION */
		super.init(config);
		
		/* 7. FINALLY MAKE THE SERVICE AVAILABLE */
		/* 7. INITIATILIZE THE TAP SERVICE */
		tap.init(config);

		/* 8. FINALLY MAKE THE SERVICE AVAILABLE */
		serviceConn.setAvailable(true, "TAP service available.");
	}

+1 −1
Original line number Diff line number Diff line
@@ -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>
 * 
 * @author Gr&eacute;gory Mantelet (CDS;ARI)
 * @version 2.0 (04/2015)
 * @version 2.0 (06/2015)
 */
public class TAP implements VOSIResource {