first commit, not working
problem during deploy on liferay: ``` [BaseDeployer:863] Deploying cloudcomputing-platform-weblets.war [BaseDeployer:966] Updating cloudcomputing-platform-weblets from version 6.2.5 to version ets [BaseDeployer:975] Not updating cloudcomputing-platform-weblets because version 6.2.5 is newer than version ets ERROR [AutoDeployDir:220] com.liferay.portal.kernel.deploy.auto.AutoDeployException: The auto deploy listeners com.liferay.portal.deploy.auto.PortletAutoDeployListener, com.liferay.portal.deploy.auto.WebAutoDeployListener all deployed /home/life/Portal-Bundle/deploy/cloudcomputing-platform-weblets.war, but only one should have. [3352]: com.liferay.portal.kernel.deploy.auto.AutoDeployException: The auto deploy listeners com.liferay.portal.deploy.auto.PortletAutoDeployListener, com.liferay.portal.deploy.auto.WebAutoDeployListener all deployed /home/life/Portal-Bundle/deploy/cloudcomputing-platform-weblets.war, but only one should have. May ``` configuration is binded to devVRE
This commit is contained in:
parent
8e4e8ad08e
commit
985835ec42
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"java.configuration.updateBuildConfiguration": "interactive"
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
# VERSION=1.0.0-snapshot
|
||||
|
||||
# MVN_VERSION=$(mvn -q \
|
||||
# -Dexec.executable=echo \
|
||||
# -Dexec.args='${project.version}' \
|
||||
# --non-recursive \
|
||||
# exec:exec)
|
||||
# echo "MVN_VERSION=${MVN_VERSION}"
|
||||
|
||||
# 10.1.30.156
|
||||
DEST_HOST=lr62-dev
|
||||
|
||||
# DEST_HOST=lr62-pre-01
|
||||
# DEST_HOST=lr62-pre-02
|
||||
# DEST_HOST=lr62-prod-01
|
||||
# DEST_HOST=lr62-prod-02
|
||||
|
||||
MVN_NAME=$(mvn -q \
|
||||
-Dexec.executable=echo \
|
||||
-Dexec.args='${project.artifactId}' \
|
||||
--non-recursive \
|
||||
exec:exec)
|
||||
echo "MVN_NAME=${MVN_NAME}"
|
||||
|
||||
MVN_FINALNAME=$(mvn -q \
|
||||
-Dexec.executable=echo \
|
||||
-Dexec.args='${project.build.finalName}' \
|
||||
--non-recursive \
|
||||
exec:exec)
|
||||
|
||||
echo "MVN_FINALNAME=${MVN_FINALNAME}"
|
||||
mvn package
|
||||
scp target/$MVN_FINALNAME.war life@$DEST_HOST:/home/life/Portal-Bundle/deploy/$MVN_NAME.war
|
||||
|
||||
ssh $DEST_HOST "sudo journalctl -fl -u liferay"
|
||||
|
||||
|
8
pom.xml
8
pom.xml
|
@ -33,6 +33,8 @@
|
|||
<liferay.version>6.2.5</liferay.version>
|
||||
<liferay.maven.plugin.version>6.2.10.12</liferay.maven.plugin.version>
|
||||
</properties>
|
||||
|
||||
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
|
@ -83,6 +85,12 @@
|
|||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.core</groupId>
|
||||
<artifactId>common-scope</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.gcube.dvos</groupId>
|
||||
<artifactId>usermanagement-core</artifactId>
|
||||
|
|
|
@ -0,0 +1,119 @@
|
|||
package org.gcube.portlets.user.cloudcomputing.boot;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.portlet.PortletException;
|
||||
import javax.portlet.RenderRequest;
|
||||
import javax.portlet.RenderResponse;
|
||||
|
||||
import org.gcube.common.portal.PortalContext;
|
||||
|
||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||
import com.liferay.portal.model.User;
|
||||
import com.liferay.portal.util.PortalUtil;
|
||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||
|
||||
import org.gcube.common.scope.impl.ScopeBean;
|
||||
import org.gcube.common.scope.impl.ScopeBean.Type;
|
||||
import org.gcube.vomanagement.usermanagement.GroupManager;
|
||||
import org.gcube.vomanagement.usermanagement.impl.LiferayGroupManager;
|
||||
import org.gcube.vomanagement.usermanagement.model.GCubeGroup;
|
||||
|
||||
public class CloudComputingBootPlatformWeblet extends MVCPortlet {
|
||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingBootPlatformWeblet.class);
|
||||
|
||||
@Override
|
||||
public void render(RenderRequest renderRequest, RenderResponse renderResponse)
|
||||
throws PortletException, IOException {
|
||||
// GroupManager gm = new LiferayGroupManager();
|
||||
try {
|
||||
|
||||
// String encoded_context = "%2Fd4science.research-infrastructures.eu%2FSoBigData%2FSoBigDataLab";
|
||||
// String gateway = "sobigdata.d4science.org";
|
||||
// String redirect_url = "https://sobigdata.d4science.org/group/sobigdatalab";
|
||||
// String url = "https://accounts.d4science.org/auth";
|
||||
|
||||
|
||||
String encoded_context = "%2Fgcube%2Fdevsec%2FdevVRE";
|
||||
String gateway = "next.dev.d4science.org";
|
||||
String redirect_url = "https://next.dev.d4science.org/group/devvre/cloudcomputing";
|
||||
String url = "https://accounts.dev.d4science.org/auth";
|
||||
|
||||
|
||||
renderRequest.setAttribute("encoded_context", encoded_context);
|
||||
renderRequest.setAttribute("gateway", gateway);
|
||||
renderRequest.setAttribute("redirect_url", redirect_url);
|
||||
renderRequest.setAttribute("url", url);
|
||||
|
||||
// User theUser = PortalUtil.getUser(renderRequest);
|
||||
// String currentContext = getCurrentContext(renderRequest);
|
||||
// ScopeBean bean = new ScopeBean(currentContext);
|
||||
// String context;
|
||||
// String excapedContext;
|
||||
// String gateway;
|
||||
// String redirect-url;
|
||||
// String
|
||||
|
||||
// List<String> userContexts = new ArrayList<String>();
|
||||
// List<String> vreContexts = new ArrayList<String>();
|
||||
// List<GCubeGroup> userGroups = gm.listGroupsByUser(theUser.getUserId());
|
||||
// if (bean.is(Type.VRE)) {
|
||||
// userContexts.add(currentContext);
|
||||
// vreContexts.add(currentContext);
|
||||
// } else {
|
||||
// for (GCubeGroup g : userGroups) {
|
||||
// // skipping these sites
|
||||
// if (!(g.getFriendlyURL().equals("/guest") ||
|
||||
// g.getFriendlyURL().equals("/global"))) {
|
||||
// if
|
||||
// (g.getGroupName().equals(PortalContext.getConfiguration().getInfrastructureName()))
|
||||
// {
|
||||
// String context = gm.getInfrastructureScope(g.getGroupId());
|
||||
// userContexts.add(context);
|
||||
// if (context.split("/").length == 4) {
|
||||
// vreContexts.add(context);
|
||||
// }
|
||||
// }
|
||||
// if (g.getParentGroupId() > 0) {
|
||||
// String context = gm.getInfrastructureScope(g.getGroupId());
|
||||
// userContexts.add(context);
|
||||
// if (context.split("/").length == 4) {
|
||||
// vreContexts.add(context);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// renderRequest.setAttribute("userGroups", userGroups);
|
||||
// renderRequest.setAttribute("userContexts", userContexts);
|
||||
// renderRequest.setAttribute("vreContexts", vreContexts);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
super.render(renderRequest, renderResponse);
|
||||
}
|
||||
|
||||
private String getCurrentContext(RenderRequest request) {
|
||||
long groupId = -1;
|
||||
try {
|
||||
groupId = PortalUtil.getScopeGroupId(request);
|
||||
return getCurrentContext(groupId);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private String getCurrentContext(long groupId) {
|
||||
try {
|
||||
PortalContext pContext = PortalContext.getConfiguration();
|
||||
return pContext.getCurrentScope("" + groupId);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package org.gcube.portlets.user.cloudcomputing.methods.edit;
|
||||
|
||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||
|
||||
public class CloudComputingMethodEditorWeblet extends MVCPortlet {
|
||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodEditorWeblet.class);
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package org.gcube.portlets.user.cloudcomputing.methods.exec;
|
||||
|
||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||
|
||||
public class CloudComputingMethodExecutorWeblet extends MVCPortlet {
|
||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodExecutorWeblet.class);
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
package org.gcube.portlets.user.cloudcomputing.methods.list;
|
||||
|
||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||
|
||||
public class CloudComputingMethodListWeblet extends MVCPortlet {
|
||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodListWeblet.class);
|
||||
|
||||
|
||||
}
|
|
@ -2,7 +2,10 @@
|
|||
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
|
||||
|
||||
<display>
|
||||
<category name="category.sample">
|
||||
<portlet id="cloudcomputing-platform-weblets" />
|
||||
<category name="gCube Applications">
|
||||
<portlet id="cloudcomputing-boot-platform-weblet" />
|
||||
<portlet id="cloudcomputing-methods-list-weblet" />
|
||||
<portlet id="cloudcomputing-method-edit-weblet" />
|
||||
<portlet id="cloudcomputing-method-exec-weblet" />
|
||||
</category>
|
||||
</display>
|
|
@ -4,6 +4,6 @@ module-incremental-version=1
|
|||
tags=
|
||||
short-description=
|
||||
change-log=
|
||||
page-url=http://www.liferay.com
|
||||
author=Liferay, Inc.
|
||||
licenses=LGPL
|
||||
page-url=http://www.gcube-system.org
|
||||
author=Alfredo Oliviero
|
||||
licenses=EUPL
|
||||
|
|
|
@ -2,12 +2,38 @@
|
|||
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd">
|
||||
|
||||
<liferay-portlet-app>
|
||||
<portlet>
|
||||
<!-- <portlet>
|
||||
<portlet-name>cloudcomputing-platform-weblets</portlet-name>
|
||||
<icon>/icon.png</icon>
|
||||
<header-portlet-css>/css/main.css</header-portlet-css>
|
||||
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
|
||||
</portlet>
|
||||
-->
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-boot-platform-weblet</portlet-name>
|
||||
<icon>/icon.png</icon>
|
||||
<header-portlet-css>/css/main.css</header-portlet-css>
|
||||
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
|
||||
</portlet>
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-methods-list-weblet</portlet-name>
|
||||
<icon>/icon.png</icon>
|
||||
<header-portlet-css>/css/main.css</header-portlet-css>
|
||||
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
|
||||
</portlet>
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-method-edit-weblet</portlet-name>
|
||||
<icon>/icon.png</icon>
|
||||
<header-portlet-css>/css/main.css</header-portlet-css>
|
||||
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
|
||||
</portlet>
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-method-exec-weblet</portlet-name>
|
||||
<icon>/icon.png</icon>
|
||||
<header-portlet-css>/css/main.css</header-portlet-css>
|
||||
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
|
||||
</portlet>
|
||||
|
||||
<role-mapper>
|
||||
<role-name>administrator</role-name>
|
||||
<role-link>Administrator</role-link>
|
||||
|
|
|
@ -1,22 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">
|
||||
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
|
||||
version="2.0">
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-platform-weblets</portlet-name>
|
||||
<display-name>cloudcomputing-platform-weblets</display-name>
|
||||
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class>
|
||||
<portlet-name>cloudcomputing-boot-platform-weblet</portlet-name>
|
||||
<display-name>cloudcomputing-boot-platform-weblet</display-name>
|
||||
<portlet-class>
|
||||
org.gcube.portlets.user.cloudcomputing.boot.CloudComputingBootPlatformWeblet
|
||||
</portlet-class>
|
||||
<init-param>
|
||||
<name>view-template</name>
|
||||
<value>/view.jsp</value>
|
||||
<value>/html/boot/boot.jsp</value>
|
||||
</init-param>
|
||||
<expiration-cache>0</expiration-cache>
|
||||
<supports>
|
||||
<mime-type>text/html</mime-type>
|
||||
</supports>
|
||||
<portlet-info>
|
||||
<title>cloudcomputing-platform-weblets</title>
|
||||
<short-title>cloudcomputing-platform-weblets</short-title>
|
||||
<keywords>cloudcomputing-platform-weblets</keywords>
|
||||
<title>cloudcomputing-boot-platform-weblet</title>
|
||||
<short-title>cloudcomputing-boot-platform-weblet</short-title>
|
||||
<keywords>cloudcomputing-boot-platform-weblet</keywords>
|
||||
</portlet-info>
|
||||
<security-role-ref>
|
||||
<role-name>administrator</role-name>
|
||||
|
@ -31,4 +36,102 @@
|
|||
<role-name>user</role-name>
|
||||
</security-role-ref>
|
||||
</portlet>
|
||||
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-methods-list-weblet</portlet-name>
|
||||
<display-name>cloudcomputing-methods-list-weblet</display-name>
|
||||
<portlet-class>
|
||||
org.gcube.portlets.user.cloudcomputing.methods.list.CloudComputingMethodListWeblet
|
||||
</portlet-class>
|
||||
<init-param>
|
||||
<name>view-template</name>
|
||||
<value>/html/methods/list/methodslist.jsp</value>
|
||||
</init-param>
|
||||
<expiration-cache>0</expiration-cache>
|
||||
<supports>
|
||||
<mime-type>text/html</mime-type>
|
||||
</supports>
|
||||
<portlet-info>
|
||||
<title>cloudcomputing-methods-list-weblet</title>
|
||||
<short-title>cloudcomputing-methods-list-weblet</short-title>
|
||||
<keywords>cloudcomputing-methods-list-weblet</keywords>
|
||||
</portlet-info>
|
||||
<security-role-ref>
|
||||
<role-name>administrator</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>guest</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>power-user</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>user</role-name>
|
||||
</security-role-ref>
|
||||
</portlet>
|
||||
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-method-edit-weblet</portlet-name>
|
||||
<display-name>cloudcomputing-method-edit-weblet</display-name>
|
||||
<portlet-class>
|
||||
org.gcube.portlets.user.cloudcomputing.methods.edit.CloudComputingMethodEditorWeblet</portlet-class>
|
||||
<init-param>
|
||||
<name>view-template</name>
|
||||
<value>/html/methods/edit/methodeditor.jsp</value>
|
||||
</init-param>
|
||||
<expiration-cache>0</expiration-cache>
|
||||
<supports>
|
||||
<mime-type>text/html</mime-type>
|
||||
</supports>
|
||||
<portlet-info>
|
||||
<title>cloudcomputing-method-edit-weblet</title>
|
||||
<short-title>cloudcomputing-method-edit-weblet</short-title>
|
||||
<keywords>cloudcomputing-method-edit-weblet</keywords>
|
||||
</portlet-info>
|
||||
<security-role-ref>
|
||||
<role-name>administrator</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>guest</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>power-user</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>user</role-name>
|
||||
</security-role-ref>
|
||||
</portlet>
|
||||
|
||||
<portlet>
|
||||
<portlet-name>cloudcomputing-method-exec-weblet</portlet-name>
|
||||
<display-name>cloudcomputing-method-exec-weblet</display-name>
|
||||
<portlet-class>
|
||||
org.gcube.portlets.user.cloudcomputing.methods.exec.CloudComputingMethodExecutorWeblet</portlet-class>
|
||||
<init-param>
|
||||
<name>view-template</name>
|
||||
<value>/html/methods/exec/methodexecutor.jsp</value>
|
||||
</init-param>
|
||||
<expiration-cache>0</expiration-cache>
|
||||
<supports>
|
||||
<mime-type>text/html</mime-type>
|
||||
</supports>
|
||||
<portlet-info>
|
||||
<title>cloudcomputing-method-exec-weblet</title>
|
||||
<short-title>cloudcomputing-method-exec-weblet</short-title>
|
||||
<keywords>cloudcomputing-method-exec-weblet</keywords>
|
||||
</portlet-info>
|
||||
<security-role-ref>
|
||||
<role-name>administrator</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>guest</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>power-user</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>user</role-name>
|
||||
</security-role-ref>
|
||||
</portlet>
|
||||
|
||||
</portlet-app>
|
|
@ -1,4 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
</web-app>
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,27 @@
|
|||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
|
||||
<%@include file="../init.jsp" %>
|
||||
<%@ page import="org.gcube.vomanagement.usermanagement.model.GCubeGroup" %>
|
||||
<portlet:defineObjects />
|
||||
<portlet:resourceURL var="resourceURL">
|
||||
</portlet:resourceURL>
|
||||
<% String encoded_context=request.getAttribute(encoded_context); pageContext.setAttribute("encoded_context",
|
||||
encoded_context); String gateway=request.getAttribute(gateway); pageContext.setAttribute("gateway",
|
||||
gateway); String redirect_url=request.getAttribute(redirect_url);
|
||||
pageContext.setAttribute("redirect_url", redirect_url); String url=request.getAttribute(url);
|
||||
pageContext.setAttribute("url", url); <script
|
||||
src="https://cdn.cloud.d4science.org/common/js/keycloak.js" type="text/javascript">
|
||||
</script>
|
||||
<script src="https://cdn.cloud.d4science.org/common/js/bss-min-1.2.6.js"></script>
|
||||
<link href="https://cdn.cloud.d4science.org/ccp/css/common.css" rel="stylesheet" />
|
||||
<div>
|
||||
|
||||
encoded_context: ${encoded_context} <br>
|
||||
gateway: ${gateway} <br>
|
||||
redirect_url: ${redirect_url} <br>
|
||||
url: ${url} <br>
|
||||
|
||||
<d4s-boot-2 context="${encoded_context}" gateway="${gateway}" redirect-url="${redirect_url}"
|
||||
url="${url}">
|
||||
<script src="https://cdn.cloud.d4science.org/boot/d4s-boot.js"></script>
|
||||
</d4s-boot-2>
|
||||
</div>
|
|
@ -0,0 +1,54 @@
|
|||
<%@page import="com.liferay.portal.model.Layout"%>
|
||||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
|
||||
<%@ taglib uri="http://alloy.liferay.com/tld/aui" prefix="aui" %>
|
||||
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
|
||||
<%@ taglib uri="http://liferay.com/tld/security" prefix="liferay-security" %>
|
||||
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
|
||||
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
|
||||
<%@ taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
|
||||
|
||||
<%@page import="com.liferay.util.portlet.PortletRequestUtil"%>
|
||||
<%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%>
|
||||
<%@ page import="com.liferay.portal.util.PortalUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.StringUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.Validator"%>
|
||||
<%@ page import="com.liferay.portal.kernel.util.StringPool" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.HtmlUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.ListUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.Validator" %>
|
||||
<%@ page import="com.liferay.portal.kernel.util.WebKeys" %>
|
||||
<%@ page import="com.liferay.portal.kernel.bean.BeanParamUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.language.LanguageUtil"%>
|
||||
<%@page import="com.liferay.portal.kernel.util.GetterUtil"%>
|
||||
<%@ page import="com.liferay.portal.kernel.util.Constants" %>
|
||||
<%@ page import="com.liferay.portal.service.permission.PortalPermissionUtil" %>
|
||||
<%@ page import="com.liferay.portal.service.permission.PortletPermissionUtil" %>
|
||||
<%@ page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
|
||||
<%@ page import="com.liferay.portal.kernel.portlet.LiferayPortletMode"%>
|
||||
<%@ page import="javax.portlet.PortletURL" %>
|
||||
<%@ page import="java.util.*" %>
|
||||
<%@ page import="java.net.URLEncoder" %>
|
||||
<%@page import="com.liferay.portal.kernel.dao.search.RowChecker"%>
|
||||
<%@ page import="java.text.SimpleDateFormat"%>
|
||||
<%@ page import="java.text.DateFormat"%>
|
||||
<%@page import="com.liferay.portal.security.permission.ActionKeys"%>
|
||||
<%@page import="javax.portlet.PortletSession"%>
|
||||
<%@page import="com.liferay.portal.model.Team"%>
|
||||
<%@page import="com.liferay.portal.model.Group"%>
|
||||
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
|
||||
<%@page import="com.liferay.portal.service.GroupLocalServiceUtil"%>
|
||||
<%@page import="com.liferay.portlet.PortletURLFactoryUtil"%>
|
||||
<%@page import="javax.portlet.PortletRequest"%>
|
||||
<%@ page import="com.liferay.portal.model.Layout" %>
|
||||
<%@ page import="com.liferay.portal.model.LayoutSet" %>
|
||||
<%@ page import="com.liferay.portal.webserver.WebServerServletTokenUtil" %>
|
||||
<%@ page import="com.liferay.portal.service.VirtualHostLocalServiceUtil" %>
|
||||
<%@ page import="org.gcube.portlets.user.thematicgateways.*" %>
|
||||
|
||||
<portlet:defineObjects />
|
||||
<liferay-theme:defineObjects />
|
||||
<theme:defineObjects />
|
|
@ -0,0 +1,14 @@
|
|||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
|
||||
<%@include file="../init.jsp"%>
|
||||
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/inputwidgetcontroller.js"></script>
|
||||
<script src="https://cdn.cloud.d4science.org/storage/d4s-storage.js"></script>
|
||||
<div>
|
||||
<d4s-ccp-methodeditor serviceurl="https://ccp.cloud.d4science.org">
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/methodeditorcontroller.js"></script>
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/inputwidgeteditorcontroller.js"></script>
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/outputwidgeteditorcontroller.js"></script>
|
||||
</d4s-ccp-methodeditor>
|
||||
</div>
|
||||
Method Execution Form Portlet
|
|
@ -0,0 +1,12 @@
|
|||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
|
||||
<%@include file="../init.jsp"%>
|
||||
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||
<div>
|
||||
<d4s-ccp-executionform serviceurl="https://ccp.cloud.d4science.org">
|
||||
<script src="https://cdn.cloud.d4science.org/storage/d4s-storage.js"></script>
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/inputwidgetcontroller.js"></script>
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/outputwidgetcontroller.js"></script>
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/executionformcontroller.js"></script>
|
||||
</d4s-ccp-executionform>
|
||||
</div>
|
|
@ -0,0 +1,6 @@
|
|||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
|
||||
<%@include file="../init.jsp" %>
|
||||
|
||||
<div><d4s-ccp-methodlist allow-execute="true" archive="true" serviceurl="https://ccp.cloud.d4science.org">
|
||||
<script src="https://cdn.cloud.d4science.org/ccp/js/methodlistcontroller.js"></script>
|
||||
</d4s-ccp-methodlist></div>
|
Loading…
Reference in New Issue