26 Commits (master)

Author SHA1 Message Date
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
7 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago