portlets instead of weblets to resolve the problem
This commit is contained in:
parent
985835ec42
commit
bc9d2f4bb8
|
@ -1,4 +1,4 @@
|
||||||
# gCube System - Cloud Computing Platform Weblets
|
# gCube System - Cloud Computing Platform Portlets
|
||||||
|
|
||||||
This component is a Liferay 6.2.6 CE Porlet which iinteracts with the Cloud Computing Platform analytics service
|
This component is a Liferay 6.2.6 CE Porlet which iinteracts with the Cloud Computing Platform analytics service
|
||||||
## Structure of the project
|
## Structure of the project
|
||||||
|
@ -16,7 +16,7 @@ This component is a Liferay 6.2.6 CE Porlet which iinteracts with the Cloud Comp
|
||||||
|
|
||||||
## Change log
|
## Change log
|
||||||
|
|
||||||
See [Releases](https://code-repo.d4science.org/gCubeSystem/cloudcomputing-platform-weblets/releases).
|
See [Releases](https://code-repo.d4science.org/gCubeSystem/cloudcomputing-platform-portlet/releases).
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,8 @@ MVN_FINALNAME=$(mvn -q \
|
||||||
exec:exec)
|
exec:exec)
|
||||||
|
|
||||||
echo "MVN_FINALNAME=${MVN_FINALNAME}"
|
echo "MVN_FINALNAME=${MVN_FINALNAME}"
|
||||||
mvn package
|
mvn clean package -U
|
||||||
|
|
||||||
scp target/$MVN_FINALNAME.war life@$DEST_HOST:/home/life/Portal-Bundle/deploy/$MVN_NAME.war
|
scp target/$MVN_FINALNAME.war life@$DEST_HOST:/home/life/Portal-Bundle/deploy/$MVN_NAME.war
|
||||||
|
|
||||||
ssh $DEST_HOST "sudo journalctl -fl -u liferay"
|
ssh $DEST_HOST "sudo journalctl -fl -u liferay"
|
||||||
|
|
9
pom.xml
9
pom.xml
|
@ -11,13 +11,13 @@
|
||||||
<relativePath />
|
<relativePath />
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
<artifactId>cloudcomputing-platform-weblets</artifactId>
|
<artifactId>cloudcomputing-platform-portlet</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
<name>cloudcomputing-platform-weblets Portlets</name>
|
<name>cloudcomputing-platform-portlet Portlets</name>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
gCube Cloud Computing Platform Weblets.
|
gCube Cloud Computing Platform Portlets.
|
||||||
</description>
|
</description>
|
||||||
<scm>
|
<scm>
|
||||||
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
|
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
|
||||||
|
@ -34,8 +34,6 @@
|
||||||
<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>
|
||||||
|
@ -47,6 +45,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|
|
@ -21,8 +21,8 @@ import org.gcube.vomanagement.usermanagement.GroupManager;
|
||||||
import org.gcube.vomanagement.usermanagement.impl.LiferayGroupManager;
|
import org.gcube.vomanagement.usermanagement.impl.LiferayGroupManager;
|
||||||
import org.gcube.vomanagement.usermanagement.model.GCubeGroup;
|
import org.gcube.vomanagement.usermanagement.model.GCubeGroup;
|
||||||
|
|
||||||
public class CloudComputingBootPlatformWeblet extends MVCPortlet {
|
public class CloudComputingBootPlatformPortlet extends MVCPortlet {
|
||||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingBootPlatformWeblet.class);
|
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingBootPlatformPortlet.class);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(RenderRequest renderRequest, RenderResponse renderResponse)
|
public void render(RenderRequest renderRequest, RenderResponse renderResponse)
|
|
@ -3,8 +3,8 @@ package org.gcube.portlets.user.cloudcomputing.methods.edit;
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||||
|
|
||||||
public class CloudComputingMethodEditorWeblet extends MVCPortlet {
|
public class CloudComputingMethodEditorPortlet extends MVCPortlet {
|
||||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodEditorWeblet.class);
|
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodEditorPortlet.class);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -3,8 +3,8 @@ package org.gcube.portlets.user.cloudcomputing.methods.exec;
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||||
|
|
||||||
public class CloudComputingMethodExecutorWeblet extends MVCPortlet {
|
public class CloudComputingMethodExecutorPortlet extends MVCPortlet {
|
||||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodExecutorWeblet.class);
|
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodExecutorPortlet.class);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -3,8 +3,8 @@ package org.gcube.portlets.user.cloudcomputing.methods.list;
|
||||||
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
import com.liferay.portal.kernel.log.LogFactoryUtil;
|
||||||
import com.liferay.util.bridges.mvc.MVCPortlet;
|
import com.liferay.util.bridges.mvc.MVCPortlet;
|
||||||
|
|
||||||
public class CloudComputingMethodListWeblet extends MVCPortlet {
|
public class CloudComputingMethodListPortlet extends MVCPortlet {
|
||||||
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodListWeblet.class);
|
private static com.liferay.portal.kernel.log.Log _log = LogFactoryUtil.getLog(CloudComputingMethodListPortlet.class);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
<display>
|
<display>
|
||||||
<category name="gCube Applications">
|
<category name="gCube Applications">
|
||||||
<portlet id="cloudcomputing-boot-platform-weblet" />
|
<portlet id="cloudcomputing-boot-platform-portlet" />
|
||||||
<portlet id="cloudcomputing-methods-list-weblet" />
|
<portlet id="cloudcomputing-methods-list-portlet" />
|
||||||
<portlet id="cloudcomputing-method-edit-weblet" />
|
<portlet id="cloudcomputing-method-edit-portlet" />
|
||||||
<portlet id="cloudcomputing-method-exec-weblet" />
|
<portlet id="cloudcomputing-method-exec-portlet" />
|
||||||
</category>
|
</category>
|
||||||
</display>
|
</display>
|
|
@ -1,4 +1,4 @@
|
||||||
name=cloudcomputing-platform-weblets
|
name=cloudcomputing-platform-portlet
|
||||||
module-group-id=liferay
|
module-group-id=liferay
|
||||||
module-incremental-version=1
|
module-incremental-version=1
|
||||||
tags=
|
tags=
|
||||||
|
|
|
@ -3,32 +3,32 @@
|
||||||
|
|
||||||
<liferay-portlet-app>
|
<liferay-portlet-app>
|
||||||
<!-- <portlet>
|
<!-- <portlet>
|
||||||
<portlet-name>cloudcomputing-platform-weblets</portlet-name>
|
<portlet-name>cloudcomputing-platform-portlet</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>
|
||||||
<portlet-name>cloudcomputing-boot-platform-weblet</portlet-name>
|
<portlet-name>cloudcomputing-boot-platform-portlet</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>
|
||||||
<portlet-name>cloudcomputing-methods-list-weblet</portlet-name>
|
<portlet-name>cloudcomputing-methods-list-portlet</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>
|
||||||
<portlet-name>cloudcomputing-method-edit-weblet</portlet-name>
|
<portlet-name>cloudcomputing-method-edit-portlet</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>
|
||||||
<portlet-name>cloudcomputing-method-exec-weblet</portlet-name>
|
<portlet-name>cloudcomputing-method-exec-portlet</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>
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
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"
|
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">
|
version="2.0">
|
||||||
<portlet>
|
<portlet>
|
||||||
<portlet-name>cloudcomputing-boot-platform-weblet</portlet-name>
|
<portlet-name>cloudcomputing-boot-platform-portlet</portlet-name>
|
||||||
<display-name>cloudcomputing-boot-platform-weblet</display-name>
|
<display-name>cloudcomputing-boot-platform-portlet</display-name>
|
||||||
<portlet-class>
|
<portlet-class>
|
||||||
org.gcube.portlets.user.cloudcomputing.boot.CloudComputingBootPlatformWeblet
|
org.gcube.portlets.user.cloudcomputing.boot.CloudComputingBootPlatformPortlet
|
||||||
</portlet-class>
|
</portlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<name>view-template</name>
|
<name>view-template</name>
|
||||||
|
@ -19,9 +19,9 @@
|
||||||
<mime-type>text/html</mime-type>
|
<mime-type>text/html</mime-type>
|
||||||
</supports>
|
</supports>
|
||||||
<portlet-info>
|
<portlet-info>
|
||||||
<title>cloudcomputing-boot-platform-weblet</title>
|
<title>cloudcomputing-boot-platform-portlet</title>
|
||||||
<short-title>cloudcomputing-boot-platform-weblet</short-title>
|
<short-title>cloudcomputing-boot-platform-portlet</short-title>
|
||||||
<keywords>cloudcomputing-boot-platform-weblet</keywords>
|
<keywords>cloudcomputing-boot-platform-portlet</keywords>
|
||||||
</portlet-info>
|
</portlet-info>
|
||||||
<security-role-ref>
|
<security-role-ref>
|
||||||
<role-name>administrator</role-name>
|
<role-name>administrator</role-name>
|
||||||
|
@ -38,10 +38,10 @@
|
||||||
</portlet>
|
</portlet>
|
||||||
|
|
||||||
<portlet>
|
<portlet>
|
||||||
<portlet-name>cloudcomputing-methods-list-weblet</portlet-name>
|
<portlet-name>cloudcomputing-methods-list-portlet</portlet-name>
|
||||||
<display-name>cloudcomputing-methods-list-weblet</display-name>
|
<display-name>cloudcomputing-methods-list-portlet</display-name>
|
||||||
<portlet-class>
|
<portlet-class>
|
||||||
org.gcube.portlets.user.cloudcomputing.methods.list.CloudComputingMethodListWeblet
|
org.gcube.portlets.user.cloudcomputing.methods.list.CloudComputingMethodListPortlet
|
||||||
</portlet-class>
|
</portlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<name>view-template</name>
|
<name>view-template</name>
|
||||||
|
@ -52,9 +52,9 @@
|
||||||
<mime-type>text/html</mime-type>
|
<mime-type>text/html</mime-type>
|
||||||
</supports>
|
</supports>
|
||||||
<portlet-info>
|
<portlet-info>
|
||||||
<title>cloudcomputing-methods-list-weblet</title>
|
<title>cloudcomputing-methods-list-portlet</title>
|
||||||
<short-title>cloudcomputing-methods-list-weblet</short-title>
|
<short-title>cloudcomputing-methods-list-portlet</short-title>
|
||||||
<keywords>cloudcomputing-methods-list-weblet</keywords>
|
<keywords>cloudcomputing-methods-list-portlet</keywords>
|
||||||
</portlet-info>
|
</portlet-info>
|
||||||
<security-role-ref>
|
<security-role-ref>
|
||||||
<role-name>administrator</role-name>
|
<role-name>administrator</role-name>
|
||||||
|
@ -71,10 +71,11 @@
|
||||||
</portlet>
|
</portlet>
|
||||||
|
|
||||||
<portlet>
|
<portlet>
|
||||||
<portlet-name>cloudcomputing-method-edit-weblet</portlet-name>
|
<portlet-name>cloudcomputing-method-edit-portlet</portlet-name>
|
||||||
<display-name>cloudcomputing-method-edit-weblet</display-name>
|
<display-name>cloudcomputing-method-edit-portlet</display-name>
|
||||||
<portlet-class>
|
<portlet-class>
|
||||||
org.gcube.portlets.user.cloudcomputing.methods.edit.CloudComputingMethodEditorWeblet</portlet-class>
|
org.gcube.portlets.user.cloudcomputing.methods.edit.CloudComputingMethodEditorPortlet
|
||||||
|
</portlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<name>view-template</name>
|
<name>view-template</name>
|
||||||
<value>/html/methods/edit/methodeditor.jsp</value>
|
<value>/html/methods/edit/methodeditor.jsp</value>
|
||||||
|
@ -84,9 +85,9 @@
|
||||||
<mime-type>text/html</mime-type>
|
<mime-type>text/html</mime-type>
|
||||||
</supports>
|
</supports>
|
||||||
<portlet-info>
|
<portlet-info>
|
||||||
<title>cloudcomputing-method-edit-weblet</title>
|
<title>cloudcomputing-method-edit-portlet</title>
|
||||||
<short-title>cloudcomputing-method-edit-weblet</short-title>
|
<short-title>cloudcomputing-method-edit-portlet</short-title>
|
||||||
<keywords>cloudcomputing-method-edit-weblet</keywords>
|
<keywords>cloudcomputing-method-edit-portlet</keywords>
|
||||||
</portlet-info>
|
</portlet-info>
|
||||||
<security-role-ref>
|
<security-role-ref>
|
||||||
<role-name>administrator</role-name>
|
<role-name>administrator</role-name>
|
||||||
|
@ -103,10 +104,11 @@
|
||||||
</portlet>
|
</portlet>
|
||||||
|
|
||||||
<portlet>
|
<portlet>
|
||||||
<portlet-name>cloudcomputing-method-exec-weblet</portlet-name>
|
<portlet-name>cloudcomputing-method-exec-portlet</portlet-name>
|
||||||
<display-name>cloudcomputing-method-exec-weblet</display-name>
|
<display-name>cloudcomputing-method-exec-portlet</display-name>
|
||||||
<portlet-class>
|
<portlet-class>
|
||||||
org.gcube.portlets.user.cloudcomputing.methods.exec.CloudComputingMethodExecutorWeblet</portlet-class>
|
org.gcube.portlets.user.cloudcomputing.methods.exec.CloudComputingMethodExecutorPortlet
|
||||||
|
</portlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<name>view-template</name>
|
<name>view-template</name>
|
||||||
<value>/html/methods/exec/methodexecutor.jsp</value>
|
<value>/html/methods/exec/methodexecutor.jsp</value>
|
||||||
|
@ -116,9 +118,9 @@
|
||||||
<mime-type>text/html</mime-type>
|
<mime-type>text/html</mime-type>
|
||||||
</supports>
|
</supports>
|
||||||
<portlet-info>
|
<portlet-info>
|
||||||
<title>cloudcomputing-method-exec-weblet</title>
|
<title>cloudcomputing-method-exec-portlet</title>
|
||||||
<short-title>cloudcomputing-method-exec-weblet</short-title>
|
<short-title>cloudcomputing-method-exec-portlet</short-title>
|
||||||
<keywords>cloudcomputing-method-exec-weblet</keywords>
|
<keywords>cloudcomputing-method-exec-portlet</keywords>
|
||||||
</portlet-info>
|
</portlet-info>
|
||||||
<security-role-ref>
|
<security-role-ref>
|
||||||
<role-name>administrator</role-name>
|
<role-name>administrator</role-name>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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">
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
|
|
||||||
<portlet:defineObjects />
|
<portlet:defineObjects />
|
||||||
|
|
||||||
This is the <b>cloudcomputing-platform-weblets</b>.
|
This is the <b>cloudcomputing-platform-portlet</b>.
|
Loading…
Reference in New Issue