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:
Alfredo Oliviero 2024-05-28 14:11:10 +02:00
parent 8e4e8ad08e
commit 985835ec42
18 changed files with 466 additions and 15 deletions

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}

37
deploy.sh Executable file
View File

@ -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"

View File

@ -34,6 +34,8 @@
<liferay.maven.plugin.version>6.2.10.12</liferay.maven.plugin.version> <liferay.maven.plugin.version>6.2.10.12</liferay.maven.plugin.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
@ -83,6 +85,12 @@
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-scope</artifactId>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>org.gcube.dvos</groupId> <groupId>org.gcube.dvos</groupId>
<artifactId>usermanagement-core</artifactId> <artifactId>usermanagement-core</artifactId>

View File

@ -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;
}
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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"> <!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
<display> <display>
<category name="category.sample"> <category name="gCube Applications">
<portlet id="cloudcomputing-platform-weblets" /> <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> </category>
</display> </display>

View File

@ -4,6 +4,6 @@ module-incremental-version=1
tags= tags=
short-description= short-description=
change-log= change-log=
page-url=http://www.liferay.com page-url=http://www.gcube-system.org
author=Liferay, Inc. author=Alfredo Oliviero
licenses=LGPL licenses=EUPL

View File

@ -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"> <!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> <liferay-portlet-app>
<portlet> <!-- <portlet>
<portlet-name>cloudcomputing-platform-weblets</portlet-name> <portlet-name>cloudcomputing-platform-weblets</portlet-name>
<icon>/icon.png</icon> <icon>/icon.png</icon>
<header-portlet-css>/css/main.css</header-portlet-css> <header-portlet-css>/css/main.css</header-portlet-css>
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript> <footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
</portlet> </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-mapper>
<role-name>administrator</role-name> <role-name>administrator</role-name>
<role-link>Administrator</role-link> <role-link>Administrator</role-link>

View File

@ -1,22 +1,27 @@
<?xml version="1.0"?> <?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>
<portlet-name>cloudcomputing-platform-weblets</portlet-name> <portlet-name>cloudcomputing-boot-platform-weblet</portlet-name>
<display-name>cloudcomputing-platform-weblets</display-name> <display-name>cloudcomputing-boot-platform-weblet</display-name>
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class> <portlet-class>
org.gcube.portlets.user.cloudcomputing.boot.CloudComputingBootPlatformWeblet
</portlet-class>
<init-param> <init-param>
<name>view-template</name> <name>view-template</name>
<value>/view.jsp</value> <value>/html/boot/boot.jsp</value>
</init-param> </init-param>
<expiration-cache>0</expiration-cache> <expiration-cache>0</expiration-cache>
<supports> <supports>
<mime-type>text/html</mime-type> <mime-type>text/html</mime-type>
</supports> </supports>
<portlet-info> <portlet-info>
<title>cloudcomputing-platform-weblets</title> <title>cloudcomputing-boot-platform-weblet</title>
<short-title>cloudcomputing-platform-weblets</short-title> <short-title>cloudcomputing-boot-platform-weblet</short-title>
<keywords>cloudcomputing-platform-weblets</keywords> <keywords>cloudcomputing-boot-platform-weblet</keywords>
</portlet-info> </portlet-info>
<security-role-ref> <security-role-ref>
<role-name>administrator</role-name> <role-name>administrator</role-name>
@ -31,4 +36,102 @@
<role-name>user</role-name> <role-name>user</role-name>
</security-role-ref> </security-role-ref>
</portlet> </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> </portlet-app>

View File

@ -1,4 +1,6 @@
<?xml version="1.0"?> <?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> </web-app>

7
src/main/webapp/css/jquery-ui.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -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>

View File

@ -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 />

View File

@ -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

View File

@ -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>

View File

@ -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>