Commit Graph

153 Commits

Author SHA1 Message Date
Giancarlo Panichi 0f83e8718f Fixed project configuration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@148430 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-10 09:29:57 +00:00
Giancarlo Panichi 9282076a45 ref 8432:TDM - DatabasesManager - Support Java 8 compatibility
https://support.d4science.org/issues/8432

Updated to support Java 8 compatibility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@148417 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-09 16:30:48 +00:00
Giancarlo Panichi c2c5928d31 ref 8432:TDM - DatabasesManager - Support Java 8 compatibility
https://support.d4science.org/issues/8432

Updated to support Java 8 compatibility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@148398 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-09 12:52:09 +00:00
Giancarlo Panichi 96a00cbb66 ref 8432:TDM - DatabasesManager - Support Java 8 compatibility
https://support.d4science.org/issues/8432

Updated to support Java 8 compatibility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@148378 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-09 09:40:05 +00:00
Giancarlo Panichi e1e322c6c6 ref 8432:TDM - DatabasesManager - Support Java 8 compatibility
https://support.d4science.org/issues/8432

Updated to support Java 8 compatibility

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@148376 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-09 09:11:08 +00:00
Giancarlo Panichi 87ca61215a Fixed dependency
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@144688 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-06 13:24:13 +00:00
Giancarlo Panichi d166f16b1f Fixed dependency
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@144687 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-06 13:20:00 +00:00
Giancarlo Panichi 34ac8cc0a8 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@134870 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-11-25 16:48:14 +00:00
Giancarlo Panichi 549da5b97b Updated Boolean support
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@134521 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-22 13:36:43 +00:00
Giancarlo Panichi 8edb54d341 Fixed Algorithms to support DataMiner
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@133940 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-07 17:45:12 +00:00
Giancarlo Panichi de3eca7c72 Updated algorithms to DataMiner service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@133902 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-04 12:11:35 +00:00
Giancarlo Panichi f2757b816d Updated to DataMiner service
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@133853 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 11:31:43 +00:00
Giancarlo Panichi a00fc87c91 Minor Updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@133153 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 15:39:33 +00:00
Giancarlo Panichi 71209d2293 Updated session-checker dependency
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@133128 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 13:08:04 +00:00
Giancarlo Panichi 377cc7412e Updated session-checker dependency
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@133124 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 12:51:26 +00:00
Giancarlo Panichi 71c1058961 Fix to be compliant with the changes on the portal theme
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@130159 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-08 08:50:10 +00:00
Giancarlo Panichi 2c2d3a07da Updated to Liferay 6.2
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@129670 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-30 09:38:53 +00:00
Giancarlo Panichi f2d02b8ef3 Updated to Liferay 6.2
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@129657 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 15:58:50 +00:00
Giancarlo Panichi 0665554cd5 Updated to Liferay 6.2
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@129655 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 15:17:10 +00:00
Loredana Liccardo 4c87aec060 changelog file modified for release 3.5.1
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101946 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-05 15:58:58 +00:00
Loredana Liccardo 2ffd9eb031 test code commented in GWTdbManagerServiceImpl class
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101940 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-05 15:08:01 +00:00
Loredana Liccardo ba666c807c - total number rows added in the header of the result related to the submit Query operation: classes ComputationOutput,SubmitQueryResultWithFileFromServlet,GxtBorderLayoutPanel, GWTdbManagerServiceImpl modified.
- class Result modified in order to implement IsSerializable and not Serializable
- pom file modified in order to use gwt 2.6.1 with scope compile and not use gwt from the portal bom file.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101939 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-05 15:04:06 +00:00
Loredana Liccardo 7ed18bcc2d code commented removed in GWTdbManagerServiceImpl (methods mainly modified are LoadTables,initVariables,submitQuery,sample,smartSample,randomSample,loadSubmitResult), GxtBorderLayoutPanel classes.
Test class added to test the Uri Resolver.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101839 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-02 16:23:02 +00:00
Loredana Liccardo 4102e20eea dependencies modified in pom file:
- dependency xalan modified in provided in order to use the lib available in the portal.
- dependency jakarta-regexp added in order to not use the package regexp in xalan
- removed an aslcore dependency because duplicated.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101834 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-12-02 15:35:11 +00:00
Loredana Liccardo d1524d1a24 samplings and submitQuery changed in order to return as a result a map with column values truncated to 255 characters and a file with the whole columns values in order to manage so to manage big data properly and the conversion of a geometry data type in a multipolygon representation applying the function st_astext().
GWTdbManagerServiceImpl, GxtBorderLayoutPanel and SamplingResultWithFileFromServlet classes changed in order to manage the truncated map and the file recovered from the statistical through a smp url and converted in a http url.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101765 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-28 11:51:32 +00:00
Loredana Liccardo d68735e2ca - parameter eternal changed from false to true value in such a way data never expire.Data will be always in cache.
- method insertDataIntoCache changed in order to add a check on key. If cache contains it then the related element is added in cache.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101683 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-24 09:52:01 +00:00
Loredana Liccardo 359e7a83c6 method insertDataintoCache modified adding the check on the presence of the key (associated to a data) in a cache.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101677 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-21 15:51:40 +00:00
Loredana Liccardo 0f467e02b7 bug fixed for ehcache. The operation of the cache-diskstore pair seems not operate in a correct way when retrieving a big object composed of many data. When a big object is retrieved, some data, previously stored, have been corrupted.
In order to solve the problem, a safe procedure has been implemented that, once recovered the data from cache, checks if the data are corrupt. If yes, they need to be recovered again

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet@101672 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-11-21 11:31:56 +00:00
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