Commit Graph

125 Commits

Author SHA1 Message Date
Loredana Liccardo aec88a2b18 - for the submitQuery the file result management has been modified. The file is retrieved from the statistical. GWTdbManagerServiceImpl, GxtBorderLayoutPanel, ComputationOutput, SubmitQueryResultWithFileFromServlet modified.
- pom file version changed in 1.3.0
- check added on data object in loadSubmitQuery method
- UriResolver used to generate an http link from smp url. Dependency added in the pom file.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101654 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-19 15:00:35 +00:00
Loredana Liccardo c5d19b629c file configs.properties added and print change in servlet
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101521 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-07 17:20:47 +00:00
Loredana Liccardo bf4f59359f - file properties added in folder webapp/conf to read the param maxBytesLocalHeap at runtime and set the cache with this value in webapp/conf. Heap set to value 500 Mega.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101519 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-07 17:15:58 +00:00
Loredana Liccardo 970d4a3180 - cache parameter called maxBytesLocalDisk changed from 200 mega to 2 Giga
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101487 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-07 09:26:01 +00:00
Loredana Liccardo 697a84b635 pom file modified in order to use the statistical-manager-cl-1.4.0. GWTdbManagerServiceImpl class modified in order to catch only the IndexOutBoundsException.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101476 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-05 16:26:35 +00:00
Loredana Liccardo fd79f44316 bug fixed in servelet and related to the removecomputation. Exception returned from statistical was changed from java.lang.IndexOutOfBoundsException in java.lang.NullPointerException. Exception managed in servlet.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101447 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-04 16:40:51 +00:00
Loredana Liccardo c96b6cc551 bug fixed in DatabasesResourcesManager component and related to samplings operations and the related column values truncation.If quote is truncated the parsecvsString in servlet does not work fine. Row, GxtBorderLayoutPanel, GWTdbManagerServiceImpl, GxtBorderLayoutPanel classes modified to manage in a correct way the exception generated in class Row while parsing a csv row in a values list for samplings operations.
changelogfile modified.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101167 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-29 15:59:36 +00:00
Loredana Liccardo f44416d559 file changelog modified for release 3.5.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101068 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-28 13:53:50 +00:00
Loredana Liccardo e428025c29 top header in the portlet made invisible. GxtBorderLayout class modified.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101025 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-27 14:34:32 +00:00
Loredana Liccardo 9cad85a41e - bug fixed for the submit query operation if at the same time a refresh query operation is performed. GWTdbManagerServiceImpl and GxtBorderLayput classes modified
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101004 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-27 09:44:26 +00:00
Loredana Liccardo 260ce2c6e6 - for submitQuery operation attributes names added in the csv file. submitQuery method modified in GWTdbManagerServiceImpl class.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100962 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-24 12:50:47 +00:00
Loredana Liccardo 695e8c423e - counters added in order to count the cache hit number and the statistical manager computation number, the cache query sampling hit number and the statistical manager query sampling computation number to perform statistics about the effectiveness of the cache.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100960 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-24 12:16:09 +00:00
Loredana Liccardo b6d00aaabc some comments removed in GxtBorderLayout e SessionUtil
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100946 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-24 08:39:35 +00:00
Loredana Liccardo 2508eed0b6 - some logger.info and logger.trace moved and added in order to improve the debug.
commented code not useful removed. Also the commented methods not useful has been removed: getDatabaseManagerAlgorithms, getParameters, getSubmitQueryResult, getSubmitQueryResultParsed, updateSubmitQueryResultParsed, removeResultParsed, updateSubmitQueryResultMap, removeResult

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100945 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-24 08:01:50 +00:00
Loredana Liccardo c65cba2a56 checks added in methods that performs operations on the cache and cacheManager variable changed from local to private static
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100896 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-22 17:16:37 +00:00
Loredana Liccardo 2a9b3e4a2a bug fixed in class GxtBorderLayout in order to manage the copy of grid elements correctly. An element copy has been managed setting a grid property named disbleTextSelection and not through the double click and the edit event.
Object EditorGrid changed in Grid in order to display a table name, information of a database and for table details while for the tables list it remains.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100895 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-22 17:15:09 +00:00
Loredana Liccardo 359bd053b4 logger statement added in GWTdbManagerSrviceImpl class
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100854 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-22 10:00:16 +00:00
Loredana Liccardo dc17681468 some system.out.println statements removed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100836 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-22 08:49:08 +00:00
Loredana Liccardo c0abe245c1 bug fixed in class GWTdbManagerServiceImpl for the removeComputation RPC in order to pass to the getFactory method the correct scope. In GxtToolbar class logger print modified in the callback success of the removeComputation rpc.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100824 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-21 15:08:22 +00:00
Loredana Liccardo 47a8def5e5 pom version changed from 1.1.0 to 1.2.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100811 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-21 09:59:44 +00:00
Loredana Liccardo 326fb961c9 bug fixed for the ThreadDataLoader. ThreadExecutionFinished variable set to true if an exception occurs and Throwable exception managed in catch statement.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100807 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-21 08:29:45 +00:00
Loredana Liccardo cc80af9d93 For the functionality of TablesList the "canc" button of the window that displays the tables list has been removed and has been added icon at the top of the window (as well as in submitQuery and Samplings dialogs. In addition, on top of the window has been also removed icon that minimizes window and has been added icon that maximizes the window.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100753 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-16 10:49:08 +00:00
Loredana Liccardo 34c2991a37 refreshDataTree method modified in class GWTdbManagerServiceImpl because if an element is a schema or a db mysql the tables list are loaded and no request is sent to a thread.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100667 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-14 10:57:24 +00:00
Loredana Liccardo 3c28bda521 ConstantsPortlet class was moved from package client.utils in package shared
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100647 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-13 14:34:03 +00:00
Loredana Liccardo c141548ceb - constants listResources, resource, database, schema added in class ConstantsPortlet
- logger debug added in class GWTdbManagerServiceImpl.
- classes loadingTreeFinishedEvent, LoadingTreeFinishedEventHandler, RefreshDataFinishedEvent, RefreshDataFinishedEventHandler deleted

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100621 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-10 16:38:39 +00:00
Loredana Liccardo 9b569d41a3 - refresh on data improved in the tree panel in order to implement the cascade refresh using a thread (refreshDataTree method modified). queue mechanism added to make asynchronous the communication with the ThreadDataLoader. class GWTdbManagerSErviceImpl modified.
- The classes as GxtBorder, GxtTree, GxtToolbar has been modified to manage events "loadingTreeFinishedEvent and RefreshDataFinishedEvent" related to the refreshData button but their code has been commented because not useful. 

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100602 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-10 10:53:26 +00:00
Loredana Liccardo 4a2a2f2cc3 code cleaned up removing commented lines (modifications on code) in class GWTdbManagerServiceImpl
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100483 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-07 13:20:16 +00:00
Loredana Liccardo 92e90ae3f2 - batch processing (thread) added to recover all dat in the tree and the tables list.
- data cached adding in a key the scope whithin a user uses the portlet to ensure data diversity


git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100474 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-07 09:42:14 +00:00
Loredana Liccardo 61e265a734 - bug fixed in servlet regarding the refresh of the submitQuery cached data.
- algorithm ID defined in ConstantsPOrtlet class and used in servlet

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100367 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-02 12:53:13 +00:00
Loredana Liccardo 4a5a0b127d code cleaned up removing commented lines in class GxtBorderLayoutPanel and GxtTreePanel
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100347 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-02 10:36:08 +00:00
Loredana Liccardo bce15a42e5 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@100345 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-02 10:27:08 +00:00
Loredana Liccardo 25f9d79b97 name of the cache changed from employeeCache to DBCache.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100343 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-02 10:00:58 +00:00
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 f99822d5b4 bug fixed and related to the submitQuery. If the field query is empty and the ok button is clicked and disabled then the ok button is enabled after the message box is displayed.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100179 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-24 10:05: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 e3d7a79504 statement commented in loadTables method of GxtBorderLayoutPanel
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100101 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-22 13:30:18 +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 d9735e3f44 added the query "select * table_name limit 10" in the dialog submitQuery
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@100017 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-18 12:10:36 +00:00
Loredana Liccardo 1278e1d456 class WsUtil deleted
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@99990 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-17 14:43:52 +00:00