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:
parent
07814af5eb
commit
a743c5068e
|
@ -22,7 +22,7 @@
|
|||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</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>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
eclipse.preferences.version=1
|
||||
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.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -204,7 +204,7 @@
|
|||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Home Library -->
|
||||
<!-- Home Library
|
||||
<dependency>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>home-library</artifactId>
|
||||
|
@ -221,7 +221,7 @@
|
|||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>home-library-model</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependency> -->
|
||||
|
||||
<!-- Service Client -->
|
||||
<dependency>
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
package org.gcube.portlets.user.td.gwtservice.server.social;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.gcube.applicationsupportlayer.social.ApplicationNotificationsManager;
|
||||
import org.gcube.applicationsupportlayer.social.NotificationsManager;
|
||||
import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingSite;
|
||||
import org.gcube.applicationsupportlayer.social.shared.SocialNetworkingUser;
|
||||
import org.gcube.common.homelibrary.util.WorkspaceUtil;
|
||||
import org.gcube.portal.databook.shared.NotificationType;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.util.ServiceCredentials;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.share.Contacts;
|
||||
|
@ -122,7 +119,7 @@ public class TDMNotifications extends Thread {
|
|||
|
||||
for (Contacts contact : shareTabularResource.getContacts()) {
|
||||
if (contact.isGroup()) {
|
||||
try {
|
||||
/*try {
|
||||
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
|
||||
for (String member : members) {
|
||||
try {
|
||||
|
@ -143,7 +140,7 @@ public class TDMNotifications extends Thread {
|
|||
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
|
||||
+ e.getLocalizedMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}*/
|
||||
|
||||
} else {
|
||||
try {
|
||||
|
@ -169,7 +166,7 @@ public class TDMNotifications extends Thread {
|
|||
for (Contacts contact : shareRule.getContacts()) {
|
||||
if (contact.isGroup()) {
|
||||
|
||||
try {
|
||||
/*try {
|
||||
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
|
||||
for (String member : members) {
|
||||
try {
|
||||
|
@ -189,7 +186,7 @@ public class TDMNotifications extends Thread {
|
|||
logger.error("Error in the notification(No members found for group " + contact.getLogin() + "): "
|
||||
+ e.getLocalizedMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}*/
|
||||
|
||||
} else {
|
||||
try {
|
||||
|
@ -214,7 +211,7 @@ public class TDMNotifications extends Thread {
|
|||
|
||||
for (Contacts contact : shareTemplate.getContacts()) {
|
||||
if (contact.isGroup()) {
|
||||
|
||||
/*
|
||||
try {
|
||||
List<String> members = WorkspaceUtil.getMembersByGroup(contact.getLogin());
|
||||
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() + "): "
|
||||
+ e.getLocalizedMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}*/
|
||||
|
||||
} else {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue