added missing portlet, all working for binded vre

This commit is contained in:
Alfredo Oliviero 2024-05-28 18:25:53 +02:00
parent 424e3641e8
commit 812594ce70
6 changed files with 69 additions and 5 deletions

View File

@ -0,0 +1,10 @@
package org.gcube.portlets.user.cloudcomputing.methods.monitor;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.util.bridges.mvc.MVCPortlet;
public class CloudComputingMethodMonitorPortlet extends MVCPortlet {
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodMonitorPortlet.class);
}

View File

@ -7,5 +7,6 @@
<portlet id="cloudcomputing-methods-list-portlet" />
<portlet id="cloudcomputing-method-edit-portlet" />
<portlet id="cloudcomputing-method-exec-portlet" />
<portlet id="cloudcomputing-method-monitor-portlet" />
</category>
</display>

View File

@ -34,6 +34,14 @@
<footer-portlet-javascript>/js/main.js</footer-portlet-javascript>
</portlet>
<portlet>
<portlet-name>cloudcomputing-method-monitor-portlet</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>

View File

@ -136,4 +136,37 @@
</security-role-ref>
</portlet>
<portlet>
<portlet-name>cloudcomputing-method-monitor-portlet</portlet-name>
<display-name>cloudcomputing-method-monitor-portlet</display-name>
<portlet-class>
org.gcube.portlets.user.cloudcomputing.methods.monitor.CloudComputingMethodMonitorPortlet
</portlet-class>
<init-param>
<name>view-template</name>
<value>/html/methods/monitor/methodmonitor.jsp</value>
</init-param>
<expiration-cache>0</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
</supports>
<portlet-info>
<title>cloudcomputing-method-monitor-portlet</title>
<short-title>cloudcomputing-method-monitor-portlet</short-title>
<keywords>cloudcomputing-method-monitor-portlet</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>

View File

@ -1,8 +1,11 @@
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@include file="../../init.jsp" %>
<%@include file="../../init.jsp" %>
<div><d4s-ccp-methodlist allow-execute="true" archive="true" serviceurl="https://ccp.cloud-dev.d4science.org">
<div>
<d4s-ccp-methodlist allow-execute="true" archive="true"
serviceurl="https://ccp.cloud-dev.d4science.org">
<script src="https://cdn.cloud.d4science.org/ccp/js/methodlistcontroller.js"></script>
</d4s-ccp-methodlist></div>
</d4s-ccp-methodlist>
</div>
Method List Portlet
Method List Portlet

View File

@ -0,0 +1,9 @@
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@include file="../../init.jsp" %>
<div><d4s-ccp-executionhistory archive="true" serviceurl="https://ccp.cloud-dev.d4science.org">
<script src="https://cdn.cloud.d4science.org/ccp/js/executionhistorycontroller.js"></script>
<script src="https://cdn.cloud.d4science.org/ccp/js/logterminalcontroller.js"></script>
</d4s-ccp-executionhistory></div>
Method List Portlet