EMBJOPR SVN: r631 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 18:41:58 -0400 (Wed, 29 Jul 2009)
New Revision: 631
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
* Pagination handling fixed. Affects some EJB tests.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29 22:40:48 UTC (rev 630)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29 22:41:58 UTC (rev 631)
@@ -976,7 +976,7 @@
// Infinite loop prevention.
currentPage++ < 20
// Pagination is not rendered if not needed.
- && null != getTabMenu().getTabContentBox().getPagination().getPageContols()
+ && null != getTabMenu().getTabContentBox().getPagination().findPageContols()
// goNext() returns true if there's a next page to go.
&& getTabMenu().getTabContentBox().getPagination().goNext()
);
15 years, 5 months
EMBJOPR SVN: r630 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 18:40:48 -0400 (Wed, 29 Jul 2009)
New Revision: 630
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
* Pagination handling fixed. Affects some EJB tests.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29 22:24:10 UTC (rev 629)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29 22:40:48 UTC (rev 630)
@@ -945,7 +945,7 @@
ContentTableRow row = null;
- if( null == getTabMenu().getTabContentBox().getPagination().getPageContols() ){
+ if( null == getTabMenu().getTabContentBox().getPagination().findPageContols() ){
log.debug("No page controls present - that probably means that only single page is listed.");
}
else{
@@ -1626,6 +1626,7 @@
return div;
}
+ /** Calls #findPageControls(), and if that returns null (not found), throws an exception. */
public HtmlDivision getPageContols() throws HtmlElementNotFoundException {
HtmlDivision div = findPageContols();
if( null == div)
15 years, 5 months
EMBJOPR SVN: r629 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 18:24:10 -0400 (Wed, 29 Jul 2009)
New Revision: 629
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTestBase.java
Log:
* EJB* test updated
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTestBase.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTestBase.java 2009-07-29 21:49:06 UTC (rev 628)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ejb/EjbTestBase.java 2009-07-29 22:24:10 UTC (rev 629)
@@ -80,8 +80,9 @@
try {
// Navigate to EJB Applications
- HtmlAnchor ejbLink = getNavTreeLink(APP_TYPE.getNavTreeLabel());
- ejbLink.click();
+ //HtmlAnchor ejbLink = getNavTreeLink(APP_TYPE.getNavTreeLabel());
+ //ejbLink.click();
+ ejtt.navTree.getNodeByLabel(APP_TYPE.getNavTreeLabel()).click();
// click on the "Add new resource" button
client.click("actionHeaderForm:addNewContent"); // 404 if setThrowExceptionOnFailingStatusCode(true) above
15 years, 5 months
EMBJOPR SVN: r628 - trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 17:49:06 -0400 (Wed, 29 Jul 2009)
New Revision: 628
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java
Log:
* Nav tree node names changed (plurals)
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java 2009-07-29 21:39:22 UTC (rev 627)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/AppConstants.java 2009-07-29 21:49:06 UTC (rev 628)
@@ -38,18 +38,18 @@
public enum DeployableTypes {
// Nav tree link label, EmbJopr display name, testdata/$dir, extension, suffix, mime type.
- EAR(AppConstants.NAV_EAR, "EAR", "ear", ".ear", null, "application/ear"),
- WAR(AppConstants.NAV_WAR, "WAR", "war", ".war", null, "application/war"),
- EJB2(AppConstants.NAV_EJB2, "EJB2 JAR", "ejb2", ".jar", null, "application/java-archive"),
- EJB3(AppConstants.NAV_EJB3, "EJB3 JAR", "ejb3", ".jar", null, "application/java-archive"),
- SAR(AppConstants.NAV_SAR, "SAR", "sar", ".sar", "-service.xml", "application/sar"),
- RAR(AppConstants.NAV_RAR, "RAR", "rar", ".rar", null, "application/rar"),
- EMB_RAR(AppConstants.NAV_EMB_RAR, "Embedded RAR", "", ".rar", null, "application/rar"),
+ EAR(AppConstants.NAV_EAR, "EARs", "ear", ".ear", null, "application/ear"),
+ WAR(AppConstants.NAV_WAR, "WARs ", "war", ".war", null, "application/war"),
+ EJB2(AppConstants.NAV_EJB2, "EJB2 JARs", "ejb2", ".jar", null, "application/java-archive"),
+ EJB3(AppConstants.NAV_EJB3, "EJB3 JARs", "ejb3", ".jar", null, "application/java-archive"),
+ SAR(AppConstants.NAV_SAR, "SARs", "sar", ".sar", "-service.xml", "application/sar"),
+ RAR(AppConstants.NAV_RAR, "RARs", "rar", ".rar", null, "application/rar"),
+ EMB_RAR(AppConstants.NAV_EMB_RAR, "Embedded RARs", "", ".rar", null, "application/rar"),
MC_BEAN(AppConstants.NAV_MC, "?", "mc", "", null, "application/java-archive"),
- EMB_WAR(AppConstants.NAV_EMB_WAR, "Embbedded WAR", "", ".war", null, "application/war"),
+ EMB_WAR(AppConstants.NAV_EMB_WAR, "Embbedded WARs", "", ".war", null, "application/war"),
// TODO: Create a superclass for non-app resource types - ResourceTypes.
- JBCACHE(AppConstants.NAV_JBCACHE, "JBoss Cache", "jbcache", null, null, null),
+ JBCACHE(AppConstants.NAV_JBCACHE, "JBoss Caches", "jbcache", null, null, null),
HBN(AppConstants.NAV_HBN, "Hibernate", "hbn", null, null, null);
15 years, 5 months
EMBJOPR SVN: r627 - trunk/jsfunit/testdata/ejb3.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 17:39:22 -0400 (Wed, 29 Jul 2009)
New Revision: 627
Added:
trunk/jsfunit/testdata/ejb3/BasicEJB3-good.jar
Log:
* EJB3 JAR added.
Added: trunk/jsfunit/testdata/ejb3/BasicEJB3-good.jar
===================================================================
(Binary files differ)
Property changes on: trunk/jsfunit/testdata/ejb3/BasicEJB3-good.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 5 months
EMBJOPR SVN: r626 - in trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit: util and 1 other directory.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 17:29:09 -0400 (Wed, 29 Jul 2009)
New Revision: 626
Added:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/SingleProperties.java
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/sbm/ServiceBindingManagerTest.java
Log:
* SMB tests updated.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/sbm/ServiceBindingManagerTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/sbm/ServiceBindingManagerTest.java 2009-07-29 19:03:17 UTC (rev 625)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/sbm/ServiceBindingManagerTest.java 2009-07-29 21:29:09 UTC (rev 626)
@@ -9,6 +9,7 @@
import org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit.ContentInfoTable;
import org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit.ContentTable;
import org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit.ContentTableRow;
+import org.jboss.jopr.jsfunit.util.SingleProperties;
/**
* See <JBOSS_HOME>/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
@@ -26,11 +27,31 @@
/**
* Checks that SBM is listed in the tree, and verifies the Summary tab values.
*/
- public void testServiceBindingManagerTest() throws IOException, EmbJoprTestException {
+ public void testServiceBindingManagerSummaryTest() throws IOException, EmbJoprTestException {
// Go to Service Binding Managers node.
ejtt.navTree.getNodeByLabel(NAV_SBM).click();
+ ejtt.tabMenu.getTabContentBox().getTableUnformatted(LABEL_GENERAL_PROPERTIES).checkValues( new SingleProperties("Name", NAV_SBM) );
+
+ }
+
+
+
+
+ /**
+ * Checks that SBM is listed in the tree, and verifies the Summary tab values.
+ *
+ * DISABLED - to be reimplemented.
+ */
+ public void DISABLEDtestServiceBindingManagerConfigTest() throws IOException, EmbJoprTestException {
+
+ // Go to Service Binding Managers node.
+ ejtt.navTree.getNodeByLabel(NAV_SBM).click();
+ ejtt.getTabMenu().clickConfigurationTab();
+
+
+
// Check that SBM is UP.
ContentTableRow row = ejtt.tabMenu.getTabContentBox().getFirstTable().getFirstRowContainingLink(NAV_SBM_SETS);
assertEquals(NAV_SBM_SETS+" should be UP", "UP", row.getCellTextByColumnName("Status") );
@@ -47,13 +68,13 @@
// Name
assertEquals("Name should be "+NAV_SBM_SETS, NAV_SBM_SETS, props.getProperty("Name"));
- // Version is currently "--"
- // Description: The Service Binding Manager manages the ports of the deployed services
-
}
- /**
+
+
+
+ /**
* Changes "Active Binding Set Name" property in the Conf tab, saves,
* and then changes back to original.
* TODO: "Server restart needed" - see JOPR-230.
@@ -63,10 +84,12 @@
final String PROPERTY_activeBindingSetName = "activeBindingSetName";
- // Go to Service Binding Managers node.
- ejtt.navTree.getNodeByLabel(NAV_SBM_SETS).click();
+ // Go to Service Binding Manager node.
+ ejtt.navTree.getNodeByLabel(NAV_SBM).click();
+ ejtt.getTabMenu().clickConfigurationTab();
+
// -- Update -- //
// Go to Configuration tab.
@@ -80,7 +103,8 @@
ejtt.tabMenu.getTabContentBox().getSubmitButtonByLabel("Save").click();
- String expMsg = "Successfully updated Service Binding Manager 'ServiceBindingManager'";
+ //String expMsg = "Successfully updated Service Binding Manager '"+NAV_SBM+"'";
+ String expMsg = "Successfully updated Service Binding Manager"; // Partial match - matching is done by .contains().
checkClientAndServerMessages(expMsg, expMsg, false);
@@ -97,7 +121,7 @@
ejtt.tabMenu.getTabContentBox().getSubmitButtonByLabel("Save").click();
- expMsg = "Successfully updated Service Binding Manager 'ServiceBindingManager'";
+ expMsg = "Successfully updated Service Binding Manager"; // Partial match - matching is done by .contains().Who
checkClientAndServerMessages(expMsg, expMsg, false);
Added: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/SingleProperties.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/SingleProperties.java (rev 0)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/SingleProperties.java 2009-07-29 21:29:09 UTC (rev 626)
@@ -0,0 +1,31 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package org.jboss.jopr.jsfunit.util;
+
+import java.util.Properties;
+
+/**
+ *
+ * @author Ondrej Zizka
+ */
+public class SingleProperties extends Properties {
+
+
+ public SingleProperties( String key, String value ){
+ super();
+ this.setProperty(key, value);
+ }
+
+
+ public static Properties createProperties( String key, String value ){
+ Properties props = new Properties();
+ props.setProperty(key, value);
+ return props;
+ }
+
+
+
+}// class
15 years, 5 months
EMBJOPR SVN: r625 - in trunk/jsfunit: src/test/java/org/jboss/jopr/jsfunit and 3 other directories.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 15:03:17 -0400 (Wed, 29 Jul 2009)
New Revision: 625
Added:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTest.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTestUtils.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/RepeatedDeploymentViaPSTest.java
Modified:
trunk/jsfunit/pom.xml
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbJoprTestConstants.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
* Added jboss.isSecured system property to tell the testsuite whether AS is secured.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-07-29 18:38:10 UTC (rev 624)
+++ trunk/jsfunit/pom.xml 2009-07-29 19:03:17 UTC (rev 625)
@@ -8,6 +8,7 @@
<cargo.plugin.version>1.0.1-SNAPSHOT</cargo.plugin.version><!-- Was: 1.0-SNAPSHOT -->
<jvm.args.debug></jvm.args.debug>
<htmlunit.browser>ff3</htmlunit.browser><!-- ff2 | ff3 | ie6 | ie7 -->
+ <jboss.isSecured>true</jboss.isSecured><!-- true | false ; True if JBoss AS/EAP is secured. -->
</properties>
<parent>
@@ -351,6 +352,7 @@
<!-- Home dir for Cargo's JBoss instance. -->
<jsfunit.jboss.home.dir>${basedir}/target/jboss5x</jsfunit.jboss.home.dir>
<htmlunit.browser>${htmlunit.browser}</htmlunit.browser>
+ <jsfunit.jboss.isSecured>${jboss.isSecured}</jsfunit.jboss.isSecured>
</systemProperties>
</container>
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbJoprTestConstants.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbJoprTestConstants.java 2009-07-29 18:38:10 UTC (rev 624)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/EmbJoprTestConstants.java 2009-07-29 19:03:17 UTC (rev 625)
@@ -16,6 +16,7 @@
public static final String SYSPROP_TESTDATA_DIR = "jsfunit.testdata";
public static final String SYSPROP_TEMP_DIR = "jsfunit.tempdir";
public static String SYSPROP_JBOSS_CONFIG = "jboss.configuration";
+ public static String SYSPROP_JBOSS_IS_SECURED = "jsfunit.jboss.isSecured";
public static String SYSPROP_CARGO_JBOSS_HOME_DIR = "jsfunit.jboss.home.dir";
Added: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTest.java (rev 0)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTest.java 2009-07-29 19:03:17 UTC (rev 625)
@@ -0,0 +1,188 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.jopr.jsfunit.as5.ps;
+
+import java.util.Collection;
+import java.util.Map;
+import java.util.Set;
+import org.jboss.deployers.spi.management.ManagementView;
+import org.jboss.jopr.jsfunit.*;
+import java.io.*;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import org.apache.commons.lang.StringUtils;
+import org.jboss.jopr.jsfunit.exceptions.*;
+import org.jboss.jopr.jsfunit.util.EmbJoprTestToolkit.*;
+import org.jboss.managed.api.ComponentType;
+import org.jboss.managed.api.DeploymentTemplateInfo;
+import org.jboss.managed.api.ManagedComponent;
+import org.jboss.managed.api.ManagedDeployment;
+import org.jboss.profileservice.spi.*;
+
+
+
+/**
+ * This class contains tests for testing the EmbJopr Application
+ * Management Functions for Enterprise Application archives with JBoss AS 5.
+ *
+ * @author Ondrej Zizka
+ *
+ */
+public class ProfileServiceTest extends ApplicationTestBaseAS5 {
+
+ /**
+ * @return the suite of tests being tested
+ */
+
+ public static Test suite(){
+ return new TestSuite(ProfileServiceTest.class);
+ }
+
+
+
+
+
+ /*
+ * Disabled: ProfileService is JAAS-secured.
+ * Candidate for deletion.
+ */
+ public void DISABLEDtestManagedView() throws IOException, Exception
+ {
+
+ log.info(" ------ LISTING PROFILES -------- ");
+
+ ProfileService ps = this.getProfileService();
+ Collection<ProfileKey> profileKeys = ps.getProfileKeys();
+ printProfiles( profileKeys, ps, 0);
+
+
+ log.info(" ------ DUMPING VIEWMANAGER -------- ");
+
+ ManagementView viewManager = ps.getViewManager();
+
+ for( String name : viewManager.getTemplateNames() ){
+ DeploymentTemplateInfo template = viewManager.getTemplate(name);
+ log.debug(" * Template: "+name+"; Desc: "+template.getDescription());
+ }
+
+ viewManager.getComponentsForType( new ComponentType() );
+
+ for( String name : viewManager.getDeploymentNames() ){
+
+ ManagedDeployment deployment = viewManager.getDeployment(name);
+ log.info( " * Deployment name: "+ deployment.getName() );
+ log.info( " Deployment properties: "+ deployment.getProperties() );
+
+ }
+
+ }// testManagedView()
+
+
+
+
+ /*
+ * Lists everything that is in ProfileService.
+ */
+ public void testManagedView() throws IOException, Exception
+ {
+
+ log.info(" ------ LISTING PROFILES -------- ");
+
+ ProfileService ps = ejtt.profileService.getProfileService();
+ Collection<ProfileKey> profileKeys = ps.getProfileKeys();
+ printProfiles( profileKeys, ps, 0);
+
+
+ log.info(" ------ DUMPING VIEWMANAGER -------- ");
+
+ ManagementView viewManager = ejtt.profileService.getManagementView();
+
+ for( String name : viewManager.getTemplateNames() ){
+ DeploymentTemplateInfo template = viewManager.getTemplate(name);
+ log.debug(" * Template: "+name+"; Desc: "+template.getDescription());
+ }
+
+ for( ComponentType type : viewManager.getComponentTypes() ){
+ log.info(" * Type: "+type.toString());
+ for( ManagedComponent component : viewManager.getComponentsForType(type) ){
+ log.info(" * Component: "+component.toString());
+ }
+ }
+
+ for( String name : viewManager.getDeploymentNames() ){
+
+ ManagedDeployment deployment = viewManager.getDeployment(name);
+ log.info( " * Deployment name: "+ deployment.getName() );
+ log.info( " Deployment properties: "+ deployment.getProperties() );
+
+ }
+
+ }// testManagedView()
+
+
+
+
+
+
+
+ public void printProfiles( Collection<ProfileKey> profileKeys, ProfileService ps, int level ) throws NoSuchProfileException{
+
+ String spaces = StringUtils.repeat(" ", level);
+
+ for (ProfileKey profileKey : profileKeys) {
+
+ Profile profile = ps.getProfile(profileKey);
+ log.info( spaces + " * Profile: "+ profile.getKey().toString() );
+
+ Collection<ProfileDeployment> deployments = profile.getDeployments();
+ for (ProfileDeployment deployment : deployments) {
+
+ log.info( spaces + " * Deployment name: "+ deployment.getName() );
+ log.info( spaces + " Deployment root: "+ deployment.getRoot() );
+
+ Map<String, Object> attachments = deployment.getAttachments();
+ for ( String key : attachments.keySet() ) {
+
+ log.info( spaces + " * Attachment: "+ key + " = " + attachments.get(key) );
+
+ }// attachments
+
+ }// deployments
+
+ // deployments
+
+
+
+ log.info( spaces + " * Subprofiles:");
+ Collection<ProfileKey> subProfiles = profile.getSubProfiles();
+ printProfiles(subProfiles, ps, level+1);
+
+ }// profileKeys
+
+ }
+
+
+
+
+
+}// class ProfileServiceTest
Copied: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTestUtils.java (from rev 614, trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear/ProfileServiceTestUtils.java)
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTestUtils.java (rev 0)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/ProfileServiceTestUtils.java 2009-07-29 19:03:17 UTC (rev 625)
@@ -0,0 +1,294 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jopr.jsfunit.as5.ps;
+
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import javax.naming.InitialContext;
+
+import javax.naming.NamingException;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import org.jboss.deployers.spi.management.ManagementView;
+import org.jboss.deployers.spi.management.deploy.DeploymentManager;
+import org.jboss.deployers.spi.management.deploy.DeploymentProgress;
+import org.jboss.jopr.jsfunit.EmbjoprTestCase;
+import org.jboss.jopr.jsfunit.util.jaas.SecuredProfileServiceAccess;
+import org.jboss.managed.api.ComponentType;
+import org.jboss.managed.api.DeploymentTemplateInfo;
+import org.jboss.managed.api.ManagedComponent;
+import org.jboss.managed.api.ManagedProperty;
+import org.jboss.metatype.api.values.MetaValue;
+import org.jboss.metatype.api.values.MetaValueFactory;
+import org.jboss.profileservice.spi.ProfileKey;
+
+
+
+/**
+ * @author Ondrej Zizka, original class by Alexey Loubyansky
+ */
+public class ProfileServiceTestUtils
+ extends EmbjoprTestCase
+{
+
+ /** We use the default profile, defined by DeploymentManager to deploy apps. */
+ public static final ProfileKey defaultProfile = new ProfileKey(ProfileKey.DEFAULT);
+
+ protected ManagementView activeView;
+ protected DeploymentManager deployMgr;
+ private MetaValueFactory metaValueFactory;
+
+
+ public ProfileServiceTestUtils(String name){
+ super();
+ }
+ public ProfileServiceTestUtils(){
+ super();
+ }
+
+
+ public static Test suite(){
+ return new TestSuite(ProfileServiceTestUtils.class);
+ }
+
+
+
+
+
+ /**
+ * List the contents of ProfileService.
+ */
+ public void testProfileServiceListContent() throws NamingException, Exception{
+ ManagementView managementView = SecuredProfileServiceAccess.getInstance().getManagementView();
+
+ log.info("List of ProfileService contents (default profile):");
+
+ StringBuilder sb = new StringBuilder(4*1024);
+ for( ComponentType type : managementView.getComponentTypes() ){
+ sb.append(" * Type: ").append(type.toString()).append("\n");
+ for( ManagedComponent component : managementView.getComponentsForType(type) ){
+ sb.append(" * Component: ").append(component.toString()).append("\n");
+ }
+ }
+
+ log.info(sb.toString());
+ }
+
+
+
+
+
+ /**
+ * @return the ProfileKey.name to use when loading the profile
+ */
+ protected String getProfileName(){ return null; }
+
+ protected ProfileKey getProfileKey()
+ {
+ if(getProfileName() == null)
+ return defaultProfile;
+
+ return new ProfileKey(getProfileName());
+ }
+
+ protected void removeDeployment(String deployment)
+ throws Exception
+ {
+ String names[] = new String[] {deployment};
+ DeploymentManager deployMgr_ = getDeploymentManager();
+ try
+ {
+ DeploymentProgress progress = deployMgr_.stop(names);
+ progress.run();
+ assertFalse("failed: " + progress.getDeploymentStatus().getFailure(), progress.getDeploymentStatus().isFailed());
+ }
+ finally
+ {
+ DeploymentProgress progress = deployMgr_.remove(names);
+ progress.run();
+ assertFalse("failed: " + progress.getDeploymentStatus().getFailure(), progress.getDeploymentStatus().isFailed());
+ }
+ }
+
+ protected void createComponentTest(String templateName,
+ Map<String, MetaValue> propValues,
+ String deploymentName,
+ ComponentType componentType, String componentName)
+ throws Exception
+ {
+ createComponentTest(templateName, propValues, deploymentName, componentType, componentName, true);
+ }
+
+ protected void createComponentTest(String templateName,
+ Map<String, MetaValue> propValues,
+ String deploymentName,
+ ComponentType componentType, String componentName,
+ boolean processChanges)
+ throws Exception
+ {
+ Set<String> removedPropNames = Collections.emptySet();
+ createComponentTest(templateName, propValues, removedPropNames,
+ deploymentName, componentType, componentName, processChanges);
+ }
+ protected void createComponentTest(String templateName,
+ Map<String, MetaValue> propValues,
+ Set<String> removedPropNames,
+ String deploymentName,
+ ComponentType componentType, String componentName,
+ boolean processChanges)
+ throws Exception
+ {
+ ManagementView mgtView = getManagementView();
+ DeploymentTemplateInfo info = mgtView.getTemplate(templateName);
+ assertNotNull("template " + templateName + " found", info);
+ Map<String, ManagedProperty> props = info.getProperties();
+ for(String propName : propValues.keySet())
+ {
+ ManagedProperty prop = props.get(propName);
+ log.debug("createComponentTest("+propName+") before: "+prop.getValue());
+ assertNotNull("property " + propName + " found in template " + templateName, prop);
+ prop.setValue(propValues.get(propName));
+ log.debug("createComponentTest("+propName+") after: "+prop.getValue());
+ }
+ for(String propName : removedPropNames)
+ {
+ ManagedProperty prop = props.get(propName);
+ prop.setRemoved(true);
+ log.debug("removed property: "+propName);
+ }
+
+ mgtView.applyTemplate(deploymentName, info);
+ if(processChanges)
+ {
+ mgtView.process();
+
+ // reload the view
+ activeView = null;
+ mgtView = getManagementView();
+ ManagedComponent dsMC = getManagedComponent(mgtView, componentType, componentName);
+ assertNotNull(dsMC);
+
+ Set<String> mcPropNames = new HashSet<String>(dsMC.getPropertyNames());
+ for(String propName : propValues.keySet())
+ {
+ ManagedProperty prop = dsMC.getProperty(propName);
+ assertNotNull(prop);
+ Object propValue = prop.getValue();
+ Object expectedValue = propValues.get(propName);
+ assertEquals(prop.getName(), expectedValue, propValue);
+
+ mcPropNames.remove(propName);
+ }
+
+ if(!mcPropNames.isEmpty())
+ {
+ log.warn(getName() + "> untested properties: " + mcPropNames);
+ }
+ }
+ }
+
+ /**
+ * Obtain the ProfileService.ManagementView
+ * @return
+ * @throws Exception
+ */
+ protected ManagementView getManagementView()
+ throws Exception
+ {
+ /*
+ if( activeView == null )
+ {
+ InitialContext ctx = getInitialContext();
+ ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
+ activeView = ps.getViewManager();
+ // Init the VFS to setup the vfs* protocol handlers
+ VFS.init();
+ }
+ // Reload
+ activeView.load();
+ return activeView;
+ /**/
+
+ return SecuredProfileServiceAccess.getInstance().getManagementView();
+ }
+ /**
+ * Obtain the ProfileService.ManagementView
+ * @return
+ * @throws Exception
+ */
+ protected DeploymentManager getDeploymentManager()
+ throws Exception
+ {
+ /*
+ if( deployMgr == null )
+ {
+ InitialContext ctx = getInitialContext();
+ ProfileService ps = (ProfileService) ctx.lookup("ProfileService");
+ deployMgr = ps.getDeploymentManager();
+ deployMgr.loadProfile(getProfileKey());
+ // Init the VFS to setup the vfs* protocol handlers
+ VFS.init();
+ }
+ return deployMgr;
+ /**/
+ return SecuredProfileServiceAccess.getInstance().getDeploymentManager();
+ }
+
+ /**
+ * Locate the given ComponentType with the given component name.
+ *
+ * @param mgtView -
+ * @return the matching ManagedComponent if found, null otherwise
+ * @throws Exception
+ */
+ protected ManagedComponent getManagedComponent(ManagementView mgtView, ComponentType type, String name)
+ throws Exception
+ {
+ Set<ManagedComponent> comps = mgtView.getComponentsForType(type);
+ ManagedComponent mc = null;
+ for (ManagedComponent comp : comps)
+ {
+ String cname = comp.getName();
+ if( cname.endsWith(name) )
+ {
+ mc = comp;
+ break;
+ }
+ }
+ return mc;
+ }
+
+ protected MetaValueFactory getMetaValueFactory()
+ {
+ if(metaValueFactory == null)
+ metaValueFactory = MetaValueFactory.getInstance();
+ return metaValueFactory;
+ }
+
+ InitialContext getInitialContext() throws NamingException{
+ return new InitialContext();
+ }
+
+}
Copied: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/RepeatedDeploymentViaPSTest.java (from rev 614, trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/app/ear/RepeatedDeploymentViaPSTest.java)
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/RepeatedDeploymentViaPSTest.java (rev 0)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/ps/RepeatedDeploymentViaPSTest.java 2009-07-29 19:03:17 UTC (rev 625)
@@ -0,0 +1,148 @@
+package org.jboss.jopr.jsfunit.as5.ps;
+
+
+
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.Arrays;
+import java.util.Set;
+
+
+import org.jboss.deployers.spi.management.ManagementView;
+import org.jboss.deployers.spi.management.deploy.DeploymentManager;
+import org.jboss.deployers.spi.management.deploy.DeploymentProgress;
+import org.jboss.deployers.spi.management.deploy.DeploymentStatus;
+import org.jboss.logging.Logger;
+import org.jboss.managed.api.ManagedDeployment;
+import org.jboss.deployers.spi.management.deploy.ProgressListener;
+import org.jboss.jopr.jsfunit.AppConstants;
+import org.jboss.jopr.jsfunit.exceptions.EmbJoprTestException;
+
+
+/**
+ * Mostly copied from
+ * jboss-as-5.x/testsuite/src/main/org/jboss/test/profileservice/test
+ */
+public class RepeatedDeploymentViaPSTest extends ProfileServiceTestUtils implements ProgressListener {
+
+
+
+ public void testRepeatedDeploymentViaProfileService() throws Exception {
+
+
+ final String DEPLOYABLE_NAME = AppConstants.BASIC_EAR;
+ int TURNS = 100;
+
+ String earFilePath = ejtt.getTestDataDir() + "/ear/"+DEPLOYABLE_NAME;
+
+ for (int i = TURNS; i > 0; i--) {
+ log.info("Remaining EAR deploys: "+i);
+ // Deploy and undeploy the EAR.
+ doDeployment(earFilePath, "ear", null);
+ }
+
+ }
+
+
+
+
+
+
+
+ public void progressEvent(org.jboss.deployers.spi.management.deploy.ProgressEvent eventInfo) {
+ getLog().debug(eventInfo);
+ }
+
+ public URL getDeployURL( String file ) throws MalformedURLException{
+ return new URL("file:///"+ System.getProperty(AppConstants.SYSPROP_DEPLOY_DIR)+'/'+file );
+ }
+
+
+
+ protected final Logger log = Logger.getLogger(this.getClass().getName());
+ Logger getLog(){ return log; }
+
+ @SuppressWarnings("deprecation")
+ protected void doDeployment(String name, String type, ManagedDeploymentTester tester) throws Exception
+ {
+ DeploymentManager deployMgr = getDeploymentManager();
+ URL contentURL = getDeployURL(name);
+ assertNotNull(contentURL);
+ getLog().debug(contentURL);
+ // TODO - hack to get off JDK's url handling
+ String urlString = contentURL.toExternalForm();
+ int p = urlString.indexOf(":/");
+ contentURL = new URL("vfszip" + urlString.substring(p));
+ getLog().debug(contentURL);
+
+ DeploymentStatus status;
+ DeploymentProgress progress = deployMgr.distribute(name, contentURL, true);
+ progress.addProgressListener(this);
+ progress.run();
+ String[] uploadedNames = {};
+ try
+ {
+ status = progress.getDeploymentStatus();
+ assertTrue("DeploymentStatus.isCompleted: " + status, status.isCompleted());
+ // It should not be running yet
+ assertFalse("DeploymentStatus.isRunning: " + status, status.isRunning());
+ assertFalse("DeploymentStatus.isFailed: " + status, status.isFailed());
+
+ // Get the unique deployment name
+ uploadedNames = progress.getDeploymentID().getRepositoryNames();
+ getLog().debug("Uploaded deployment names: "+Arrays.asList(uploadedNames));
+ // Now start the deployment
+ progress = deployMgr.start(uploadedNames);
+ progress.addProgressListener(this);
+ progress.run();
+ try
+ {
+ status = progress.getDeploymentStatus();
+ assertTrue("DeploymentStatus.isCompleted: " + status, status.isCompleted());
+ assertFalse("DeploymentStatus.isRunning: " + status, status.isRunning());
+ assertFalse("DeploymentStatus.isFailed: " + status, status.isFailed());
+ // Check for a
+ ManagementView mgtView = getManagementView();
+ ManagedDeployment deployment = mgtView.getDeployment(uploadedNames[0]);
+ assertNotNull(deployment);
+ getLog().info("Found " + type + " deployment: " + deployment);
+ Set<String> types = deployment.getTypes();
+ if (types != null && types.isEmpty() == false)
+ assertTrue("Missing type: " + type + ", available: " + types, types.contains(type));
+ if (tester != null)
+ {
+ tester.testManagedDeployment();
+ }
+ }
+ finally
+ {
+ //Thread.sleep(15 * 1000); // 15 secs >> more than it takes for reaper to run :-)
+
+ // Stop/remove the deployment
+ progress = deployMgr.stop(uploadedNames);
+ progress.addProgressListener(this);
+ progress.run();
+ status = progress.getDeploymentStatus();
+ assertTrue("DeploymentStatus.isCompleted: " + status, status.isCompleted());
+ assertFalse("DeploymentStatus.isFailed: " + status, status.isFailed());
+ }
+ }
+ finally
+ {
+ progress = deployMgr.remove(uploadedNames);
+ progress.addProgressListener(this);
+ progress.run();
+ status = progress.getDeploymentStatus();
+ assertTrue("DeploymentStatus.isCompleted: " + status, status.isCompleted());
+ assertFalse("DeploymentStatus.isFailed: " + status, status.isFailed());
+ }
+ }
+
+
+ private interface ManagedDeploymentTester
+ {
+ void testManagedDeployment() throws Exception;
+ }
+
+}
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29 18:38:10 UTC (rev 624)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-07-29 19:03:17 UTC (rev 625)
@@ -146,6 +146,10 @@
return System.getProperty(AppConstants.SYSPROP_JBOSS_CONFIG);
}
+ public boolean isJBossSecured() {
+ return System.getProperty(AppConstants.SYSPROP_JBOSS_IS_SECURED,"false").equals("true");
+ }
+
/**
* @returns the directory in wich the AS instance for cargo is located.
* THIS IS NOT WHERE THE AS CONFIG DIR (with deploy/ etc.) ARE.
15 years, 5 months
EMBJOPR SVN: r624 - trunk/jsfunit/testdata.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-07-29 14:38:10 -0400 (Wed, 29 Jul 2009)
New Revision: 624
Modified:
trunk/jsfunit/testdata/hudson_shell_script.sh
Log:
* Current hudson shell script >> SVN.
Modified: trunk/jsfunit/testdata/hudson_shell_script.sh
===================================================================
--- trunk/jsfunit/testdata/hudson_shell_script.sh 2009-07-29 18:15:49 UTC (rev 623)
+++ trunk/jsfunit/testdata/hudson_shell_script.sh 2009-07-29 18:38:10 UTC (rev 624)
@@ -3,15 +3,10 @@
rm -rf embjopr/jsfunit/target
-### Temporarily go back to old AS, RHQ doesn't work with current new (2009-07-14)
-#cd jbosseap-5.x/
-#svn up
-#cd ..
-
### Build JBoss AS, checked out / updated by Hudson
cd jbosseap-5.x/build
-./build.sh clean
-./build.sh -Dbuild.unsecured=true
+ ./build.sh clean
+ ./build.sh -Dbuild.unsecured=true
cd ../..
### Set JBoss AS home dir
@@ -23,22 +18,26 @@
# Name of war changed on 04/24 - smcgowan
rm -rfv $JBOSS_HOME/server/default/deploy/admin-console.war
-### List currently used port - why is RMI port in collision?
+### List currently used ports
lsof -i || /usr/sbin/lsof -i || true
### List JVMs
jps -l
cd embjopr
-mvn install -Dmaven.test.skip=true --update-snapshots
-cd jsfunit
-rm -rf target
+ # "Downdate" to Beta2
+ svn up -r 571
+ mvn install -Dmaven.test.skip=true --update-snapshots
+ cd jsfunit
+ # But get latest testcases.
+ svn up
+ rm -rf target
-echo "Launching tests; binding JBoss AS to MYTESTIP_1 == $MYTESTIP_1"
-#echo -e "USER hudson hudson hudson hudson\nNICK HudsonBot\nJOIN #embjopr\nPRIVMSG #embjopr :`hostname`\nQUIT\n" |nc irc.devel.redhat.com 6667 || :
-echo `hostname`:4000 >> /tmp/embjopr-debug.log
+ echo "Launching tests; binding JBoss AS to MYTESTIP_1 == $MYTESTIP_1"
+ #echo -e "USER hudson hudson hudson hudson\nNICK HudsonBot\nJOIN #embjopr\nPRIVMSG #embjopr :`hostname`\nQUIT\n" |nc irc.devel.redhat.com 6667 || :
+ echo `hostname`:4000 >> /tmp/embjopr-debug.log
-mvn -Pjboss5x install --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME -Dcargo.jboss.bind.address=$MYTESTIP_1
-sleep 5
+ mvn -Pjboss5x install --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME -Dcargo.jboss.bind.address=$MYTESTIP_1
+ sleep 5
15 years, 5 months
EMBJOPR SVN: r623 - trunk.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-07-29 14:15:49 -0400 (Wed, 29 Jul 2009)
New Revision: 623
Modified:
trunk/pom.xml
Log:
switch back to snapshot deps now that 1.3.0.GA release is done
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-07-29 18:14:30 UTC (rev 622)
+++ trunk/pom.xml 2009-07-29 18:15:49 UTC (rev 623)
@@ -25,7 +25,7 @@
<parent>
<groupId>org.rhq</groupId>
<artifactId>rhq-parent</artifactId>
- <version>1.3.0.EmbJopr.1.3.0-3</version>
+ <version>1.3.0-SNAPSHOT</version>
</parent>
<groupId>org.jboss.jopr</groupId>
@@ -64,9 +64,9 @@
<!-- dependency versions -->
<jaxb-api.version>2.1</jaxb-api.version>
<jaxb-impl.version>2.1.6</jaxb-impl.version>
- <jopr.version>2.3.0.EmbJopr.1.3.0-3</jopr.version>
+ <jopr.version>2.3.0-SNAPSHOT</jopr.version>
<richfaces.version>3.3.0.GA</richfaces.version>
- <rhq.version>1.3.0.EmbJopr.1.3.0-3</rhq.version>
+ <rhq.version>1.3.0-SNAPSHOT</rhq.version>
<seam.version>2.1.0.SP1</seam.version>
<seam.embedded.version>beta3.SP3</seam.embedded.version>
<!-- This is a special patched version of not-yet-released Facelets 1.1.15,
@@ -125,7 +125,7 @@
<module>core</module>
<module>jbas4</module>
<module>jbas5</module>
- <!--<module>jsfunit</module>-->
+ <module>jsfunit</module>
</modules>
<repositories>
15 years, 5 months
EMBJOPR SVN: r622 - in trunk: core and 2 other directories.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-07-29 14:14:30 -0400 (Wed, 29 Jul 2009)
New Revision: 622
Modified:
trunk/core/pom.xml
trunk/jbas4/pom.xml
trunk/jbas5/pom.xml
trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: trunk/core/pom.xml
===================================================================
--- trunk/core/pom.xml 2009-07-29 18:14:18 UTC (rev 621)
+++ trunk/core/pom.xml 2009-07-29 18:14:30 UTC (rev 622)
@@ -23,7 +23,7 @@
<parent>
<groupId>org.jboss.jopr</groupId>
<artifactId>jopr-embedded-parent</artifactId>
- <version>1.3.0.GA</version>
+ <version>1.3.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.jopr</groupId>
@@ -35,8 +35,8 @@
</description>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA/core</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA/core</developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/trunk/core/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/core/</developerConnection>
</scm>
<properties>
Modified: trunk/jbas4/pom.xml
===================================================================
--- trunk/jbas4/pom.xml 2009-07-29 18:14:18 UTC (rev 621)
+++ trunk/jbas4/pom.xml 2009-07-29 18:14:30 UTC (rev 622)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.jopr</groupId>
<artifactId>jopr-embedded-parent</artifactId>
- <version>1.3.0.GA</version>
+ <version>1.3.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.jopr</groupId>
@@ -14,8 +14,8 @@
<name>JBossAS 4.x Administration Console</name>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA/jbas4</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA/jbas4</developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/trunk/jbas4/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/jbas4/</developerConnection>
</scm>
<properties>
Modified: trunk/jbas5/pom.xml
===================================================================
--- trunk/jbas5/pom.xml 2009-07-29 18:14:18 UTC (rev 621)
+++ trunk/jbas5/pom.xml 2009-07-29 18:14:30 UTC (rev 622)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.jopr</groupId>
<artifactId>jopr-embedded-parent</artifactId>
- <version>1.3.0.GA</version>
+ <version>1.3.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.jopr</groupId>
@@ -14,8 +14,8 @@
<name>JBossAS 5.x Administration Console</name>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA/jbas5</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA/jbas5</developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/trunk/jbas5/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/jbas5/</developerConnection>
</scm>
<properties>
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-07-29 18:14:18 UTC (rev 621)
+++ trunk/pom.xml 2009-07-29 18:14:30 UTC (rev 622)
@@ -30,7 +30,7 @@
<groupId>org.jboss.jopr</groupId>
<artifactId>jopr-embedded-parent</artifactId>
- <version>1.3.0.GA</version>
+ <version>1.3.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Embedded Jopr</name>
<description>a web application that provides administration and monitoring of the app server instance to which it is deployed</description>
@@ -42,8 +42,8 @@
</organization>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_3_0_GA</developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/embjopr/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/embjopr/trunk/</developerConnection>
</scm>
<issueManagement>
15 years, 5 months