Commit 03a31bc7 authored by gmantele's avatar gmantele
Browse files

[UWS] Add configuration file to build and configure a UWS service.

parent 88e99ad2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -311,7 +311,7 @@
				<td>
					<p>Type of the file manager.</p>
					<p>Accepted values are: local (to manage files on the local system).
					You can also add another way to manage files by providing the name (within brackets: {...}) of a class implementing TAPFileManager and having at least one constructor with only a java.util.Properties parameter.</p>
					You can also add another way to manage files by providing the name (within brackets: {...}) of a class implementing UWSFileManager and having at least one constructor with only a java.util.Properties parameter.</p>
				</td>
				<td><ul><li>local</li><li>{apackage.MyTAPFileManager}</li></ul></td>
			</tr>
@@ -415,7 +415,7 @@
	 				</em></p>
	 				<p><em>Default: <code>D 0 0</code> (daily at midnight)</em></p>
				</td>
				<td><ul><li>D 6 30</li><li>W 2 6 30</li><li>M 2 6 30</li><li>H 10</li><li>m</li></ul></td>
				<td><ul><li>D 6 30</li><li>W 2 6 30</li><li>M 2 6 30</li><li>h 10</li><li>m</li></ul></td>
			</tr>
			
			<tr><td colspan="5">UWS Backup (only if tap_factory = ø)</td></tr>
+6 −6
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ package tap.parameters;
 * You should have received a copy of the GNU Lesser General Public License
 * along with TAPLibrary.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * Copyright 2012,2014 - UDS/Centre de Données astronomiques de Strasbourg (CDS),
 * Copyright 2012-2016 - UDS/Centre de Données astronomiques de Strasbourg (CDS),
 *                       Astronomisches Rechen Institut (ARI)
 */

@@ -42,7 +42,7 @@ import uws.job.parameters.UWSParameters;
 * submitted by a TAP client to this TAP service.
 * 
 * @author Gr&eacute;gory Mantelet (CDS;ARI)
 * @version 2.0 (12/2014)
 * @version 2.1 (06/2016)
 */
public class TAPParameters extends UWSParameters {

@@ -121,7 +121,7 @@ public class TAPParameters extends UWSParameters {
		controllers.put(TAPJob.PARAM_EXECUTION_DURATION, new TAPExecutionDurationController(service));
		controllers.put(TAPJob.PARAM_DESTRUCTION_TIME, new TAPDestructionTimeController(service));
		controllers.put(TAPJob.PARAM_REQUEST, new StringParamController(TAPJob.PARAM_REQUEST, null, new String[]{TAPJob.REQUEST_DO_QUERY,TAPJob.REQUEST_GET_CAPABILITIES}, true));
		controllers.put(TAPJob.PARAM_LANGUAGE, new StringParamController(TAPJob.PARAM_LANGUAGE, TAPJob.LANG_ADQL, null, true));
		controllers.put(TAPJob.PARAM_LANGUAGE, new StringParamController(TAPJob.PARAM_LANGUAGE, TAPJob.LANG_ADQL, (String[])null, true));
		controllers.put(TAPJob.PARAM_VERSION, new StringParamController(TAPJob.PARAM_VERSION, TAPJob.VERSION_1_0, new String[]{TAPJob.VERSION_1_0}, true));
		controllers.put(TAPJob.PARAM_QUERY, new StringParamController(TAPJob.PARAM_QUERY));
		controllers.put(TAPJob.PARAM_FORMAT, new FormatController(service));
+670 −0

File added.

Preview size limit exceeded, changes collapsed.

+693 −0

File added.

Preview size limit exceeded, changes collapsed.

+592 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading