From overlord-commits at lists.jboss.org Sat Nov 15 08:08:32 2008 Content-Type: multipart/mixed; boundary="===============0526753245455224662==" MIME-Version: 1.0 From: overlord-commits at lists.jboss.org To: overlord-commits at lists.jboss.org Subject: [overlord-commits] Overlord SVN: r445 - cdl/trunk/docs/docbook/samplesguide/src/main/module. Date: Sat, 15 Nov 2008 08:08:31 -0500 Message-ID: --===============0526753245455224662== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: jeff.yuchang Date: 2008-11-15 08:08:31 -0500 (Sat, 15 Nov 2008) New Revision: 445 Modified: cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlconformance.xml cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlvalidator.xml Log: * Add the hot-deploy issue warnning in the samples guide. * Restructure the 'ant deploy-error-client' explanation. = Modified: cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlconformanc= e.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 --- cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlconformance.xml = 2008-11-14 15:59:58 UTC (rev 444) +++ cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlconformance.xml = 2008-11-15 13:08:31 UTC (rev 445) @@ -11,6 +11,11 @@ These examples make use of a common Credit Agency ser= vice, defined within the common-creditAgency Eclipse p= roject, and are executed through the use of client applications defined in = the ${OverlordCDL}/samples/client folder. = + + At the moment, the conversation aware ESB runtime doesn't support the = hot-deploy. That means if you update the business pojo class, such as $creditAgency/src/main/com/acme/services/creditAgency/Cr= editAgencyPurchase.java file, + You need to re-deploy it, and then restart the= server to cause it to take effect. This issue has been tracked= under https://ji= ra.jboss.org/jira/browse/SOAG-72. Will be fixed in the next release. + = + =
Purchasing Example = Modified: cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlvalidator.= 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 --- cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlvalidator.xml 20= 08-11-14 15:59:58 UTC (rev 444) +++ cdl/trunk/docs/docbook/samplesguide/src/main/module/cdlvalidator.xml 20= 08-11-15 13:08:31 UTC (rev 445) @@ -92,34 +92,39 @@ -Edit the LoanBroker.java in the $Overlord/samples/trailblazer/cl= ient/src/org/jboss/soa/esb/samples/trailblazer/loanbroker folder + Run the ant task ant deploy-error-client to redeploy the trailblaizer example. + = + + Run the commands from step 6 above. - -Find the following code within the processLoanRequest= method, and change the 4 to a 7 - + + + The above steps show how changing the service implementation without upd= ating a choreography can result in behavioural validation errors being dete= cted. = + + + What is changed when we run ant deploy-error-client + + Compared to command of ant deploy, b= asically, we have just updated the following code in + $Overlord/samples/trailblazer/client/src/org/jb= oss/soa/esb/samples/trailblazer/loanbroker/LoanBroker.java file. + + + In the following code within the processLoanRequ= est method, we've changed the "4" to "7" + = - //step 2 - check if score is acceptable - = + //step 2 - check if score is acceptable = if (score >=3D 4) { - - -Re-deploy the trailblazer example (step 7 above) - - -Issue further loan requests, remembering to change the quote reference eac= h time, until a Credit Check result of between 4 and 6 inclusive occurs, wh= ich will result in an out of sequence message being reported (in red) to th= e Choreography Monitor - - -It is currently a requirement that the choreography used within the Choreo= graphy Monitor is the same as the description used to locally monitor the s= ervices (i.e. within the overlord-cdl-validator.esb/models directory). - - - - + + = + = - + Issue further loan requests, remembering to change the quote reference ea= ch time, until a Credit Check result of between 4 and 6 inclusive occurs, w= hich will result in an out of sequence message being reported (in red) to t= he Choreography Monitor = - -The above steps show how changing the service implementation without updat= ing a choreography can result in behavioural validation errors being detect= ed. The other way to demonstrate the effect of this change is to simply run= the ant task: ant deploy-error-client, = from the $Overlord/samples/trailblazer folder, which a= chieves the same results. + + + It is currently a requirement that the choreography used within the Chor= eography Monitor is the same as the description used to locally monitor the= services (i.e. within the overlord-cdl-validator.esb/models directory). + + = =
--===============0526753245455224662==--