> getGenericResourceTreeMagnagerPlugins() throws Exception {
- return ISClientRequester.getGenericResourceTreeManagerPlugins(ScopeManager.getScope(this.getCurrentStatus().getCurrentScope()));
- }
private CurrentStatus getCurrentStatus() {
return StatusHandler.getStatus(this.getHttpSession());
diff --git a/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/Configuration.java b/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/Configuration.java
deleted file mode 100644
index bdfcc2c..0000000
--- a/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/Configuration.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/****************************************************************************
- * This software is part of the gCube Project.
- * Site: http://www.gcube-system.org/
- ****************************************************************************
- * 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.
- ****************************************************************************
- * Filename: Configuration.java
- ****************************************************************************
- * @author Daniele Strollo
- ***************************************************************************/
-
-package org.gcube.portlets.admin.resourcemanagement.shared;
-
-/**
- * The client side UI configuration.
- * @author Daniele Strollo (ISTI-CNR)
- */
-public class Configuration {
- // Delay of popups in mills
- public static final int popupDelay = 4000;
- // Configuration parameters that can be changed through options
- // menu.
- public static boolean openProfileOnLoad = false;
- public static boolean allowMultipleProfiles = false;
- //public static String scopeFile = null;
-
- public static final String SUPER_USER_CODE = "gcube2010";
- /*
- * Forces to use flash based charts also in portal mode.
- * Due to conflicts in the portal with the flash based
- * charts this functionality usually is avoided.
- */
- public static final boolean DISABLE_FLASH = false;
-}
diff --git a/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/exceptions/InvalidPermissionsException.java b/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/exceptions/InvalidPermissionsException.java
deleted file mode 100644
index d1e04e2..0000000
--- a/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/exceptions/InvalidPermissionsException.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
- * This software is part of the gCube Project.
- * Site: http://www.gcube-system.org/
- ****************************************************************************
- * 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.
- ****************************************************************************
- * Filename: InvalidPermissionsException.java
- ****************************************************************************
- * @author Daniele Strollo
- ***************************************************************************/
-
-package org.gcube.portlets.admin.resourcemanagement.shared.exceptions;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-/**
- * @author Daniele Strollo (ISTI-CNR)
- *
- */
-public class InvalidPermissionsException extends Exception implements IsSerializable {
- private static final long serialVersionUID = 1L;
-
- public InvalidPermissionsException() {
- super();
- }
-
- public InvalidPermissionsException(String message, Throwable cause) {
- super(message, cause);
- }
-
- public InvalidPermissionsException(String message) {
- super(message);
- }
-
- public InvalidPermissionsException(Throwable cause) {
- super(cause);
- }
-
-}
diff --git a/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/utils/DelayedOperation.java b/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/utils/DelayedOperation.java
deleted file mode 100644
index b4712d4..0000000
--- a/src/main/java/org/gcube/portlets/admin/resourcemanagement/shared/utils/DelayedOperation.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
- * This software is part of the gCube Project.
- * Site: http://www.gcube-system.org/
- ****************************************************************************
- * 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.
- ****************************************************************************
- * Filename: DelayedOperation.java
- ****************************************************************************
- * @author Daniele Strollo
- ***************************************************************************/
-
-package org.gcube.portlets.admin.resourcemanagement.shared.utils;
-
-import com.google.gwt.user.client.Timer;
-
-/**
- * Performs a delayed action on client side.
- * Usage:
- *
- * new DelayedOperation() {
- * // @Override
- * public void doJob() {
- * // Here the code...
- * }
- * }.start(5000); // the operation will start after 5 secs.
- *
- * @author Daniele Strollo (ISTI-CNR)
- */
-public abstract class DelayedOperation {
- public final void start(final int delayMills) {
- Timer t = new Timer() {
- @Override
- public void run() {
- doJob();
- }
- };
- t.schedule(delayMills);
- }
-
- public final void loop(final int delayMills) {
- Timer t = new Timer() {
- @Override
- public void run() {
- doJob();
- this.schedule(delayMills);
- }
- };
- t.schedule(delayMills);
- }
-
- public abstract void doJob();
-}
diff --git a/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml b/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml
index 71a01a9..b2e8435 100644
--- a/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml
+++ b/src/main/resources/org/gcube/portlets/admin/resourcemanagement/ResourceManagementPortlet.gwt.xml
@@ -2,10 +2,10 @@
-
-
-
+
+
+
@@ -15,9 +15,13 @@
name='org.gcube.portlets.admin.software_upload_wizard.SoftwareUploadWizard' />
-
+
+
+
+
+
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 18ce158..8eb050a 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -51,6 +51,18 @@
/resourcemanagementportlet/ishealth
+
+
+ arServlet
+ org.gcube.portlets.admin.server.ARServiceImpl
+
+
+
+ arServlet
+ /resourcemanagementportlet/activeservice
+
+
+
jUnitHostImpl
com.google.gwt.junit.server.JUnitHostImpl