Loredana Liccardo
0e03e6ad86
added the refresh for samplings (sampling e smartSampling) and submitQuery operations. The cached data related to these operations are removed from cache.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100342 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-02 09:57:21 +00:00
Loredana Liccardo
8ffb77cfee
- caching on submitQuery requests added
...
- bug fixed in servlet in submitQuery method when a user clicks the cancel button and the map from statistical is already recovered
- private variable output renamed in class SubmitQueryResultWithFileFromServlet
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100324 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-01 13:38:16 +00:00
Loredana Liccardo
67dc075dcc
add data caching on sampling and smartSampling
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100290 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-30 12:40:52 +00:00
Loredana Liccardo
53ac9390b7
sampling and smartSampling cached
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100288 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-30 12:32:27 +00:00
Loredana Liccardo
358c98db4c
exception management removed in refreshCache method in servlet
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100269 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-30 08:07:36 +00:00
Loredana Liccardo
1176464f8a
exceptions management in servlet. Class StatisticalManagerException created in order to manage exceptions generated from the statistical.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100260 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-29 16:07:58 +00:00
Loredana Liccardo
6a96111918
user timeout session management generating a SessionExpiredException in order to show the session checker dialog and redirect to login
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100252 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-29 13:13:02 +00:00
Loredana Liccardo
ddf6dc33c4
version release 3.4.0
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100248 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-29 08:27:24 +00:00
Loredana Liccardo
87d240b885
bug fixed in servlet related to the cache management. Methods init and destroy modified.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100226 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-26 14:56:42 +00:00
Loredana Liccardo
38d0c898f3
- session checker widget added.
...
- logger.error() formatted in GWTdbManagerServiceImpl
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100202 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-24 16:59:57 +00:00
Loredana Liccardo
341caee51f
bug fixed related to presentation of the result when the submitquery with the smart correction is called. Now dialog result displays the query and the grid result.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100161 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-24 09:02:22 +00:00
Loredana Liccardo
41bab2bbb1
exceptions management on algorithm input parameters
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100094 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-22 09:10:07 +00:00
Loredana Liccardo
6528b95a3b
- bug fixed in class GxtBorderLayoutPanel.When a table is selected ad displayed in the panel, on the click of a table in the tables' list, buttons getdetails ad samplings have not be disabled if a new table is not selected.
...
- name changed in randomSample method in the servlet in order to create the file csv.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100093 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-22 08:14:48 +00:00
Loredana Liccardo
10007df08a
- added the file csv download for the submitQuery, sampling, smartsampling and randomsampling
...
- class FileModel in package datamodel modified. It implements the IsSerializable and not Serializable
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100060 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-19 15:36:36 +00:00
Loredana Liccardo
c23955c7b1
- Class WsUtil replaced by SessionUtil in class GWTdbManagerServiceImpl.
...
- logger.error() added in class GWTdbManagerServiceImpl.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99989 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-17 14:43:14 +00:00
Loredana Liccardo
55549daaf3
method getUsername in GWTdbManagerServiceImpl class to set the username to "database.manager" value for the statistical manager.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99987 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-17 14:12:32 +00:00
Loredana Liccardo
6b87523db1
bug fixed and related to the cache. File related to cache removed with the portlet unregistering. Class GWTdbManagerServiceImpl modified adding the method destroy that removes the cache and file encache.xml changed setting the parameter diskPersistent to false value in order to remove the file in temp folder.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99964 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-17 08:27:30 +00:00
Loredana Liccardo
a460e30453
tables' list caching added (further, in loadTables method storing mechanism of tables removed for a user session).classes GxtTReePanel, GxtToolbarFunctionality, GWTdbManagerServiceImpl
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99871 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-15 10:07:30 +00:00
Loredana Liccardo
9528ed747c
some not useful code commented removed in servlet
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99790 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-12 14:47:32 +00:00
Loredana Liccardo
5386131130
- encache caching mechanism added for the information in the tree model. (cache disk create in the temp directory of tomcat)
...
- for submitquery and samplings, message "Result not available" changed in the table has 0 rows or the query returned 0 values
- directory for cache created in a corrected way and dependency for ehcache set to provided in the pom file
- servlet computation made more fast removing for each algorithm the retrieving of algorithm's name and algorithm's input parameters. They have been set within each method (related to an algorithm)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99777 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-12 12:05:22 +00:00
Loredana Liccardo
82cf7995f2
directory for cache created in a corrected way and dependecy for ehcache set to provided
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99736 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-10 16:37:59 +00:00
Loredana Liccardo
60421055b7
data in the tree panel cached with the encache mechanism
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99673 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-10 12:31:20 +00:00
Loredana Liccardo
af9eb785ef
code commented removed
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99577 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-08 10:36:49 +00:00
Loredana Liccardo
e955f2bc42
bugs fixed for the submitQuery functionality:
...
- If a user clicks "cancel" after a computation is finished, the result will not be shown.(corrections in "removecomputtaion" and "submitquery" methods in servlet class and in the in the callback success related to the submitquery rpc in class GxtBorderLayout)
- the ok button disabled in the dialog related to the submitQuery operation in order to avoid to submit the same query.The ok button will be enabled when a dialog will show the result.(corrections in rpc submitQuery and parseSubmitQueryResult in GxtBorderLayout class)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99516 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-05 09:30:05 +00:00
Loredana Liccardo
1ebffe746f
bug fixed in GxtBorderLayout e servlet classes for the submit query operation in such a way if a query does not generate a result a dialog shows a message to user.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99370 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-01 10:58:31 +00:00
Loredana Liccardo
8e641ab117
the dialog that shows the submit query result has been realized with the pagination. Further, the two hashmap on the server are refreshed when this dialog is closed from the user removing the not useful data related to the submit query
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99351 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-29 13:39:04 +00:00
Loredana Liccardo
94c8594bf2
bug fixed in GWTdbManagerServiceImpl class for the cancel of a submit query operation.comments removed in the other classes.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99269 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-25 15:55:53 +00:00
Loredana Liccardo
e5274527bf
-cancel of a submit query managed removing the computation from the statistical and closing the db connection.
...
- class UIDGenerator added.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99195 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-01 16:11:36 +00:00
Loredana Liccardo
9c21766b70
add ASLSession object in class GWTdbManagerServiceImpl to manage variables for each user Http session. Classes CancelQueryExecutionEvent, CancelQueryExecutionEventHandler added. Pom file modified to add aslSession adding the related dependency.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99175 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-08-01 09:27:40 +00:00
Loredana Liccardo
4837482f5d
in class GWTdbManagerServiceImpl the time in startComputation method has been modified from 1 second to 3 seconds
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99150 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-31 10:40:20 +00:00
Loredana Liccardo
be97accb42
code cleaned up removing commented lines in class GWTdbManagerServiceImpl
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99097 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-30 12:05:11 +00:00
Loredana Liccardo
1ba2f58cc2
- event minimize managed for dialog the contains submit result.
...
- when the dialog "tableList" is shown if the cancel button is clicked, the panel "Databases Information" is refreshed.
- In class "SessionUtil" the user has been modified from "loredana.liccardo" to "dbmanager".
- Header of the GxtBorderLayoutPanel class set to visibility=false.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99081 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-30 09:13:17 +00:00
Loredana Liccardo
e219cfcb11
- bug fixed in class GWTdbManagerServiceImpl modified adding the class ComputationOutput to manage the mapValues and the mapKey related to an algorithm computation.
...
- bug fixed for multiple submit query dialogs and associated dialog results.ID added in the header of these two dialog types (passed in the SubmitQueryEvent). "Dialog.getBody" masked and unmasked.(in GxtBorderLyoutPanel and GxtToolbarFunctionality classes)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99021 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-25 18:03:14 +00:00
Loredana Liccardo
1c4202215f
log4j added and system.out.println commented in GxtBorderLayoutPanel e GxtTreePanel
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98889 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-22 16:32:39 +00:00
Loredana Liccardo
c8d86470f1
gwt logger commented (client side) and relevant print checks (system.out.println()) added in the code.
...
gwt logger used in the server side.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98861 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-22 09:47:28 +00:00
Loredana Liccardo
f5d142ef6b
code cleaned up removing commented lines.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98809 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-18 16:05:55 +00:00
Loredana Liccardo
38a7e3daa5
bug fixed in LoadTables of GWTdbManagerServiceImpl class and in the callback "onSucces" of the rpc LoadTables if a user inserts a table that non exist in the database. The paging display "no data are displayed" message.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98768 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-17 15:14:34 +00:00
Loredana Liccardo
4a8e86436d
images added to the remote search for the buttons search and cancel, bugs fixed in the remote search for the grid element removing the set of the state, bugs fixed in the remote search
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98746 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-17 12:37:55 +00:00
Loredana Liccardo
550dc39207
remote search implemented in the paging for the Tablelist
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98692 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-16 14:18:09 +00:00
Loredana Liccardo
6f54509bc4
bugs fixed in the Paging (with the correct management of the callback related to rpc)
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98580 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-11 18:22:24 +00:00
Loredana Liccardo
33da8115af
paging implemeneted in a dialog
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98561 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-11 10:35:26 +00:00
Loredana Liccardo
b1020383fc
bug fixed for the tree on elements selection
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98556 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-10 14:43:06 +00:00
Loredana Liccardo
bdbf09c7dc
bug fixed and refactor of the code in GXTTreePanel, GxtBorderLayout, GWTdbManagerServiceImpl and FileModel classes
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98529 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-09 14:55:19 +00:00
Loredana Liccardo
ae5d05aa29
some modifications
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98525 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-09 13:19:53 +00:00
Loredana Liccardo
a1a86b007c
bugs fixed for sample operations to manage database mysql.
...
logger gwt added in gwt.xml file
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98520 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-09 12:11:19 +00:00
Loredana Liccardo
850d3ecda9
bugs fixed for sample operations and submitquery. Button name changed from "show create table" to table details.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98501 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-08 15:53:15 +00:00
Loredana Liccardo
ffd58356c3
randomSample implemented
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98439 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-04 10:36:43 +00:00
Loredana Liccardo
faac5c9a05
smartSample implemented
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98438 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-04 10:09:47 +00:00
Loredana Liccardo
6807afaf2c
show create table implemented and grid component made editable for tabledetails and dbinfo panels.
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98414 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-04 09:07:19 +00:00
Loredana Liccardo
e2c1826227
sampling added
...
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@98365 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-07-03 12:44:03 +00:00