ate 2005/03/16 08:54:22 Modified: applications/pam/src/java/org/apache/jetspeed/portlets/pam Tag: deployment-refactoring PortletApplicationResources.java applications/pam/src/webapp/WEB-INF Tag: deployment-refactoring portlet.xml jetspeed-portlet.xml applications/pam Tag: deployment-refactoring project.xml Added: applications/pam/src/webapp/WEB-INF/view Tag: deployment-refactoring pam.jsp applications/pam/src/java/org/apache/jetspeed/portlets/pam Tag: deployment-refactoring PortletApplicationStatusBean.java PortletApplicationManager.java portal/src/webapp/WEB-INF/pages/Administrative Tag: deployment-refactoring pam2.psml Log: New PAM Portlet showing and managing Portlet Applications status: start/stop/undeploy/delete (unregister from Registry). If no ApplicationServerManager is configured (as PortalService) only the running status and the delete function will be available. On Tomcat 5(.5) all features are available. As we already have a PAM there was a naming conflict. For now, I just created a pam2.psml (Title PAM). Integration of this Portlet in the already existing PAM will be difficult because that one uses a tree for PA selection while the new portlet presents the PAs in a list. Needs some discussion how we should integrate these. Revision Changes Path No revision No revision 1.1.2.1 +97 -0 jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/Attic/pam.jsp No revision No revision 1.15.2.1 +4 -1 jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationResources.java Index: PortletApplicationResources.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationResources.java,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -r1.15 -r1.15.2.1 --- PortletApplicationResources.java 22 Dec 2004 17:49:18 -0000 1.15 +++ PortletApplicationResources.java 16 Mar 2005 16:54:21 -0000 1.15.2.1 @@ -31,6 +31,9 @@ public final static String CPS_GROUP_MANAGER_COMPONENT = "cps:GroupManager"; public final static String CPS_PROFILER_COMPONENT = "cps:Profiler"; public final static String CPS_SSO_COMPONENT = "cps:SSO"; + public final static String CPS_APPLICATION_SERVER_MANAGER_COMPONENT = "cps:ApplicationServerManager"; + public final static String CPS_PORTLET_FACTORY_COMPONENT = "cps:PortletFactory"; + public final static String CPS_DEPLOYMENT_MANAGER_COMPONENT = "cps:DeploymentManager"; /** the selected non-leaf node in the tree view */ public final static String REQUEST_NODE = "node"; No revision Index: PortletApplicationResources.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationResources.java,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -r1.15 -r1.15.2.1 --- PortletApplicationResources.java 22 Dec 2004 17:49:18 -0000 1.15 +++ PortletApplicationResources.java 16 Mar 2005 16:54:21 -0000 1.15.2.1 @@ -31,6 +31,9 @@ public final static String CPS_GROUP_MANAGER_COMPONENT = "cps:GroupManager"; public final static String CPS_PROFILER_COMPONENT = "cps:Profiler"; public final static String CPS_SSO_COMPONENT = "cps:SSO"; + public final static String CPS_APPLICATION_SERVER_MANAGER_COMPONENT = "cps:ApplicationServerManager"; + public final static String CPS_PORTLET_FACTORY_COMPONENT = "cps:PortletFactory"; + public final static String CPS_DEPLOYMENT_MANAGER_COMPONENT = "cps:DeploymentManager"; /** the selected non-leaf node in the tree view */ public final static String REQUEST_NODE = "node"; No revision Index: PortletApplicationResources.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/PortletApplicationResources.java,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -r1.15 -r1.15.2.1 --- PortletApplicationResources.java 22 Dec 2004 17:49:18 -0000 1.15 +++ PortletApplicationResources.java 16 Mar 2005 16:54:21 -0000 1.15.2.1 @@ -31,6 +31,9 @@ public final static String CPS_GROUP_MANAGER_COMPONENT = "cps:GroupManager"; public final static String CPS_PROFILER_COMPONENT = "cps:Profiler"; public final static String CPS_SSO_COMPONENT = "cps:SSO"; + public final static String CPS_APPLICATION_SERVER_MANAGER_COMPONENT = "cps:ApplicationServerManager"; + public final static String CPS_PORTLET_FACTORY_COMPONENT = "cps:PortletFactory"; + public final static String CPS_DEPLOYMENT_MANAGER_COMPONENT = "cps:DeploymentManager"; /** the selected non-leaf node in the tree view */ public final static String REQUEST_NODE = "node"; 1.1.2.1 +71 -0 jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/Attic/PortletApplicationStatusBean.java 1.1.2.1 +275 -0 jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/pam/Attic/PortletApplicationManager.java No revision No revision 1.1.2.1 +1 -0 jakarta-jetspeed-2/portal/src/webapp/WEB-INF/pages/Administrative/Attic/pam2.psml No revision No revision 1.17.2.1 +23 -0 jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/portlet.xml Index: portlet.xml =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/portlet.xml,v retrieving revision 1.17 retrieving revision 1.17.2.1 diff -u -r1.17 -r1.17.2.1 --- portlet.xml 22 Dec 2004 17:49:18 -0000 1.17 +++ portlet.xml 16 Mar 2005 16:54:22 -0000 1.17.2.1 @@ -16,6 +16,29 @@ --> <portlet-app id="pam" version="1.0"> +<portlet id="PortletApplicationBrowser"> + <init-param> + <description>This parameter sets the template used in view mode.</description> + <name>ViewPage</name> + <value>/WEB-INF/view/pam.jsp</value> + </init-param> + <portlet-name>PortletApplicationManager</portlet-name> + <display-name>Portlet Application Manager</display-name> + <description>The PAM (Portlet Application Manager)</description> + <portlet-class>org.apache.jetspeed.portlets.pam.PortletApplicationManager</portlet-class> + <expiration-cache>-1</expiration-cache> + <supports> + <mime-type>text/html</mime-type> + <portlet-mode>VIEW</portlet-mode> + </supports> + <supported-locale>en</supported-locale> + <portlet-info> + <title>Portlet Application Manager</title> + <short-title>PAM</short-title> + <keywords>applications,apps,PAM</keywords> + </portlet-info> + </portlet> + <portlet id="LocaleSelector"> <portlet-name>LocaleSelector</portlet-name> <display-name>Locale Selector</display-name> 1.8.2.1 +3 -0 jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/jetspeed-portlet.xml Index: jetspeed-portlet.xml =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/jetspeed-portlet.xml,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -r1.8 -r1.8.2.1 --- jetspeed-portlet.xml 19 Nov 2004 21:53:12 -0000 1.8 +++ jetspeed-portlet.xml 16 Mar 2005 16:54:22 -0000 1.8.2.1 @@ -43,6 +43,9 @@ <js:service name='RoleManager'/> <js:service name='GroupManager'/> <js:service name='Profiler'/> + <js:service name='ApplicationServerManager'/> + <js:service name='PortletFactory'/> + <js:service name='DeploymentManager'/> </js:services> </portlet-app> \ No newline at end of file No revision No revision 1.28.2.2 +9 -0 jakarta-jetspeed-2/applications/pam/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/project.xml,v retrieving revision 1.28.2.1 retrieving revision 1.28.2.2 diff -u -r1.28.2.1 -r1.28.2.2 --- project.xml 2 Mar 2005 02:40:44 -0000 1.28.2.1 +++ project.xml 16 Mar 2005 16:54:22 -0000 1.28.2.2 @@ -195,6 +195,15 @@ </dependency> <dependency> + <groupId>portals-gems</groupId> + <artifactId>portals-gems</artifactId> + <version>2.0-M2-dev</version> + <type>jar</type> + <properties> + <war.bundle>true</war.bundle> + </properties> + </dependency> + <dependency> <groupId>portals-bridges</groupId> <artifactId>portals-bridges-frameworks</artifactId> <version>0.1</version>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]