Loading src/tap/config/ConfigurableServiceConnection.java +25 −0 Original line number Diff line number Diff line package tap.config; /* * This file is part of TAPLibrary. * * TAPLibrary is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * TAPLibrary is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * 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 2015 - Astronomisches Rechen Institut (ARI) */ import static tap.config.TAPConfiguration.DEFAULT_DIRECTORY_PER_USER; import static tap.config.TAPConfiguration.DEFAULT_EXECUTION_DURATION; import static tap.config.TAPConfiguration.DEFAULT_GROUP_USER_DIRECTORIES; Loading Loading @@ -92,6 +111,12 @@ import adql.db.STCS; import adql.parser.ParseException; import adql.query.operand.function.UserDefinedFunction; /** * * * @author Grégory Mantelet (ARI) * @version 2.0 (03/2015) */ public final class ConfigurableServiceConnection implements ServiceConnection { private UWSFileManager fileManager; Loading src/tap/config/ConfigurableTAPFactory.java +25 −0 Original line number Diff line number Diff line package tap.config; /* * This file is part of TAPLibrary. * * TAPLibrary is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * TAPLibrary is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * 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 2015 - Astronomisches Rechen Institut (ARI) */ import static tap.config.TAPConfiguration.DEFAULT_BACKUP_BY_USER; import static tap.config.TAPConfiguration.DEFAULT_BACKUP_FREQUENCY; import static tap.config.TAPConfiguration.KEY_BACKUP_BY_USER; Loading Loading @@ -43,6 +62,12 @@ import adql.translator.JDBCTranslator; import adql.translator.PgSphereTranslator; import adql.translator.PostgreSQLTranslator; /** * * * @author Grégory Mantelet (ARI) * @version 2.0 (03/2015) */ public final class ConfigurableTAPFactory extends AbstractTAPFactory { private Class<? extends JDBCTranslator> translator; Loading src/tap/config/ConfigurableTAPServlet.java +7 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package tap.config; * 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 2014-2015 - Astronomisches Rechen Institut (ARI) * Copyright 2015 - Astronomisches Rechen Institut (ARI) */ import static tap.config.TAPConfiguration.DEFAULT_TAP_CONF_FILE; Loading Loading @@ -46,6 +46,12 @@ import tap.resource.HomePage; import tap.resource.TAP; import tap.resource.TAPResource; /** * * * @author Grégory Mantelet (ARI) * @version 2.0 (03/2015) */ public class ConfigurableTAPServlet extends HttpServlet { private static final long serialVersionUID = 1L; Loading Loading
src/tap/config/ConfigurableServiceConnection.java +25 −0 Original line number Diff line number Diff line package tap.config; /* * This file is part of TAPLibrary. * * TAPLibrary is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * TAPLibrary is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * 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 2015 - Astronomisches Rechen Institut (ARI) */ import static tap.config.TAPConfiguration.DEFAULT_DIRECTORY_PER_USER; import static tap.config.TAPConfiguration.DEFAULT_EXECUTION_DURATION; import static tap.config.TAPConfiguration.DEFAULT_GROUP_USER_DIRECTORIES; Loading Loading @@ -92,6 +111,12 @@ import adql.db.STCS; import adql.parser.ParseException; import adql.query.operand.function.UserDefinedFunction; /** * * * @author Grégory Mantelet (ARI) * @version 2.0 (03/2015) */ public final class ConfigurableServiceConnection implements ServiceConnection { private UWSFileManager fileManager; Loading
src/tap/config/ConfigurableTAPFactory.java +25 −0 Original line number Diff line number Diff line package tap.config; /* * This file is part of TAPLibrary. * * TAPLibrary is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * TAPLibrary is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * 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 2015 - Astronomisches Rechen Institut (ARI) */ import static tap.config.TAPConfiguration.DEFAULT_BACKUP_BY_USER; import static tap.config.TAPConfiguration.DEFAULT_BACKUP_FREQUENCY; import static tap.config.TAPConfiguration.KEY_BACKUP_BY_USER; Loading Loading @@ -43,6 +62,12 @@ import adql.translator.JDBCTranslator; import adql.translator.PgSphereTranslator; import adql.translator.PostgreSQLTranslator; /** * * * @author Grégory Mantelet (ARI) * @version 2.0 (03/2015) */ public final class ConfigurableTAPFactory extends AbstractTAPFactory { private Class<? extends JDBCTranslator> translator; Loading
src/tap/config/ConfigurableTAPServlet.java +7 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ package tap.config; * 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 2014-2015 - Astronomisches Rechen Institut (ARI) * Copyright 2015 - Astronomisches Rechen Institut (ARI) */ import static tap.config.TAPConfiguration.DEFAULT_TAP_CONF_FILE; Loading Loading @@ -46,6 +46,12 @@ import tap.resource.HomePage; import tap.resource.TAP; import tap.resource.TAPResource; /** * * * @author Grégory Mantelet (ARI) * @version 2.0 (03/2015) */ public class ConfigurableTAPServlet extends HttpServlet { private static final long serialVersionUID = 1L; Loading