diff --git a/.classpath b/.classpath
index 59430ab..e0a8c14 100644
--- a/.classpath
+++ b/.classpath
@@ -1,12 +1,12 @@
-
+
-
+
@@ -14,27 +14,16 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
diff --git a/.settings/com.google.gdt.eclipse.core.prefs b/.settings/com.google.gdt.eclipse.core.prefs
index f2e1bef..da89645 100644
--- a/.settings/com.google.gdt.eclipse.core.prefs
+++ b/.settings/com.google.gdt.eclipse.core.prefs
@@ -1,5 +1,5 @@
eclipse.preferences.version=1
jarsExcludedFromWebInfLib=
-lastWarOutDir=/home/loredana/workspace/databases-manager-portlet/target/databases-manager-portlet-1.0.0-SNAPSHOT
+lastWarOutDir=/home/loredana/workspace/databases-manager-portlet/target/databases-manager-portlet-1.4.0-SNAPSHOT
warSrcDir=src/main/webapp
warSrcDirIsOutput=false
diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml
index 4045d87..f801044 100644
--- a/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/distro/CHANGELOG b/distro/CHANGELOG
deleted file mode 100644
index 7df135f..0000000
--- a/distro/CHANGELOG
+++ /dev/null
@@ -1,2 +0,0 @@
-v. 1.0.0 (30-06-2014)
- * First release
\ No newline at end of file
diff --git a/distro/INSTALL b/distro/INSTALL
deleted file mode 100644
index e69de29..0000000
diff --git a/distro/LICENSE b/distro/LICENSE
index cc51139..2d9616a 100644
--- a/distro/LICENSE
+++ b/distro/LICENSE
@@ -1,6 +1 @@
-gCube System - License
-------------------------------------------------------------
-
-The gCube/gCore software is licensed as Free Open Source software conveying to the EUPL (http://ec.europa.eu/idabc/eupl).
-The software and documentation is provided by its authors/distributors "as is" and no expressed or
-implied warranty is given for its use, quality or fitness for a particular case.
\ No newline at end of file
+${gcube.license}
\ No newline at end of file
diff --git a/distro/MAINTAINERS b/distro/MAINTAINERS
deleted file mode 100644
index 9f65049..0000000
--- a/distro/MAINTAINERS
+++ /dev/null
@@ -1 +0,0 @@
-* Loredana Liccardo (loredana.liccardo@isti.cnr.it), CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
\ No newline at end of file
diff --git a/distro/README b/distro/README
index 2d7e27d..b4b9512 100644
--- a/distro/README
+++ b/distro/README
@@ -1,51 +1,71 @@
-The gCube System - Database Resource Manager algorithms
-------------------------------------------------------------
-
-This work is partially funded by the European Commission in the
-context of the iMarine project (www.d4science.eu), under the 1st call of FP7 IST priority.
-
+The gCube System - ${name}
+--------------------------------------------------
+
+${description}
+
+${gcube.description}
+
+${gcube.funding}
+
+
+Version
+--------------------------------------------------
+
+${version} (${buildDate})
+
+Please see the file named "changelog.xml" in this directory for the release notes.
+
+
Authors
--------
+--------------------------------------------------
-* Loredana Liccardo (loredana.liccardo@isti.cnr.it), CNR Pisa,
- Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo".
+* Loredana Liccardo (loredana.liccardo-AT-isti.cnr.it),
+ Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" CNR, Pisa IT
+* Giancarlo Panichi (giancarlo.panichi-AT-isti.cnr.it),
+ Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" CNR, Pisa IT
-Version and Release Date
-------------------------
-
-${version}
-
-Description
+
+Maintainers
-----------
-Databases Resource Manager Portlet is a portlet for databases management.
-
+* Giancarlo Panichi (giancarlo.panichi-AT-isti.cnr.it),
+ Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" CNR, Pisa IT
+
Download information
---------------------
-
-Source code is available from SVN:
-https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet
-
-Binaries can be downloaded from:
-n/a
-
-
+--------------------------------------------------
+
+Source code is available from SVN:
+ ${scm.url}
+
+Binaries can be downloaded from the gCube website:
+ ${gcube.website}
+
+
+Installation
+--------------------------------------------------
+
+Installation documentation is available on-line in the gCube Wiki:
+ https://gcube.wiki.gcube-system.org/gcube/Databases_Manager
+
+
Documentation
--------------
-For installation and using please referer to INSTALL.
-
-Documentation is also available on-line from the Projects Documentation Wiki:
-https://gcube.wiki.gcube-system.org/gcube/index.php
-
-
+--------------------------------------------------
+
+Documentation is available on-line in the gCube Wiki:
+ https://gcube.wiki.gcube-system.org/gcube/Databases_Manager
+
+
+Support
+--------------------------------------------------
+
+Bugs and support requests can be reported in the gCube issue tracking tool:
+ ${gcube.issueTracking}
+
+
Licensing
----------
-
+--------------------------------------------------
+
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
-
-
-
-
diff --git a/distro/changelog.xml b/distro/changelog.xml
index ddccdc1..dfe25b5 100644
--- a/distro/changelog.xml
+++ b/distro/changelog.xml
@@ -1,4 +1,8 @@
+
+ Updated to Liferay 6.2
+
ufor the submitQuery the file result management has been
diff --git a/distro/descriptor.xml b/distro/descriptor.xml
index 21d8c88..b468e51 100644
--- a/distro/descriptor.xml
+++ b/distro/descriptor.xml
@@ -15,9 +15,8 @@
README
LICENSE
- INSTALL
- MAINTAINERS
changelog.xml
+ profile.xml
755
true
@@ -25,18 +24,9 @@
-
- /
- true
-
-
-
+
/${artifactId}
-
-
- /${artifactId}
- true
-
+
\ No newline at end of file
diff --git a/distro/profile.xml b/distro/profile.xml
index 1b14eef..13575d1 100644
--- a/distro/profile.xml
+++ b/distro/profile.xml
@@ -1,25 +1,29 @@
-
+
Service
- Databases Resource Manager Portlet
+ ${project.description}
PortletsUser
- ${artifactId}
- 1.0.0
-
+ ${project.name}
+ 1.0.0
+
- ${artifactId}
+ ${project.description}
+ ${project.name}
${version}
- ${groupId}
- ${artifactId}
- ${version}
+ ${project.groupId}
+ ${project.artifactId}
+ ${project.version}
+ webapplication
- ${build.finalName}.war
+ ${project.build.finalName}.${project.packaging}
+
+
diff --git a/distro/svnpath.txt b/distro/svnpath.txt
deleted file mode 100644
index 166dedb..0000000
--- a/distro/svnpath.txt
+++ /dev/null
@@ -1 +0,0 @@
-https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index a804444..dc54e4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,237 +12,68 @@
1.0.0
-
-
-
-
org.gcube.portlets.user
databases-manager-portlet
war
- 1.3.0-SNAPSHOT
+ 1.4.0-SNAPSHOT
DatabasesResourceManagerPortlet
Databases Resource Manager Portlet
-
+
+ https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/databases-manager-portlet
+
+
+
+
+ Giancarlo Panichi
+ g.panichi@isti.cnr.it
+ CNR Pisa, Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo"
+
+ architect
+ developer
+
+
+
+ ${project.build.directory}/${project.build.finalName}
distro
+ config
+
+
+ 2.6.1
+ 3.3.2
+ 3.1.1
+ 2.6.1
+
+ ${env.KEYS}
+
UTF-8
UTF-8
-
- 2.6.1
- 2.6.1
-
-
- ${project.build.directory}/${project.build.finalName}
-
-
-
-
-
-
-
-
+
- org.gcube.data.analysis
- statistical-manager-cl
-
- [1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)
-
-
-
- org.gcube.core
- common-fw-clients
-
-
-
-
-
-
-
-
-
-
- org.gcube.contentmanagement
- storage-manager-wrapper
-
-
-
-
- org.gcube.contentmanagement
- storage-manager-core
-
-
-
-
-
-
-
-
- xalan
- xalan
- 2.7.1
-
+ com.google.gwt
+ gwt-user
+ ${gwtVersion}
provided
-
- jakarta-regexp
- jakarta-regexp
- 1.4
- compile
-
-
-
-
-
-
-
-
- javax.portlet
- portlet-api
-
-
-
- org.gcube.portal
- custom-portal-handler
-
-
-
- org.gcube.core
- common-scope
-
-
-
-
- org.gcube.core
- common-scope-maps
-
-
-
-
-
- org.gcube.applicationsupportlayer
- aslcore
- provided
-
-
-
- org.gcube.portlets.user
- gcube-widgets
-
-
-
- org.gcube.portlets.widgets
- session-checker
- [0.0.0-SNAPSHOT,1.0.0-SNAPSHOT)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- net.sf.ehcache
- ehcache
- 2.8.0
- provided
-
-
-
- org.gcube.portlets.user
- uri-resolver-manager
- [1.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- log4j
- log4j
- compile
-
-
com.google.gwt
gwt-servlet
${gwtVersion}
-
-
+
- com.google.gwt
- gwt-user
- ${gwtVersion}
-
-
-
-
- junit
- junit
- 4.7
- test
+ com.sencha.gxt
+ gxt2.2.5-gwt2.X
+ ${gxt2Version}
+
+
+
+
+
+
+
+
+ javax.portlet
+ portlet-api
+ provided
-
-
-
-
-
+
+
+
+ org.gcube.core
+ common-scope-maps
+ compile
+
- com.sencha.gxt
- gxt2.2.5-gwt2.X
- ${gxt2Version}
+ org.gcube.portal
+ custom-portal-handler
+
+ org.gcube.applicationsupportlayer
+ aslcore
+
+
+
+ org.gcube.dvos
+ usermanagement-core
+ provided
+
+
+
+
+
+ org.gcube.common
+ common-authorization
+ provided
+
+
+
+ org.gcube.common
+ authorization-client
+ provided
+
+
+
+
+ org.gcube.portlets.user
+ gcube-widgets
+ compile
+
+
+
+
+ org.gcube.portlets.widgets
+ session-checker
+ [0.2.0-SNAPSHOT,1.0.0-SNAPSHOT)
+
+
+
+
+ org.gcube.contentmanagement
+ storage-manager-core
+ provided
+
+
+
+ org.gcube.contentmanagement
+ storage-manager-wrapper
+ provided
+
+
+
+
+
+ org.gcube.data.analysis
+ statistical-manager-cl
+ [1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)
+
+
+
+ org.gcube.core
+ common-fw-clients
+
+
+
+
+
+ jakarta-regexp
+ jakarta-regexp
+ 1.4
+ compile
+
+
+
+ net.sf.ehcache
+ ehcache
+ 2.8.0
+ provided
+
+
+
+
+ org.gcube.portlets.user
+ uri-resolver-manager
+ [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)
+
+
+
+
+
+ org.slf4j
+ slf4j-api
+ provided
+
+
+
+ org.slf4j
+ slf4j-log4j12
+ provided
+
+
+
+
+
+ junit
+ junit
+ 4.8.1
+ test
+
+
@@ -290,12 +248,20 @@
-
+
+
${webappDirectory}/WEB-INF/classes
+
+
+ src/main/resources
+
+ **/*.*
+
+
+
-
org.codehaus.mojo
@@ -305,15 +271,16 @@
compile
+ test
-
DatabasesManager.html
${webappDirectory}
-
+ org.gcube.portlets.user.databasesmanager.DatabasesManager
+
@@ -325,73 +292,58 @@
compile
-
- exploded
-
+
${webappDirectory}
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
- 1.7
+ ${project.build.finalName}
+
+
+
+
org.apache.maven.plugins
- maven-resources-plugin
- 2.5
+ maven-surefire-plugin
+ 2.16
+
+ false
+
+
+
+ org.apache.maven.surefire
+ surefire-junit47
+ 2.16
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ ${distroDirectory}/descriptor.xml
+
+
- copy-profile
+ servicearchive
install
- copy-resources
+ single
-
- target
-
-
- ${distroDirectory}
- true
-
- profile.xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/src/main/java/log4j.properties b/src/main/java/log4j.properties
deleted file mode 100644
index 5394c12..0000000
--- a/src/main/java/log4j.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-# A default log4j configuration for log4j users.
-#
-# To use this configuration, deploy it into your application's WEB-INF/classes
-# directory. You are also encouraged to edit it as you like.
-
-log4j.rootLogger=ERROR, CA
-
-log4j.logger.org.gcube.portlets.user.databasesmanager=TRACE
-
-log4j.appender.CA=org.apache.log4j.ConsoleAppender
-log4j.appender.CA.layout=org.apache.log4j.PatternLayout
-log4j.appender.CA.layout.ConversionPattern=%-5p %d %c - %m%n
\ No newline at end of file
diff --git a/src/main/java/org/gcube/portlets/user/databasesmanager/client/GWTdbManagerService.java b/src/main/java/org/gcube/portlets/user/databasesmanager/client/GWTdbManagerService.java
index f9bb19b..e7e3073 100644
--- a/src/main/java/org/gcube/portlets/user/databasesmanager/client/GWTdbManagerService.java
+++ b/src/main/java/org/gcube/portlets/user/databasesmanager/client/GWTdbManagerService.java
@@ -9,7 +9,6 @@ import org.gcube.portlets.user.databasesmanager.client.datamodel.Result;
import org.gcube.portlets.user.databasesmanager.client.datamodel.Row;
import org.gcube.portlets.user.databasesmanager.client.datamodel.SamplingResultWithFileFromServlet;
import org.gcube.portlets.user.databasesmanager.client.datamodel.SubmitQueryResultWithFileFromServlet;
-import org.gcube.portlets.user.databasesmanager.shared.SessionExpiredException;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
diff --git a/src/main/java/org/gcube/portlets/user/databasesmanager/client/datamodel/Result.java b/src/main/java/org/gcube/portlets/user/databasesmanager/client/datamodel/Result.java
index d8f264f..9f412dd 100644
--- a/src/main/java/org/gcube/portlets/user/databasesmanager/client/datamodel/Result.java
+++ b/src/main/java/org/gcube/portlets/user/databasesmanager/client/datamodel/Result.java
@@ -1,7 +1,5 @@
package org.gcube.portlets.user.databasesmanager.client.datamodel;
-import java.io.Serializable;
-
import com.extjs.gxt.ui.client.data.BaseModelData;
import com.google.gwt.user.client.rpc.IsSerializable;
diff --git a/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java b/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java
index 767a922..7aae2da 100644
--- a/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java
+++ b/src/main/java/org/gcube/portlets/user/databasesmanager/client/panels/GxtBorderLayoutPanel.java
@@ -10,8 +10,8 @@ import java.util.logging.Logger;
import org.gcube.portlets.user.databasesmanager.client.GWTdbManagerServiceAsync;
import org.gcube.portlets.user.databasesmanager.client.datamodel.FileModel;
import org.gcube.portlets.user.databasesmanager.client.datamodel.Result;
-import org.gcube.portlets.user.databasesmanager.client.datamodel.SamplingResultWithFileFromServlet;
import org.gcube.portlets.user.databasesmanager.client.datamodel.Row;
+import org.gcube.portlets.user.databasesmanager.client.datamodel.SamplingResultWithFileFromServlet;
import org.gcube.portlets.user.databasesmanager.client.datamodel.SubmitQueryData;
import org.gcube.portlets.user.databasesmanager.client.datamodel.SubmitQueryResultWithFileFromServlet;
import org.gcube.portlets.user.databasesmanager.client.events.LoadTablesEvent;
@@ -39,33 +39,6 @@ import com.extjs.gxt.ui.client.Style;
import com.extjs.gxt.ui.client.Style.LayoutRegion;
import com.extjs.gxt.ui.client.Style.Scroll;
import com.extjs.gxt.ui.client.Style.SelectionMode;
-import com.extjs.gxt.ui.client.store.ListStore;
-import com.extjs.gxt.ui.client.util.Margins;
-import com.extjs.gxt.ui.client.widget.ContentPanel;
-import com.extjs.gxt.ui.client.widget.Dialog;
-import com.extjs.gxt.ui.client.widget.LayoutContainer;
-import com.extjs.gxt.ui.client.widget.MessageBox;
-import com.extjs.gxt.ui.client.widget.button.Button;
-import com.extjs.gxt.ui.client.widget.form.TextArea;
-import com.extjs.gxt.ui.client.widget.form.TextField;
-import com.extjs.gxt.ui.client.widget.grid.CellEditor;
-import com.extjs.gxt.ui.client.widget.grid.ColumnConfig;
-import com.extjs.gxt.ui.client.widget.grid.ColumnModel;
-import com.extjs.gxt.ui.client.widget.grid.EditorGrid;
-import com.extjs.gxt.ui.client.widget.grid.EditorGrid.ClicksToEdit;
-import com.extjs.gxt.ui.client.widget.grid.Grid;
-import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
-import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
-import com.extjs.gxt.ui.client.widget.layout.FitLayout;
-import com.extjs.gxt.ui.client.widget.layout.RowData;
-import com.extjs.gxt.ui.client.widget.layout.RowLayout;
-import com.extjs.gxt.ui.client.widget.toolbar.PagingToolBar;
-import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
-import com.google.gwt.event.dom.client.KeyCodes;
-import com.google.gwt.event.shared.HandlerManager;
-import com.google.gwt.user.client.Window;
-import com.google.gwt.user.client.rpc.AsyncCallback;
-import com.google.gwt.user.client.ui.HTML;
import com.extjs.gxt.ui.client.data.BasePagingLoadConfig;
import com.extjs.gxt.ui.client.data.BasePagingLoader;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
@@ -83,6 +56,30 @@ import com.extjs.gxt.ui.client.event.SelectionChangedEvent;
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
import com.extjs.gxt.ui.client.event.SelectionListener;
import com.extjs.gxt.ui.client.event.WindowEvent;
+import com.extjs.gxt.ui.client.store.ListStore;
+import com.extjs.gxt.ui.client.util.Margins;
+import com.extjs.gxt.ui.client.widget.ContentPanel;
+import com.extjs.gxt.ui.client.widget.Dialog;
+import com.extjs.gxt.ui.client.widget.LayoutContainer;
+import com.extjs.gxt.ui.client.widget.MessageBox;
+import com.extjs.gxt.ui.client.widget.button.Button;
+import com.extjs.gxt.ui.client.widget.form.TextField;
+import com.extjs.gxt.ui.client.widget.grid.ColumnConfig;
+import com.extjs.gxt.ui.client.widget.grid.ColumnModel;
+import com.extjs.gxt.ui.client.widget.grid.EditorGrid;
+import com.extjs.gxt.ui.client.widget.grid.EditorGrid.ClicksToEdit;
+import com.extjs.gxt.ui.client.widget.grid.Grid;
+import com.extjs.gxt.ui.client.widget.layout.BorderLayout;
+import com.extjs.gxt.ui.client.widget.layout.BorderLayoutData;
+import com.extjs.gxt.ui.client.widget.layout.FitLayout;
+import com.extjs.gxt.ui.client.widget.layout.RowData;
+import com.extjs.gxt.ui.client.widget.layout.RowLayout;
+import com.extjs.gxt.ui.client.widget.toolbar.PagingToolBar;
+import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
+import com.google.gwt.event.dom.client.KeyCodes;
+import com.google.gwt.event.shared.HandlerManager;
+import com.google.gwt.user.client.Window;
+import com.google.gwt.user.client.rpc.AsyncCallback;
//class that represents the container of all components
public class GxtBorderLayoutPanel extends ContentPanel {
diff --git a/src/main/webapp/DatabasesManager.css b/src/main/webapp/DatabasesManager.css
index 7aca7ac..6896010 100644
--- a/src/main/webapp/DatabasesManager.css
+++ b/src/main/webapp/DatabasesManager.css
@@ -1,3 +1,44 @@
+/* FIX FOR Portal Theme */
+.aui body {
+ color: #000;
+ font-weight: normal !important;
+}
+
+.aui input[type="text"], .aui select, .aui textarea, .aui .uneditable-input
+ {
+ margin-bottom: 1px !important;
+ padding: 0px !important;
+}
+
+.aui input[type="radio"], .aui input[type="checkbox"] {
+ margin: 0px !important;
+ width: 10px !important;
+}
+
+.aui input, .aui textarea, .aui .uneditable-input {
+ width: 100% !important;
+}
+
+.aui p {
+ margin: 0px !important;
+}
+
+.aui img {
+ vertical-align: baseline !important;
+}
+
+.aui fieldset {
+ padding: 9px !important;
+ /* margin: 0; */
+ border: 1px solid rgb(181, 184, 200) !important;
+}
+
+.aui legend {
+ margin-bottom: 0px !important;
+ width: auto !important;
+ border-bottom: none !important;
+}
+
/** Add css rules here for your application. */
diff --git a/src/main/webapp/WEB-INF/liferay-display.xml b/src/main/webapp/WEB-INF/liferay-display.xml
index 2047684..8f28c27 100644
--- a/src/main/webapp/WEB-INF/liferay-display.xml
+++ b/src/main/webapp/WEB-INF/liferay-display.xml
@@ -1,6 +1,3 @@
-
-
-
diff --git a/src/main/webapp/WEB-INF/liferay-portlet.xml b/src/main/webapp/WEB-INF/liferay-portlet.xml
index ca70ac3..3ccf21a 100644
--- a/src/main/webapp/WEB-INF/liferay-portlet.xml
+++ b/src/main/webapp/WEB-INF/liferay-portlet.xml
@@ -1,6 +1,7 @@
-
-
+
+
DatabasesManager
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index bd87f43..b4890fc 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -1,9 +1,8 @@
-
-
-
+
diff --git a/src/test/java/org/gcube/portlets/user/databasesmanager/client/GwtTestDatabasesManager.java b/src/test/java/org/gcube/portlets/user/databasesmanager/client/GwtTestDatabasesManager.java
deleted file mode 100644
index 72ff8b0..0000000
--- a/src/test/java/org/gcube/portlets/user/databasesmanager/client/GwtTestDatabasesManager.java
+++ /dev/null
@@ -1,75 +0,0 @@
-//package org.gcube.portlets.user.databasesmanager.client;
-//
-//import org.gcube.portlets.user.databasesmanager.shared.FieldVerifier;
-//import com.google.gwt.core.client.GWT;
-//import com.google.gwt.junit.client.GWTTestCase;
-//import com.google.gwt.user.client.rpc.AsyncCallback;
-//import com.google.gwt.user.client.rpc.ServiceDefTarget;
-//
-///**
-// * GWT JUnit integration tests must extend GWTTestCase.
-// * Using "GwtTest*"
naming pattern exclude them from running with
-// * surefire during the test phase.
-// *
-// * If you run the tests using the Maven command line, you will have to
-// * navigate with your browser to a specific url given by Maven.
-// * See http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html
-// * for details.
-// */
-//public class GwtTestDatabasesManager extends GWTTestCase {
-//
-// /**
-// * Must refer to a valid module that sources this class.
-// */
-// public String getModuleName() {
-// return "org.gcube.portlets.user.databasesmanager.DatabasesManagerJUnit";
-// }
-//
-// /**
-// * Tests the FieldVerifier.
-// */
-// public void testFieldVerifier() {
-// assertFalse(FieldVerifier.isValidName(null));
-// assertFalse(FieldVerifier.isValidName(""));
-// assertFalse(FieldVerifier.isValidName("a"));
-// assertFalse(FieldVerifier.isValidName("ab"));
-// assertFalse(FieldVerifier.isValidName("abc"));
-// assertTrue(FieldVerifier.isValidName("abcd"));
-// }
-//
-// /**
-// * This test will send a request to the server using the greetServer method in
-// * GreetingService and verify the response.
-// */
-// public void testGreetingService() {
-// // Create the service that we will test.
-// GreetingServiceAsync greetingService = GWT.create(GreetingService.class);
-// ServiceDefTarget target = (ServiceDefTarget) greetingService;
-// target.setServiceEntryPoint(GWT.getModuleBaseURL() + "DatabasesManager/greet");
-//
-// // Since RPC calls are asynchronous, we will need to wait for a response
-// // after this test method returns. This line tells the test runner to wait
-// // up to 10 seconds before timing out.
-// delayTestFinish(10000);
-//
-// // Send a request to the server.
-// greetingService.greetServer("GWT User", new AsyncCallback() {
-// public void onFailure(Throwable caught) {
-// // The request resulted in an unexpected error.
-// fail("Request failure: " + caught.getMessage());
-// }
-//
-// public void onSuccess(String result) {
-// // Verify that the response is correct.
-// assertTrue(result.startsWith("Hello, GWT User!"));
-//
-// // Now that we have received a response, we need to tell the test runner
-// // that the test is complete. You must call finishTest() after an
-// // asynchronous test finishes successfully, or the test will time out.
-// finishTest();
-// }
-// });
-// }
-//
-//
-//}