[jboss-svn-commits] JBoss Portal SVN: r5326 - in trunk/wsrp/src: main/org/jboss/portal/test/wsrp/deployment resources/test-deployment-lib-jar
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Oct 3 19:42:13 EDT 2006
Author: chris.laprun at jboss.com
Date: 2006-10-03 19:42:09 -0400 (Tue, 03 Oct 2006)
New Revision: 5326
Modified:
trunk/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java
trunk/wsrp/src/resources/test-deployment-lib-jar/test-wsrp.xml
Log:
Updated tests to bypass problem with BEA's public producer being down. Still need long term resolution.
Modified: trunk/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java 2006-10-03 23:38:52 UTC (rev 5325)
+++ trunk/wsrp/src/main/org/jboss/portal/test/wsrp/deployment/DeploymentTestCase.java 2006-10-03 23:42:09 UTC (rev 5326)
@@ -92,14 +92,14 @@
service = services.get(2);
assertTrue(service instanceof WSRPConsumerService);
WSRPConsumerService service3 = (WSRPConsumerService)service;
- assertEquals("bea", service3.getId());
+ assertEquals("producer1", service3.getId());
WSRPConsumer consumer3 = service3.getConsumer();
assertEquals(120, consumer3.getExpirationCacheSeconds().intValue());
ServiceFactory serviceFactory = consumer3.getServiceFactory();
assertNotNull(serviceFactory);
assertTrue(serviceFactory instanceof RemoteSOAPInvokerServiceFactory);
RemoteSOAPInvokerServiceFactory remoteServiceFactory = (RemoteSOAPInvokerServiceFactory)serviceFactory;
- assertEquals("http://wsrp.bea.com:7001/producer/producer?WSDL", remoteServiceFactory.getWsdlDefinitionURL());
+ assertEquals("http://portalstandards.oracle.com/portletapp/portlets?WSDL", remoteServiceFactory.getWsdlDefinitionURL());
RegistrationData registrationData = consumer3.getRegistrationData();
assertNotNull(registrationData);
assertEquals("JBoss Portal 2.4 Test", registrationData.getConsumerName());
@@ -116,8 +116,8 @@
assertEquals("value", property.getStringValue());
service = services.get(3);
- service3 = (WSRPConsumerService) service;
- assertEquals("oracle", service3.getId());
+ service3 = (WSRPConsumerService)service;
+ assertEquals("producer2", service3.getId());
consumer3 = service3.getConsumer();
assertNotNull(consumer3.getRegistrationData());
assertEquals("JBoss Portal 2.4 Test", registrationData.getConsumerName());
Modified: trunk/wsrp/src/resources/test-deployment-lib-jar/test-wsrp.xml
===================================================================
--- trunk/wsrp/src/resources/test-deployment-lib-jar/test-wsrp.xml 2006-10-03 23:38:52 UTC (rev 5325)
+++ trunk/wsrp/src/resources/test-deployment-lib-jar/test-wsrp.xml 2006-10-03 23:42:09 UTC (rev 5326)
@@ -23,9 +23,9 @@
</deployment>
<deployment>
<wsrp-producer>
- <producer-id>bea</producer-id>
+ <producer-id>producer1</producer-id>
<expiration-cache>120</expiration-cache>
- <endpoint-wsdl-url>http://wsrp.bea.com:7001/producer/producer?WSDL</endpoint-wsdl-url>
+ <endpoint-wsdl-url>http://portalstandards.oracle.com/portletapp/portlets?WSDL</endpoint-wsdl-url>
<registration-data>
<consumer-name>JBoss Portal 2.4 Test</consumer-name>
<property>
@@ -43,8 +43,13 @@
</deployment>
<deployment>
<wsrp-producer>
- <producer-id>oracle</producer-id>
- <endpoint-wsdl-url>http://portalstandards.oracle.com/portletapp/portlets?WSDL</endpoint-wsdl-url>
+ <producer-id>producer2</producer-id>
+ <endpoint-config>
+ <service-description-url>service-description-3</service-description-url>
+ <markup-url>markup-3</markup-url>
+ <registration-url>registration-3</registration-url>
+ <portlet-management-url>portlet-management-3</portlet-management-url>
+ </endpoint-config>
<registration-data>
<consumer-name>JBoss Portal 2.4 Test</consumer-name>
</registration-data>
More information about the jboss-svn-commits
mailing list