Commit Graph

41 Commits

Author SHA1 Message Date
Giancarlo Panichi cd25dd1f0c git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@183300 82a268e6-3cf1-43bd-a215-b396298e98cf 2019-11-27 15:59:21 +00:00
Giancarlo Panichi af053db669 Removed ScopeProvider calls
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@144440 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-28 16:16:34 +00:00
Giancarlo Panichi 492885ac10 Fixed Algorithms to support DataMiner
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@134520 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 13:36:24 +00:00
Giancarlo Panichi d1c4117ef8 Fixed Algorithms to support DataMiner
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@133939 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-07 17:45:01 +00:00
Giancarlo Panichi 68b1e72e59 Updated algorithms to DataMiner service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@133901 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-04 12:11:00 +00:00
Giancarlo Panichi f35121a9c3 Updated algorithms to DataMiner service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@133889 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 17:29:02 +00:00
Giancarlo Panichi 6aeea90821 Updated algorithms to DataMiner service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@133888 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 17:27:14 +00:00
Giancarlo Panichi 2426179b9c Synch with branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@133876 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 16:27:14 +00:00
Giancarlo Panichi 54cbad7676 Synch with branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@133875 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 16:27:06 +00:00
Gabriele Giammatteo 142173a4f6 removing big log files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@130236 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-11 13:02:47 +00:00
Loredana Liccardo 3447c1a9d9 - changelog file modified for release 3.5.1
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101944 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-05 15:38:48 +00:00
Loredana Liccardo 228cca2546 total number rows returned as output for the result of the submit Query operation: SubmitQuery algorithm modified
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101936 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-05 14:59:13 +00:00
Loredana Liccardo 441aee5ecd RandomSampleOnTable, SampleOnTable, SmartSampleOnTable and SubmitQuery algorithms modified in order to manage the file as output.
pom file version modified in 1.3.0.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101767 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-28 11:58:08 +00:00
Loredana Liccardo 417291b489 - algorithm SubmitQuery modified in order to pass the string pathfile to the submitQuery method of class DatabaseManagement in order to generate a file and retrieve it from the statistical manager with the map as output.
- version pom file modified in 1.3.0

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101652 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-19 14:34:25 +00:00
Loredana Liccardo 3814a3ad4c - file changelog modified for release 3.5.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101060 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-28 11:39:45 +00:00
Loredana Liccardo 57be18c94b - some classes regression test updated
- file DestinationDBHibernateDBManager committed.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@101059 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-28 11:21:59 +00:00
Loredana Liccardo 2788cd651b - GetTableDetails, ListSchemas, ListTables, RandomSample, SmartSample, Sample, SubmitQuery algorithms modified to close the connection through the mgt.closeconnection in the DatabaseManager class of DatabasesResourcesManager component.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@100988 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-24 16:46:41 +00:00
Loredana Liccardo cf08416252 - some corrections added (algorithms gettablesdetails, listdbinfo,listschemas,listtables, randomsampling,smartsampling,sampling,submitquery). check added in order to use trim function on a not null object.
- bug fixed and founded with the TabularData Database resource that has 2 access points with the same endpoint, username and password values.
In component DatabasesResourcesManager getAccessPoints method in DBResource class modified and equals method defined in AccessPoint class. DBResource, Normalizer, Decider e Guesser classes modified in order manage the exception generated in equals method. Exception managed also in algorithms (except ListNames) in database-rm-algorithms components.
- tag version changed in pom file from 1.1.0 to 1.2.0
- classes in regressiontest package updated in previous operations and committed

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@100744 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-16 09:16:53 +00:00
Loredana Liccardo 41935e8750 file changelog and pom files modified for release 1.1.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99787 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-12 14:21:35 +00:00
Loredana Liccardo 128e03e0d1 print "setting input" removed in setinputparameter methods
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99779 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-12 12:09:13 +00:00
Loredana Liccardo bb1f64298c update in the SubmitQuery algorithm because input parameters in the SubmitQuery method of DatabaseManagement class have updated.(input parameter on path file removed because unusable)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99412 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-03 08:15:57 +00:00
Loredana Liccardo df7c0e9d7a condition on finally clause modified in the process method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99397 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-02 13:35:34 +00:00
Loredana Liccardo 235b900984 - hibernate bug fixed and related to a join tables that have some columns with identical name. Bug resolved using JDBC. GetConnection method changed in the SubmitQuery algorithm to create the connection with JDBC.
- timer added in the SubmitQuery algorithm that stops the query execution  after 30 minutes.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99396 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-02 13:24:20 +00:00
Loredana Liccardo f1a7326084 correction in GetTableDetails class and related to the printf.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99353 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-01 09:10:09 +00:00
Loredana Liccardo bdf8449fd0 method shutdown of algorithm SubmitQuery implemeted in order to allow a user to cancel a submit query operation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99190 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-01 15:15:43 +00:00
Loredana Liccardo d74564df6d bug fixed when two algorithm computations are submitted (for example executing two submitquery). This is related to the map result's name when it has the same name for both computations.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99065 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-29 13:41:02 +00:00
Loredana Liccardo c57e373d22 classes SubmitQuery, SampleOnTable, SmartSampleOnTable, RandomSampleOnTable modified in order to not make available the file as result. Further some not useful comments on code have been removed.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@99053 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-29 09:22:18 +00:00
Loredana Liccardo 4317e3161b file DestinationDBHibernate modified to insert the property on the timeout
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@98969 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-25 08:14:40 +00:00
Loredana Liccardo 4bb57230d7 bugs fixed in showcreatetable and samplings operations. In these operation it is useful to insert the table name in a query as "schema.table" for postgres and "db.table" for mysql. Class GettableDetails modified to provide the schema or db name in input to the rows computation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@98908 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-23 15:13:48 +00:00
Loredana Liccardo 25b6e891ec update in the SubmitQuery Algorithm changing the field from "Query converted" in "Converted Query"
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@98834 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-21 10:53:00 +00:00
Loredana Liccardo 4fcd6447b6 artifactid changed in pom file for dependency database-resource-manager
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97258 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-10 17:18:33 +00:00
Loredana Liccardo 50b73e86fa packages renamed and gruop id changed in file pom
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97254 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-10 17:01:17 +00:00
Loredana Liccardo ef9cc25868 files profile and changelog modified for etics configuration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97233 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-10 14:56:14 +00:00
Loredana Liccardo dc9b61ce5d groupid changed in pom file for dependency DatabasesResourcesManagerAlgorithms library
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97169 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-10 08:58:11 +00:00
Loredana Liccardo b77b3d7d4f changed pom version
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97155 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-09 17:07:40 +00:00
Loredana Liccardo 66d6ba8882 file pom modified to copy file property.xml from folder distro to target
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97149 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-09 15:48:23 +00:00
Loredana Liccardo edbc3ed4e4 Folder "distro" added
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97134 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-09 13:23:31 +00:00
Loredana Liccardo 18b845bbb1 final modification on SubmitQuery in order to run on the statistical
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@97013 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-06 15:00:41 +00:00
Loredana Liccardo af6456e8b0 some bug fixed to recover a correct result from the submit query (in order to comply with AliasToEntityOrderedMapResultTransformer)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@96725 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-05 09:06:28 +00:00
Loredana Liccardo da3697efa1 project on algorithm moved to dataaccess
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@96621 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-04 14:31:03 +00:00
Loredana Liccardo 4a73641630 move the algorithm to dataaccess
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManagerAlgorithms@96620 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-06-04 14:27:51 +00:00