This commit is contained in:
Massimiliano Assante 2016-06-30 13:59:06 +00:00
parent e677d80854
commit baf2d1fb3e
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,7 @@
<dependency>
<groupId>org.gcube.applicationsupportlayer</groupId>
<artifactId>aslvre</artifactId>
<version>[5.2.0-SNAPSHOT,)</version>
<version>[6.9.0-SNAPSHOT,)</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -34,6 +34,7 @@ import org.gcube.application.framework.core.session.SessionManager;
import org.gcube.application.framework.vremanagement.vremanagement.impl.VREGeneratorEvo;
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.home.HomeLibrary;
import org.gcube.common.homelibrary.home.exceptions.InternalErrorException;
@ -750,7 +751,7 @@ public class VREDeployerServiceImpl extends RemoteServiceServlet implements Vre
body+=".\n\nThis group has been deployed successfully and is already available for you on this portal. Please, check your list.";
String messageId = workspace.getWorkspaceMessageManager().sendMessageToPortalLogins(subject, body, new ArrayList<String>(), toSend);
NotificationsManager nnm = new ApplicationNotificationsManager(
getThreadLocalRequest(),
new SocialNetworkingSite(getThreadLocalRequest()),
getASLSession().getScope(),
new SocialNetworkingUser(getASLSession().getUsername(), getASLSession().getUserEmailAddress(), getASLSession().getUserFullName(), "")
);