moved to FWS
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/custom-portal-handler@81902 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4104c4e733
commit
3be601aa59
|
@ -0,0 +1,2 @@
|
|||
disabled=06target
|
||||
eclipse.preferences.version=1
|
13
pom.xml
13
pom.xml
|
@ -10,7 +10,7 @@
|
|||
|
||||
<groupId>org.gcube.portal</groupId>
|
||||
<artifactId>custom-portal-handler</artifactId>
|
||||
<version>1.2.1-SNAPSHOT</version>
|
||||
<version>1.3.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Custom Portal Handler</name>
|
||||
<description>
|
||||
|
@ -32,15 +32,14 @@
|
|||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.core</groupId>
|
||||
<artifactId>gcf</artifactId>
|
||||
<version>[1.4.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
||||
<scope>provided</scope>
|
||||
<groupId>org.gcube.common.portal</groupId>
|
||||
<artifactId>portal-manager</artifactId>
|
||||
<version>[0.1.0-SNAPSHOT, 1.0.0)</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.applicationsupportlayer</groupId>
|
||||
<artifactId>aslcore</artifactId>
|
||||
<version>[3.2.0-SNAPSHOT, 4.0.0-SNAPSHOT)</version>
|
||||
<version>[4.0.0-SNAPSHOT,5.0.0-SNAPSHOT)</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
|
@ -10,7 +10,7 @@ import javax.portlet.RenderRequest;
|
|||
|
||||
import org.gcube.application.framework.core.session.SessionManager;
|
||||
import org.gcube.application.framework.core.util.GenderType;
|
||||
import org.gcube.common.core.contexts.GHNContext;
|
||||
import org.gcube.common.portal.PortalContext;
|
||||
import org.gcube.portal.custom.communitymanager.OrganizationsUtil;
|
||||
|
||||
import com.liferay.portal.kernel.exception.PortalException;
|
||||
|
@ -178,9 +178,6 @@ public class ScopeHelper {
|
|||
* return the infrastructure name
|
||||
*/
|
||||
public static String getRootConfigFromGCore() {
|
||||
String toReturn = "";
|
||||
GHNContext ctx = GHNContext.getContext();
|
||||
toReturn = (String) ctx.getProperty(GHNContext.INFRASTRUCTURE_NAME, true);
|
||||
return toReturn;
|
||||
return PortalContext.getConfiguration().getInfrastructureName();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue