Compatible with social model 2.0.0

This commit is contained in:
Ahmed Salah Tawfik Ibrahim 2024-02-01 17:26:38 +01:00
parent 6ceb1d5afa
commit d5ba659d7e
7 changed files with 13 additions and 11 deletions

View File

@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [v2.4.0] - 2020-12-14 ## [v2.4.0] - 2020-12-14
- Removed the import from linked in button - Removed the import from linked in button
- Removed social networking library dependency [#26537]
## [v2.2.0] - 2018-06-08 ## [v2.2.0] - 2018-06-08

View File

@ -93,10 +93,11 @@
<version>1.2.0</version> <version>1.2.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<!--needs to be provided -->
<dependency> <dependency>
<groupId>org.gcube.portal</groupId> <groupId>org.gcube.social-networking</groupId>
<artifactId>social-networking-library</artifactId> <artifactId>social-service-model</artifactId>
<scope>provided</scope> <version>[1.2.0-SNAPSHOT, 2.0.0)</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.google</groupId> <groupId>com.google</groupId>

View File

@ -5,8 +5,8 @@ import net.eliasbalasis.tibcopagebus4gwt.client.PageBusAdapterException;
import net.eliasbalasis.tibcopagebus4gwt.testsubscriber.client.Person; import net.eliasbalasis.tibcopagebus4gwt.testsubscriber.client.Person;
import net.eliasbalasis.tibcopagebus4gwt.testsubscriber.client.PersonJsonizer; import net.eliasbalasis.tibcopagebus4gwt.testsubscriber.client.PersonJsonizer;
import org.gcube.portal.databook.client.GCubeSocialNetworking; import org.gcube.social_networking.socialnetworking.model.client.GCubeSocialNetworking;
import org.gcube.portal.databook.client.util.Encoder; import org.gcube.social_networking.socialnetworking.model.client.util.Encoder;
import org.gcube.portlets.user.socialprofile.client.ui.DisplayProfile; import org.gcube.portlets.user.socialprofile.client.ui.DisplayProfile;
import org.gcube.portlets.user.socialprofile.client.ui.DisplaySummary; import org.gcube.portlets.user.socialprofile.client.ui.DisplaySummary;
import org.gcube.portlets.user.socialprofile.client.ui.ErrorAlert; import org.gcube.portlets.user.socialprofile.client.ui.ErrorAlert;

View File

@ -1,8 +1,8 @@
package org.gcube.portlets.user.socialprofile.client.ui; package org.gcube.portlets.user.socialprofile.client.ui;
import org.gcube.portal.databook.client.GCubeSocialNetworking; import org.gcube.social_networking.socialnetworking.model.client.GCubeSocialNetworking;
import org.gcube.portal.databook.client.util.Encoder; import org.gcube.social_networking.socialnetworking.model.client.util.Encoder;
import org.gcube.portal.databook.shared.UserInfo; import org.gcube.social_networking.socialnetworking.model.shared.UserInfo;
import org.gcube.portlets.user.socialprofile.client.SocialProfile; import org.gcube.portlets.user.socialprofile.client.SocialProfile;
import org.gcube.portlets.user.socialprofile.client.SocialService; import org.gcube.portlets.user.socialprofile.client.SocialService;
import org.gcube.portlets.user.socialprofile.client.SocialServiceAsync; import org.gcube.portlets.user.socialprofile.client.SocialServiceAsync;

View File

@ -32,7 +32,7 @@ import org.gcube.common.resources.gcore.ServiceEndpoint.Property;
import org.gcube.common.scope.api.ScopeProvider; import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.common.scope.impl.ScopeBean; import org.gcube.common.scope.impl.ScopeBean;
import org.gcube.common.scope.impl.ScopeBean.Type; import org.gcube.common.scope.impl.ScopeBean.Type;
import org.gcube.portal.databook.shared.UserInfo; import org.gcube.social_networking.socialnetworking.model.shared.UserInfo;
import org.gcube.portlets.user.socialprofile.client.SocialService; import org.gcube.portlets.user.socialprofile.client.SocialService;
import org.gcube.portlets.user.socialprofile.shared.UserContext; import org.gcube.portlets.user.socialprofile.shared.UserContext;
import org.gcube.resources.discovery.client.api.DiscoveryClient; import org.gcube.resources.discovery.client.api.DiscoveryClient;

View File

@ -2,7 +2,7 @@ package org.gcube.portlets.user.socialprofile.shared;
import java.io.Serializable; import java.io.Serializable;
import org.gcube.portal.databook.shared.UserInfo; import org.gcube.social_networking.socialnetworking.model.shared.UserInfo;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class UserContext implements Serializable { public class UserContext implements Serializable {

View File

@ -7,7 +7,7 @@
<!-- Other module inherits --> <!-- Other module inherits -->
<!-- inherits GCUBE Widgets --> <!-- inherits GCUBE Widgets -->
<inherits name='org.gcube.portlets.user.gcubewidgets.WidgetFactory' /> <inherits name='org.gcube.portlets.user.gcubewidgets.WidgetFactory' />
<inherits name='org.gcube.portal.databook.GCubeSocialNetworking' /> <inherits name='org.gcube.social_networking.socialnetworking.model.GCubeSocialNetworking' />
<inherits name="net.eliasbalasis.tibcopagebus4gwt.tibcopagebus4gwt" /> <inherits name="net.eliasbalasis.tibcopagebus4gwt.tibcopagebus4gwt" />
<inherits name="org.jsonmaker.gwt.Gwt_jsonmaker" /> <inherits name="org.jsonmaker.gwt.Gwt_jsonmaker" />
<inherits <inherits