From riftsaw-commits at lists.jboss.org Fri Jan 29 09:03:02 2010
Content-Type: multipart/mixed; boundary="===============0086743182574745433=="
MIME-Version: 1.0
From: riftsaw-commits at lists.jboss.org
To: riftsaw-commits at lists.jboss.org
Subject: [riftsaw-commits] riftsaw SVN: r482 - in trunk: integration-tests and
5 other directories.
Date: Fri, 29 Jan 2010 09:03:02 -0500
Message-ID: <201001291403.o0TE32KS025917@svn01.web.mwc.hst.phx2.redhat.com>
--===============0086743182574745433==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: objectiser
Date: 2010-01-29 09:03:01 -0500 (Fri, 29 Jan 2010)
New Revision: 482
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/Q=
uickstartBPELHelloWorldExtendedTimeoutTestCase.java
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/bpel/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/bpel/HelloWorld.bpel
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/bpel/HelloWorld.wsdl
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/bpel/test.endpoint
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/build.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/messages/
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/messages/hello_request1.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hello=
_world_extended_timeout/messages/hello_response1.xml
Modified:
trunk/docs/docbook/userguide/src/main/module/deploy.xml
trunk/integration-tests/build.xml
Log:
RIFTSAW-156 - added test for extended timeout period, and docs for adding t=
he .endpoint config files into the UserGuide.
Modified: trunk/docs/docbook/userguide/src/main/module/deploy.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-01-28 17:1=
6:14 UTC (rev 481)
+++ trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-01-29 14:0=
3:01 UTC (rev 482)
@@ -243,4 +243,78 @@
=
+
+ Changing Endpoint Configuration Properties
+
+
+ Apache ODE provides the means to customise certain properties, as=
sociated with a
+ BPEL endpoint, by specifying the properties in a file with an ext=
ension of
+ .endpoint.
+
+ =
+
+ For information on the properties that can be specified in this f=
ile,
+ please see the Apache ODE documentation, located at:
+ http://ode.apache.org/endpoint-configuration.html.
+
+ =
+
+ This section explains how to deploy these .endpoint
+ files as part of a RiftSaw deployment.
+
+ =
+
+ Apache ODE supports two locations for finding these .en=
dpoint
+ files. A 'global' configuration folder, which by default is
+ ode/WEB-INF/conf, and a process deployment s=
pecific
+ location, which is ode/WEB-INF/processes/$your_process<=
/filename>.
+ Properties associated with the 'global' configuration override an=
y property
+ values provided in the process specific location.
+
+ =
+
+ RiftSaw currently does not support a 'global' configuration locat=
ion, so it
+ will only obtain the configuration files from the deployed BPEL b=
undle. More
+ specifically, from the root location within the BPEL deployment u=
nit, along
+ side the BPEL deployment descriptor.
+
+ =
+
+ So, for example, if you place a file called test.endpoi=
nt
+ in the ${RiftSaw}/samples/quickstart/hello_world/bpelCo=
ntent
+ folder, with the following content:
+
+ =
+
+
+ # 3 minutes
+ mex.timeout=3D180000
+
+
+ =
+
+ then once deployed, the helloworld example could wait up to a maximum=
of 3 minutes to respond.
+ To test this out, edit the hello_world.bpel and =
insert
+ a wait activity before the response - similar to=
the
+ following:
+
+ =
+
+
+ 'PT150S'
+
+ ]]>
+
+
+
+ This will wait 2 minutes 30 seconds before responding, which is 30 seco=
nds
+ more than the default timeout, but still within the new timeout period
+ specified within the test.endpoint file. If you th=
en
+ wish to try forcing the timeout to occur, simply increase the wait
+ duration to 3 minutes 30 seconds, and resubmit the test message using t=
he
+ ant sendhello command. =
+
+ =
+
Modified: trunk/integration-tests/build.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/build.xml 2010-01-28 17:16:14 UTC (rev 481)
+++ trunk/integration-tests/build.xml 2010-01-29 14:03:01 UTC (rev 482)
@@ -123,6 +123,7 @@
=
+
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/sampl=
es/QuickstartBPELHelloWorldExtendedTimeoutTestCase.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/=
QuickstartBPELHelloWorldExtendedTimeoutTestCase.java =
(rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/=
QuickstartBPELHelloWorldExtendedTimeoutTestCase.java 2010-01-29 14:03:01 UT=
C (rev 482)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_hello_world_extended_timeout =
sample.
+ */
+public class QuickstartBPELHelloWorldExtendedTimeoutTestCase extends RiftS=
awTest {
+
+ private static final String TEST_NAME =3D "Quickstart_bpel_hello_world_ex=
tended_timeout";
+
+ public QuickstartBPELHelloWorldExtendedTimeoutTestCase() {
+ super(TEST_NAME);
+ }
+ =
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartBPELHelloWorldExtendedTimeoutTestC=
ase.class,
+ TEST_NAME, "Quickstart_bpel_hello_world_extended_timeout-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=3DsendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/Quickstart_bpel_hello_world_extended_timeoutWS=
");
+ =
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/bpel/HelloWorld.bpel
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/HelloWorld.bpel (rev =
0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/HelloWorld.bpel 2010-01-29 14:03:01 UTC (rev =
482)
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+ =
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ concat($mesgVar,' World')
+
+
+
+
+ 'PT150S'
+
+
+
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/bpel/HelloWorld.wsdl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/HelloWorld.wsdl (rev =
0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/HelloWorld.wsdl 2010-01-29 14:03:01 UTC (rev =
482)
@@ -0,0 +1,67 @@
+
+
+
+ =
+
+
+
+ =
+
+
+
+
+ =
+
+ =
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/bpel/bpel-deploy.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/bpel-deploy.xml (rev =
0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/bpel-deploy.xml 2010-01-29 14:03:01 UTC (rev =
482)
@@ -0,0 +1,30 @@
+
+
+
+
+
+ true
+
+
+
+
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/bpel/test.endpoint
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/test.endpoint (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/bpel/test.endpoint 2010-01-29 14:03:01 UTC (rev 48=
2)
@@ -0,0 +1,4 @@
+
+# 3 minutes
+mex.timeout=3D180000
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/build.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/build.xml 2010-01-29 14:03:01 UTC (rev 482)
@@ -0,0 +1,30 @@
+
+ =
+ =
+ ${ant.project.name}
+ ${line.separator}
+
+ =
+
+ =
+
+
+
+
+ =
+
+ Deploy ${ant.project.name}
+
+
+ =
+
+
+
+ =
+ =
+
+ Undeploy ${ant.project.name}
+
+ =
+ =
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/messages/hello_request1.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/messages/hello_request1.xml =
(rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/messages/hello_request1.xml 2010-01-29 14:03:01 UT=
C (rev 482)
@@ -0,0 +1,8 @@
+
+
+
+
+ Hello
+
+
+
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_h=
ello_world_extended_timeout/messages/hello_response1.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/messages/hello_response1.xml =
(rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_bpel_hell=
o_world_extended_timeout/messages/hello_response1.xml 2010-01-29 14:03:01 U=
TC (rev 482)
@@ -0,0 +1 @@
+Hello World
\ No newline at end of file
--===============0086743182574745433==--