- Feb 20, 2015
-
-
gmantele authored
[ALL] Update ANT build scripts to test all existings JUnit tests before compiling. In case of error, the compilation does not complete.
-
- Feb 19, 2015
-
-
gmantele authored
[TAP] Allow creation of PENDING jobs ONLY FROM the TAPFactory when the service is unavailable. Before this modification, the backup manager could not restore jobs at the service starting. When the service is said unavailable, the resources /sync and /async are rejecting HTTP requests, but jobs can be created and started in background (very useful for backup restoration but also for queued jobs).
-
gmantele authored
[TAP] Add a property in the configuration file to set a custom TAPFactory (in replacement of ConfigurableTAPFactory.
-
- Feb 18, 2015
-
-
gmantele authored
[TAP] Add a 3rd possibility to set metadata in the TAP configuration file: give an extension of TAPMetadata having either an empty constructor or a constructor with a UWSFileManager, a TAPFactory and a TAPLog. & Rename function TAPConfiguration.isClassPath(String) into TAPConfiguration.isClassName(String).
-
gmantele authored
[TAP] Add property to add/replace TAP resources & Add the tool function TAPConfiguration.newInstance(...).
-
gmantele authored
[TAP] Add log management in the TAP configuration file. 2 additional properties have been added: min_log_level and log_rotation.
-
- Feb 17, 2015
-
-
gmantele authored
[TAP] Add missing formats (particularly all the different VOTable serializations) in the TAP configuration file
-
gmantele authored
[TAP] Add home page configuration in the TAP configuration file. (missing file: tap.resource.HomePage)
-
gmantele authored
-
gmantele authored
[TAP] Fix Class loading MAJOR BUG: do not use a specific ClassLoader, but Class.forName(String). The ClassLoader is different in a WebApplication than in a standalone ; TAP.fetchClass(...) worked before in a standalone but not in a WebApplication.
-
gmantele authored
[UWS,TAP] Set the user who submits the request in an HttpServletRequest attribute. Thus, every TAP and UWS resources can get it without extracting the information every time from the HttpServletRequest.
-
- Feb 16, 2015
-
-
gmantele authored
[TAP] Auto deregister at servlet destruction the JDBC driver loaded by the library (only in the case database_access=jdbc).
-
gmantele authored
-
gmantele authored
[TAP] Fix exception management: do not encapsulate in a UWSException a TAPException whose the cause is already a UWSException ; in such case, the TAPException cause must be returned.
-
- Feb 13, 2015
-
-
gmantele authored
[TAP] Add a new database access method in the configuration file: get a Datasource from JNDI. & Better support of connection pooling (TAPFactory.countFreeConnections() has been removed ; when the creation of a database connection fails with an SQLException, it is considered that no connection are momentarily available...async jobs will be queued and all sync requests will be rejected).
-
- Feb 11, 2015
-
-
gmantele authored
-
- Feb 09, 2015
-
-
gmantele authored
-
gmantele authored
[TAP] Add support for user identification in the configuration file. Besides, each time a property expected as an integer is not an integer, an exception is thrown.
-
gmantele authored
[TAP] Add a parameter to limit the number of running asynchronous jobs in the configuration file: max_async_jobs.
-
gmantele authored
-
gmantele authored
[TAP] Add metadata support in the configuration file. Two methods to get metadata: 1/ Parse an XML file implementing the schema TableSet, and then re-build TAP_SCHEMA in the database, 2/ Get metadata from the database schema TAP_SCHEMA.
-
- Feb 06, 2015
-
-
gmantele authored
[TAP] Add an XML TableSet parser. The main modification done in JDBCConnection is about the schema prefix of table when the DBMS does not support schemas: now, only standard tables are expected with the prefix 'TAP_SCHEMA_' and the upload tables also with 'TAP_UPLOAD_'.
-
gmantele authored
[TAP] Add an XML TableSet parser. The main modification done in JDBCConnection is about the schema prefix of table when the DBMS does not support schemas: now, only standard tables are expected with the prefix 'TAP_SCHEMA_' and the upload tables also with 'TAP_UPLOAD_'.
-
- Jan 27, 2015
- Jan 23, 2015
- Dec 15, 2014
-
-
gmantele authored
[UWS,TAP] Add clean release of all resources (e.g. Threads, Timers, DB connections) allocated in a UWS and a TAP service. Small changes of the UWS API...but only if ExecutionManager, DestructionManager and UWS have been implemented by library users rather than using the default implementation.
-
- Dec 12, 2014
-
-
gmantele authored
[UWS,TAP] Review some log messages (in the log file but also in the error summary of a job) ; particularly stack traces are added into the error summary, but are displayed just once in the logs.
-
gmantele authored
[TAP] Fix bug with the UPLOAD parameter: on any job parameter modification (with a 2nd http request), the UPLOAD parameter was deleted
-
- Dec 10, 2014
-
-
gmantele authored
-
- Dec 09, 2014
-
-
gmantele authored
[TAP] Fix bug in VOTable reading. The STIL consumer must be in a different thread. OnceRowPipe has been then replaced by a new internal static class re-doing the same work plus some adaptations, particularly to stop properly the stream reading before reaching the end of the VOTable.
-
gmantele authored
[TAP,UWS] Addition to the last commit: the TAP resource /sync did not yet use the RequestParser to get its parameters, and so it did not worked as before the last commit.
-
gmantele authored
[UWS,TAP] 3 MAJOR DEPENDENT FIX: improve significantly the parameters extraction from HTTP request in UWS (1) AND move the file-upload ability into the UWS library (2) AND the modification of parameters in UWS is now conform with the standard (3). (1) Only application/x-form-urlencoded content-type was supported. However a UWS must accept a request body containing only an XML document as a single byReference parameter. It is now done when the content-type is not known. (2) Besides multipart/form-data is now fully supported in UWS and so is still possible in TAP. (3) In the UWS standard, parameters can not be added after creation: they can just be modified. This rule is now respected in the UWS library.
-
gmantele authored
-
gmantele authored
[TAP] Deal with the DB type 'BOOLEAN' while uploading boolean values in the database => convert the boolean in a short value (1 or 0).
-
- Dec 05, 2014
-
-
gmantele authored
[TAP] Make TAP and UWSService use the same ServiceErrorWriter AND make DefaultTAPErrorWriter use the same VOTableFormat as the one declared as OutputFormat in the ServiceConnection.
-
- Nov 14, 2014
-
-
gmantele authored
[TAP] Fix a grave error: synchronous jobs were stopped much before the specified execution duration ; the library was waiting N milliseconds, where N is the TAP execution duration always expressed in seconds.
-
- Nov 13, 2014
-
-
gmantele authored
[UWS,TAP] Review the standard parameters checking. Particularly, because before, the default value was never used while no value was specified by the user.
-