ref #13226: TDM - Update to StorageHUB

https://support.d4science.org/issues/#13226

Updated to StorageHub



git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@181597 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2019-09-09 16:12:30 +00:00
parent 07814af5eb
commit a743c5068e
4 changed files with 10 additions and 13 deletions

View File

@ -22,7 +22,7 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>

View File

@ -1,6 +1,6 @@
eclipse.preferences.version=1 eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error

View File

@ -204,7 +204,7 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Home Library --> <!-- Home Library
<dependency> <dependency>
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>home-library</artifactId> <artifactId>home-library</artifactId>
@ -221,7 +221,7 @@
<groupId>org.gcube.common</groupId> <groupId>org.gcube.common</groupId>
<artifactId>home-library-model</artifactId> <artifactId>home-library-model</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency> -->
<!-- Service Client --> <!-- Service Client -->
<dependency> <dependency>

View File

@ -1,14 +1,11 @@
package org.gcube.portlets.user.td.gwtservice.server.social; package org.gcube.portlets.user.td.gwtservice.server.social;
import java.util.List;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager; import org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager;
import org.gcube.applicationsupportlayer.social.NotificationsManager; import org.gcube.applicationsupportlayer.social.NotificationsManager;
import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingSite; import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingSite;
import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingUser; import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingUser;
import org.gcube.common.homelibrary.util.WorkspaceUtil;
import org.gcube.portal.databook.shared.NotificationType; import org.gcube.portal.databook.shared.NotificationType;
import org.gcube.portlets.user.td.gwtservice.server.util.ServiceCredentials; import org.gcube.portlets.user.td.gwtservice.server.util.ServiceCredentials;
import org.gcube.portlets.user.td.gwtservice.shared.share.Contacts; import org.gcube.portlets.user.td.gwtservice.shared.share.Contacts;
@ -122,7 +119,7 @@ public class TDMNotifications extends Thread {
for (Contacts contact : shareTabularResource.getContacts()) { for (Contacts contact : shareTabularResource.getContacts()) {
if (contact.isGroup()) { if (contact.isGroup()) {
try { /*try {
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin()); List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
for (String member : members) { for (String member : members) {
try { try {
@ -143,7 +140,7 @@ public class TDMNotifications extends Thread {
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): " logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
+ e.getLocalizedMessage()); + e.getLocalizedMessage());
e.printStackTrace(); e.printStackTrace();
} }*/
} else { } else {
try { try {
@ -169,7 +166,7 @@ public class TDMNotifications extends Thread {
for (Contacts contact : shareRule.getContacts()) { for (Contacts contact : shareRule.getContacts()) {
if (contact.isGroup()) { if (contact.isGroup()) {
try { /*try {
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin()); List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
for (String member : members) { for (String member : members) {
try { try {
@ -189,7 +186,7 @@ public class TDMNotifications extends Thread {
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): " logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
+ e.getLocalizedMessage()); + e.getLocalizedMessage());
e.printStackTrace(); e.printStackTrace();
} }*/
} else { } else {
try { try {
@ -214,7 +211,7 @@ public class TDMNotifications extends Thread {
for (Contacts contact : shareTemplate.getContacts()) { for (Contacts contact : shareTemplate.getContacts()) {
if (contact.isGroup()) { if (contact.isGroup()) {
/*
try { try {
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin()); List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
for (String member : members) { for (String member : members) {
@ -235,7 +232,7 @@ public class TDMNotifications extends Thread {
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): " logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
+ e.getLocalizedMessage()); + e.getLocalizedMessage());
e.printStackTrace(); e.printStackTrace();
} }*/
} else { } else {
try { try {