<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Intalio Workflow Tempo</title>
	<atom:link href="http://intaliotempo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://intaliotempo.wordpress.com</link>
	<description>Processes, Workflow and People</description>
	<lastBuildDate>Tue, 16 Feb 2010 02:23:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='intaliotempo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f1337c0d5653f0e5fc601e14846f0bb5?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Intalio Workflow Tempo</title>
		<link>http://intaliotempo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://intaliotempo.wordpress.com/osd.xml" title="Intalio Workflow Tempo" />
	<atom:link rel='hub' href='http://intaliotempo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Workflow: New, Clean, Updated and UI on boost with JQuery 1.4</title>
		<link>http://intaliotempo.wordpress.com/2010/02/16/workflow-new-clean-updated-and-ui-on-boost-with-jquery-1-4/</link>
		<comments>http://intaliotempo.wordpress.com/2010/02/16/workflow-new-clean-updated-and-ui-on-boost-with-jquery-1-4/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 02:23:42 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=282</guid>
		<description><![CDATA[Discovering the already 1-month old super fast awesome JQuery 1.4, (what&#8217;s new?) we have integrated it seamlessly in our current user task list, and it turns out we only gained speed and reduced the number of bugs. Kudos to the developers. That was the sweetest upgrade ever. Not a single glitch. To celebrate, realized it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=282&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Discovering the already 1-month old super fast awesome JQuery 1.4, (<a href="http://net.tutsplus.com/tutorials/javascript-ajax/jquery-1-4-released-the-15-new-features-you-must-know/">what&#8217;s new?</a>) we have integrated it seamlessly in our current user task list, and it turns out we only gained speed and reduced the number of bugs. Kudos to the developers. That was the sweetest upgrade ever. Not a single glitch.</p>
<p>To celebrate, realized it was due time to make a quick new Tempo release. Things done, and the release itself can be found on the intalio.org maven repository:</p>
<p style="text-align:center;"><a href="http://www.intalio.org/public/maven2/org/intalio/jetty/tempo-jetty7/6.0.4.001/" target="_blank">http://www.intalio.org/public/maven2/org/intalio/jetty/tempo-jetty7/6.0.4.001/</a></p>
<p style="text-align:left;">And mostly includes updated version of the core components:</p>
<ul>
<li><a href="http://ode.apache.org/getting-ode.html">Ode</a> 1.3.4 (1.3.3 +)</li>
<li><a href="http://tempo.intalio.org/">Tempo</a> 6.0.4.002</li>
</ul>
<p style="text-align:left;">The build can be recreated simply by using the <a href="http://github.com/intalio/tempo/blob/master/rsc/scripts/tempo_builder_jetty.rb">tempo_builder_jetty.rb script</a>, which relies on a clean and working <a href="http://buildr.apache.org/">buildr</a> installation.</p>
<p style="text-align:left;">The build can be started by following the two simple steps:</p>
<ul>
<li>create a mysql <strong>bpms</strong> database, and import the ode tables found in the <strong>bpms.sql</strong> file</li>
<li>start the server using <strong>./bin/jetty.sh run</strong></li>
</ul>
<p style="text-align:left;">The build process itself is pulling out all sorts of artifacts from different repository, so I decided to clean the dust and push out a quick diagram so that it&#8217;s easier to know what&#8217;s who and where (<a href="http://en.wikipedia.org/wiki/Where_in_the_World_Is_Carmen_Sandiego%3F_%28game_show%29" target="_blank">in the world is Carmen San Diego?</a>)</p>
<p><a href="http://intaliotempo.files.wordpress.com/2010/02/tempo-git-repo-structure.png"><img class="aligncenter size-full wp-image-281" title="tempo git repo structure" src="http://intaliotempo.files.wordpress.com/2010/02/tempo-git-repo-structure.png?w=600&#038;h=479" alt="" width="600" height="479" /></a>A click-able version of the diagram is <a href="http://www.intalio.org/public/tempo/tempo%20git%20repo%20structure.pdf">here</a>.</p>
<p><span style="color:#888888;"><em>Disclaimer notes:</em></span></p>
<ul>
<li><span style="color:#888888;"><em>This release does not include the windows binaries to start the jetty server.</em></span></li>
<li><span style="color:#888888;"><em>This release has only been tested on a minimum number of configurations, and there is absolutely no warranty it will work in your environment.</em></span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=282&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2010/02/16/workflow-new-clean-updated-and-ui-on-boost-with-jquery-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2010/02/tempo-git-repo-structure.png" medium="image">
			<media:title type="html">tempo git repo structure</media:title>
		</media:content>
	</item>
		<item>
		<title>SOAP UI, Regression Testing of Human based processes, using Groovy scripts or SOAP UI Steps</title>
		<link>http://intaliotempo.wordpress.com/2009/12/01/soap-ui-regression-testing-of-human-based-processes/</link>
		<comments>http://intaliotempo.wordpress.com/2009/12/01/soap-ui-regression-testing-of-human-based-processes/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 17:21:33 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=255</guid>
		<description><![CDATA[We have been using SOAP UI for regression and load testing of workflow. SOAP UI can be downloaded for free from the soapui.org website. Our story today is to test the absence request, which is basically a five step human workflow: init process from a human task create an activity task, complete the activity task, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=255&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have been using SOAP UI for regression and load testing of workflow. SOAP UI can be downloaded for free from the <a href="http://www.soapui.org/">soapui.org</a> website.</p>
<p>Our story today is to test the absence request, which is basically a five step human workflow:</p>
<ul>
<li>init process from a human task</li>
<li>create an activity task,</li>
<li>complete the activity task,</li>
<li>create a notification, and</li>
<li>dismiss the notification</li>
</ul>
<p>The graphical BPMN looks something similar to this:</p>
<ul><img class="size-full wp-image-256 alignleft" title="absencerequest" src="http://intaliotempo.files.wordpress.com/2009/12/absencerequest.png?w=600&#038;h=269" alt="" width="600" height="269" /></ul>
<p>We are going to also add a new call to the authentication service, provided on the runtime, so that we can retrieve the authentication token and re-use it throughout the test case.</p>
<h3>1. Standard SOAP UI Testing</h3>
<p>The actual SOAP UI test case will then look like this:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-7-03-02-pm.png"><img class="aligncenter size-full wp-image-257" title="Screen shot 2009-12-01 at 7.03.02 PM" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-7-03-02-pm.png?w=491&#038;h=378" alt="" width="491" height="378" /></a>Let&#8217;s go through the different steps:</p>
<ol>
<li><strong>AuthenticateUser</strong>: Send a request to the security service and retrieve the security token<a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-06-16-pm.png"><img class="aligncenter size-full wp-image-258" title="Screen shot 2009-12-01 at 9.06.16 PM" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-06-16-pm.png?w=579&#038;h=166" alt="" width="579" height="166" /></a></li>
<li><strong>CopyToken</strong>: This steps copies the token retrieve from the call to the security service to the request we are about to make to TMS.</li>
<li><strong>GetPipa</strong>: Send a request to TMS.getAvailableTasks, targeted for the pipa of the absence request. We retrieve only one task from this call</li>
<li><strong>CopyTokenAndPipaId</strong>: Similar to 2, we copy the token, and also the taskId of the pipa task, collected from 3</li>
<li><strong>initProcess</strong>: Send a request to TMS.initProcess that will then call the process engine to start the process accordingly.<br />
This steps is equivalent to the action of pressing the <em>start button</em> in the form manager: <a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-27-49-pm.png"><img class="aligncenter size-full wp-image-261" title="Screen shot 2009-12-01 at 9.27.49 PM" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-27-49-pm.png?w=83&#038;h=36" alt="" width="83" height="36" /></a></li>
<li><strong>CopyTokenToGetTasks</strong>: Copy the security token.</li>
<li><strong>Delay</strong>: We need to wait for the task to be assigned to our current user, according to the process. <em>We are now at the step describe below:</em><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-15-21-pm.png"><img class="aligncenter size-full wp-image-259" title="Screen shot 2009-12-01 at 9.15.21 PM" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-15-21-pm.png?w=164&#038;h=145" alt="" width="164" height="145" /></a></li>
<li><strong>GetActivityTasks</strong>: Now that the activity task &#8220;Request Manager Approval&#8221; should be in the task list, let&#8217;s retrieve its id</li>
<li><strong>CopyActivityTaskId</strong>: Copy token and taskId for the next request</li>
<li><strong>Complete</strong>: This one is called on TMP, the TaskManagementProcess, because it handles the task lifecycle.<br />
The endpoint for TMP can be found locally at: <a href="http://localhost:8080/ode/processes/completeTask?wsdl">http://localhost:8080/ode/processes/completeTask?wsdl</a><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-21-21-pm.png"><img class="aligncenter size-full wp-image-260" title="Screen shot 2009-12-01 at 9.21.21 PM" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-21-21-pm.png?w=185&#038;h=92" alt="" width="185" height="92" /></a>This step does the same as filling the form of the activity task and using the <em>complete button </em>of the form manager.<br />
<a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-28-00-pm.png"><img class="aligncenter size-full wp-image-262" title="Complete" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-28-00-pm.png?w=106&#038;h=35" alt="" width="106" height="35" /></a></li>
<li><strong>GetNotification</strong>: Calling TMS.getAvailableTasks this time again, but with Notification in state READY as a target.</li>
<li><strong>CompleteNotification</strong>: This would be the same as pressing the <em>Dismiss button</em><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-28-22-pm1.png"><img class="aligncenter size-full wp-image-264" title="Dismiss" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-28-22-pm1.png?w=97&#038;h=35" alt="Dismiss button in form manager" width="97" height="35" /></a></li>
</ol>
<h3>2. Testing through Groovy Scripting</h3>
<p>SoapUI has a very detailed documentation on how to <a href="http://www.soapui.org/userguide/functional/groovystep.html#Groovy_Script_Examples" target="_blank">write tests using groovy scripting with SOAP UI</a>.</p>
<p>This then looks like the screenshot below:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-22-22-pm.png"><img class="aligncenter size-full wp-image-267" title="Groovy Testing SoapUI Test" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-22-22-pm.png?w=323&#038;h=215" alt="Groovy Testing SoapUI Test" width="323" height="215" /></a></p>
<p>Only the Groovy Script is enabled.</p>
<p>A quick excerpt of the groovy script looks like this:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-30-08-pm.png"><img class="aligncenter size-full wp-image-268" title="Workflow Groovy Test Snippet" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-30-08-pm.png?w=459&#038;h=116" alt="Workflow Groovy Test Snippet" width="459" height="116" /></a></p>
<p>We then can go through all the same steps exposed into section 1.</p>
<h3>3. Download and run.</h3>
<p>The SOAP UI project for testing workflow and absence request can be found on <a href="http://github.com/intalio/tempo/tree/master/rsc/soapui/">github</a>.</p>
<p>After importing, you will see a summary of the project:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-38-47-pm.png"><img class="aligncenter size-full wp-image-269" title="Test Suite Overview" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-38-47-pm.png?w=600&#038;h=380" alt="Test Suite Overview" width="600" height="380" /></a></p>
<p>And you can run the two tests straight from the <strong><em>TestSuites </em></strong>tab.</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-39-24-pm.png"><img class="aligncenter size-full wp-image-270" title="Green Lights" src="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-39-24-pm.png?w=600&#038;h=230" alt="Green Lights" width="600" height="230" /></a></p>
<p>Now if you feel like contributing new <a href="http://github.com/hellonico/tempodevprocesses" target="_blank">workflow processes</a>, and new workflow test cases, <a href="http://groups.google.com/group/tempo-dev/topics" target="_blank">let us know</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=255&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/12/01/soap-ui-regression-testing-of-human-based-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/absencerequest.png" medium="image">
			<media:title type="html">absencerequest</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-7-03-02-pm.png" medium="image">
			<media:title type="html">Screen shot 2009-12-01 at 7.03.02 PM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-06-16-pm.png" medium="image">
			<media:title type="html">Screen shot 2009-12-01 at 9.06.16 PM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-27-49-pm.png" medium="image">
			<media:title type="html">Screen shot 2009-12-01 at 9.27.49 PM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-15-21-pm.png" medium="image">
			<media:title type="html">Screen shot 2009-12-01 at 9.15.21 PM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-21-21-pm.png" medium="image">
			<media:title type="html">Screen shot 2009-12-01 at 9.21.21 PM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-28-00-pm.png" medium="image">
			<media:title type="html">Complete</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-9-28-22-pm1.png" medium="image">
			<media:title type="html">Dismiss</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-22-22-pm.png" medium="image">
			<media:title type="html">Groovy Testing SoapUI Test</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-30-08-pm.png" medium="image">
			<media:title type="html">Workflow Groovy Test Snippet</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-38-47-pm.png" medium="image">
			<media:title type="html">Test Suite Overview</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/12/screen-shot-2009-12-01-at-10-39-24-pm.png" medium="image">
			<media:title type="html">Green Lights</media:title>
		</media:content>
	</item>
		<item>
		<title>2009 OpenSourceCamp/Apache BarCamp/Eclipse DemoCamp Joinup Event</title>
		<link>http://intaliotempo.wordpress.com/2009/11/26/2009-opensourcecampapache-barcampeclipse-democamp-joinup-event/</link>
		<comments>http://intaliotempo.wordpress.com/2009/11/26/2009-opensourcecampapache-barcampeclipse-democamp-joinup-event/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 03:22:00 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=248</guid>
		<description><![CDATA[We will be presenting at the OpenSourceCamp in Beijing, China this coming Saturday (November 28th 2009). We will be talking about all things open source at Intalio, Intalio&#124;Works, Tempo and quite a few interesting announcements. &#8220;Open Source Camp is ad-hoc and unconference event that brings together open source developer, Geek , entrepreneurs, academics, venture capitalists, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=248&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://intaliotempo.files.wordpress.com/2009/11/beijing_by_nico.png"><img class="aligncenter size-full wp-image-250" title="beijing_by_nico" src="http://intaliotempo.files.wordpress.com/2009/11/beijing_by_nico.png?w=600&#038;h=453" alt="" width="600" height="453" /></a></p>
<p>We will be presenting at the OpenSourceCamp in Beijing, China this coming Saturday (November 28th 2009). We will be talking about all things open source at Intalio, Intalio|Works, Tempo and quite a few interesting announcements.</p>
<p>&#8220;Open Source Camp is ad-hoc and unconference event that brings together open source developer, Geek , entrepreneurs, academics, venture capitalists, and technology influencer, tech media for an intense user-created conference about open source, emerging technology topics. It&#8217;s organized by the community, for the community. The event combines,sharing,learning,networking, and fun. Participants, who are experts and innovators in their fields, are also the presenters. The goal is to boost open source community and innovation around the world.</p>
<p>This year is special because we bring together Apache Barcamp and Eclipse DemoCamp at the same time and same place, it&#8217;s real communites collaboration and meetup.&#8221;</p>
<p>For more info:<a href="http://opensourcecamp2009.eventbrite.com/" target="_blank"> http://opensourcecamp2009.eventbrite.com/</a></p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/event_map.jpg"><img class="aligncenter size-full wp-image-249" title="event_map" src="http://intaliotempo.files.wordpress.com/2009/11/event_map.jpg?w=481&#038;h=325" alt="" width="481" height="325" /></a></p>
<p>See you there !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=248&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/11/26/2009-opensourcecampapache-barcampeclipse-democamp-joinup-event/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/beijing_by_nico.png" medium="image">
			<media:title type="html">beijing_by_nico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/event_map.jpg" medium="image">
			<media:title type="html">event_map</media:title>
		</media:content>
	</item>
		<item>
		<title>Update Human Task Metadata Implemented: Priority and other friends</title>
		<link>http://intaliotempo.wordpress.com/2009/11/16/update-human-task-metadata-implemented-priority-and-other-friends/</link>
		<comments>http://intaliotempo.wordpress.com/2009/11/16/update-human-task-metadata-implemented-priority-and-other-friends/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 14:47:13 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=233</guid>
		<description><![CDATA[A well needed addition to task management is now the possibility to edit metadata for an activity task. Say you look at your task list: And you feel you want to change the priority for this task. You would just have to click on the &#8220;Edit Task&#8221; button: That would trigger the jQuery-based dialog to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=233&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A well needed addition to task management is now the possibility to edit metadata for an activity task.</p>
<p>Say you look at your task list:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-09-am.png"><img class="aligncenter size-full wp-image-235" title="Tempo Task List" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-09-am.png?w=470&#038;h=100" alt="" width="470" height="100" /></a>And you feel you want to change the priority for this task. You would just have to click on the &#8220;Edit Task&#8221; button:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-9-52-16-am.png"><img class="aligncenter size-full wp-image-236" title="Edit Workflow Task" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-9-52-16-am.png?w=94&#038;h=48" alt="" width="94" height="48" /></a></p>
<p>That would trigger the jQuery-based dialog to edit the properties:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-20-am.png"><img class="aligncenter size-full wp-image-237" title="Edit Workflow Task Dialog" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-20-am.png?w=354&#038;h=394" alt="" width="354" height="394" /></a></p>
<p>We decide we want to raise the priority from 10 to 12, and click update.</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-26-am.png"><img class="aligncenter size-full wp-image-238" title="Task list with updated value" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-26-am.png?w=470&#038;h=94" alt="" width="470" height="94" /></a>The new task has its priority updated.</p>
<p>In the background, there is a new method in the Tempo Task Management Service, simply named <strong>update:</strong></p>
<p><strong><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-34-18-am.png"><img class="aligncenter size-full wp-image-239" title="Update Request WSDL definition" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-34-18-am.png?w=470&#038;h=145" alt="" width="470" height="145" /></a></strong></p>
<p>The request is made of the usual Single Sign On participant token to check the session credentials,  and of a task. The task with the same <strong>taskID</strong>, will be fetched from the persistence, and then fields will be updated after their input has been validated.</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-36-06-am1.png"><img class="aligncenter size-full wp-image-241" title="Update Method WSDL definition" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-36-06-am1.png?w=470&#038;h=86" alt="" width="470" height="86" /></a>The response for this call is simply the okResponse, and a few fault can be thrown in case of invalid input parameters.</p>
<p>There is also a coming version of that dialog with a *star rating*-like display for the priority field:</p>
<p><a href="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-39-24-am.png"><img class="aligncenter size-full wp-image-243" title="Priority Set a la Star Rating" src="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-39-24-am.png?w=120&#038;h=49" alt="" width="120" height="49" /></a><em>Et ..  <em>Voilà !<br />
</em></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=233&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/11/16/update-human-task-metadata-implemented-priority-and-other-friends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-09-am.png" medium="image">
			<media:title type="html">Tempo Task List</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-9-52-16-am.png" medium="image">
			<media:title type="html">Edit Workflow Task</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-20-am.png" medium="image">
			<media:title type="html">Edit Workflow Task Dialog</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-29-26-am.png" medium="image">
			<media:title type="html">Task list with updated value</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-34-18-am.png" medium="image">
			<media:title type="html">Update Request WSDL definition</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-36-06-am1.png" medium="image">
			<media:title type="html">Update Method WSDL definition</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/screen-shot-2009-11-17-at-11-39-24-am.png" medium="image">
			<media:title type="html">Priority Set a la Star Rating</media:title>
		</media:content>
	</item>
		<item>
		<title>Build with Jetty 7, Tempo, Ode, SSO w/ CAS, LDAP w/ ApacheDS on MYSQL</title>
		<link>http://intaliotempo.wordpress.com/2009/11/04/build-with-jetty-7-tempo-ode-sso-w-cas-ldap-w-apacheds-on-mysql/</link>
		<comments>http://intaliotempo.wordpress.com/2009/11/04/build-with-jetty-7-tempo-ode-sso-w-cas-ldap-w-apacheds-on-mysql/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 08:34:34 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=212</guid>
		<description><![CDATA[The Story Having the jetty guys nearby being one of the coolest thing of this year, we had to just kick off a build of the different Tempo components all running on the recently released Jetty 7. This is now done and available, and the least we can say, it&#8217;s fast. The Short The hassle [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=212&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>The Story</h2>
<p>Having the <a href="http://www.mortbay.org/jetty/">jetty guys</a> nearby being one of the coolest thing of this year, we had to just kick off a build of the different Tempo components all running on the recently released Jetty 7.</p>
<p>This is now done and <a href="http://www.intalio.org/public/maven2/org/intalio/jetty/tempo-jetty7/">available</a>, and the least we can say, it&#8217;s fast.</p>
<h2>The Short</h2>
<p>The hassle free version is along those lines:</p>
<ol>
<li>Download the zip file,</li>
<li>run the DB script for MySQL named bpms.sql found inside the release folder,</li>
<li>Start jetty, using the jetty.sh script.</li>
</ol>
<h2>The Long</h2>
<p>The long non-short version, meaning that you can fully reproduce the build yourself, is described below:</p>
<p>Most is based by configuring the different versions of the components you want to use and then simply running the following ruby <a href="http://github.com/intalio/tempo/blob/master/rsc/scripts/tempo_builder_jetty.rb">script</a>.</p>
<p>Here are all the necessary steps you need to go through to reproduce the build on your own machine:</p>
<ol>
<li>Get yourself a <a href="http://openjdk.java.net/">JDK</a> installed
<ul>
<li>Define JAVA_HOME properly</li>
</ul>
</li>
<li>Install <a href="http://www.ruby-lang.org/en/">Ruby</a>, Ruby <a href="http://docs.rubygems.org/">gems</a>, and add the gems/bin folder to your path</li>
<li>Install the following gems: <a href="http://buildr.apache.org/">buildr</a>, <a href="http://wiki.github.com/hpricot/hpricot">hpricot</a> and their dependencies
<ul>
<li>When using jruby, use hpricot version 0.6, and install jruby-openssl</li>
</ul>
<ul>
<li>while we&#8217;re at it, you may need ssl-dev on linux</li>
</ul>
</li>
<li>Install <a href="http://git-scm.com/">git</a>, and clone the <a href="http://github.com/intalio/tempo">tempo public repository</a></li>
<li>Install <a href="http://dev.mysql.com/downloads/">MySQL</a> (with GUI client if needed)
<ul>
<li>Create the <strong>bpms</strong> database in mysql, and run the script named bpms.sql found in the build folder</li>
</ul>
</li>
<li>Run the script, by running the script ./rsc/script/tempo_builder_jetty.rb (edit the versions directly within that files if you want)
<ul>
<li>The resulting build is in the newly created <strong>target</strong> folder</li>
</ul>
</li>
<li>Run <a href="http://www.mortbay.org/">jetty</a>, <strong>./bin/jetty.sh run</strong></li>
<li>Access <a href="http://localhost:8080/ui-fw">http://localhost:8080/ui-fw</a>, and you should be redirected to the <a href="http://www.jasig.org/cas">CAS</a> login page for integrated Single Sign On
<ul>
<li>The secret login is <strong>admin/changeit</strong>, and you can add change users by defining some more in <strong>LDAP</strong>/<a href="http://directory.apache.org/">ApacheDS</a></li>
</ul>
</li>
<li>You are logged in and can now see your tasks and <a href="http://en.wikipedia.org/wiki/Time_management">start working</a>.</li>
</ol>
<h2>The beginning</h2>
<p style="text-align:left;">You are ready to &#8230;</p>
<p style="text-align:center;"><img class="size-full wp-image-222   aligncenter" title="contribute" src="http://intaliotempo.files.wordpress.com/2009/11/contribute.jpg?w=470&#038;h=295" alt="contribute" width="470" height="295" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=212&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/11/04/build-with-jetty-7-tempo-ode-sso-w-cas-ldap-w-apacheds-on-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/11/contribute.jpg" medium="image">
			<media:title type="html">contribute</media:title>
		</media:content>
	</item>
		<item>
		<title>Workflow, DMS, Nuxeo: cool update for attaching documents in Tempo</title>
		<link>http://intaliotempo.wordpress.com/2009/09/04/workflow-dms-nuxeo-cool-update-for-attaching-documents-in-tempo/</link>
		<comments>http://intaliotempo.wordpress.com/2009/09/04/workflow-dms-nuxeo-cool-update-for-attaching-documents-in-tempo/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 00:16:22 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=189</guid>
		<description><![CDATA[I had to check on how the CMIS support was implemented in Nuxeo, and a few other CMS/DMS platforms. Went on doing my duties and realized we had no support to store attachments in Nuxeo for Tempo. So here I go, spending a late evening on my way back in the last train for Yokohama [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=189&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had to check on how the <a href="http://en.wikipedia.org/wiki/Content_Management_Interoperability_Services">CMIS</a> support was implemented in <a href="http://www.nuxeo.org/">Nuxeo</a>, and a few other CMS/DMS platforms. Went on doing my duties and realized we had no support to store attachments in Nuxeo for Tempo. So here I go, spending a late evening on my way back in the last train for <a href="http://wikitravel.org/en/Yokohama">Yokohama</a> to code that and push it to <a href="github.com/intalio/tempo/">github</a>.</p>
<p>They have quite a cool remote api that they have named <a href="http://doc.nuxeo.org/5.1/books/nuxeo-book/html/nuxeo-restlet-api.html">restlet api</a>, that you can use to  execute your favorite remote CRUD operations, along a few others. It came out the api is easy to learn and here we go for a few screenshots to show how it works now.</p>
<p>Note that this suppose you have a running nuxeo server, (<a href="http://www.nuxeo.com/en/downloads/">download here</a>) with the restpack <a href="http://doc.nuxeo.org/5.1/books/nuxeo-book/html/nuxeo-restlet-api.html#d2015e6579">installed</a>.</p>
<p>Below is how you configure the <a href="http://www.intalio.org/confluence/display/TEMPO/Attachment+Service">TaskAttachmentService</a> (in tempo-tas.xml) to use the NuxeoStorageStrategy.</p>
<p><img class="aligncenter size-full wp-image-191" title="Screen shot 2009-09-04 at 8.21.46 AM" src="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-21-46-am.png?w=470&#038;h=75" alt="Screen shot 2009-09-04 at 8.21.46 AM" width="470" height="75" />Nothing special here. Just note that the folder named <strong>repoName </strong>will be created on demand.</p>
<p>Let&#8217;s go to edit an activity task in Tempo and attach a file, here named <strong>beach7.jpg</strong><br />
<img class="aligncenter size-full wp-image-192" title="Screen shot 2009-09-04 at 8.39.06 AM" src="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-06-am.png?w=470&#038;h=255" alt="Screen shot 2009-09-04 at 8.39.06 AM" width="470" height="255" /></p>
<p>The file has been uploaded, and is now an attachment for that task.<img class="aligncenter size-full wp-image-201" title="Screen shot 2009-09-04 at 8.43.35 AM" src="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-43-35-am.png?w=470&#038;h=57" alt="Screen shot 2009-09-04 at 8.43.35 AM" width="470" height="57" /></p>
<p>So let&#8217;s go and see on the Nuxeo side what happens. Let&#8217;s log in and browse around a bit.</p>
<p><img class="aligncenter size-full wp-image-197" title="Screen shot 2009-09-04 at 8.39.28 AM" src="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-28-am1.png?w=425&#038;h=216" alt="Screen shot 2009-09-04 at 8.39.28 AM" width="425" height="216" /></p>
<p>Note that the repository folder that we defined in the configuration file has been automatically created.</p>
<p><img class="aligncenter size-full wp-image-202" title="Screen shot 2009-09-04 at 8.39.35 AM" src="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-35-am2.png?w=470&#038;h=136" alt="Screen shot 2009-09-04 at 8.39.35 AM" width="470" height="136" /></p>
<p>Now we can display the image, straight from the task, or straight from Nuxeo.</p>
<p><img class="aligncenter size-full wp-image-203" title="Screen shot 2009-09-04 at 8.39.51 AM" src="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-51-am1.png?w=470&#038;h=332" alt="Screen shot 2009-09-04 at 8.39.51 AM" width="470" height="332" /></p>
<p>And a video to show, it&#8217;s <a href="http://www.intalio.org/public/tempo/tas-nuxeo.mov">As easy as ABC</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=189&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/09/04/workflow-dms-nuxeo-cool-update-for-attaching-documents-in-tempo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.intalio.org/public/tempo/tas-nuxeo.mov" length="4109015" type="video/quicktime" />
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-21-46-am.png" medium="image">
			<media:title type="html">Screen shot 2009-09-04 at 8.21.46 AM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-06-am.png" medium="image">
			<media:title type="html">Screen shot 2009-09-04 at 8.39.06 AM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-43-35-am.png" medium="image">
			<media:title type="html">Screen shot 2009-09-04 at 8.43.35 AM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-28-am1.png" medium="image">
			<media:title type="html">Screen shot 2009-09-04 at 8.39.28 AM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-35-am2.png" medium="image">
			<media:title type="html">Screen shot 2009-09-04 at 8.39.35 AM</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/09/screen-shot-2009-09-04-at-8-39-51-am1.png" medium="image">
			<media:title type="html">Screen shot 2009-09-04 at 8.39.51 AM</media:title>
		</media:content>
	</item>
		<item>
		<title>Automated Human Workflow with Tempo</title>
		<link>http://intaliotempo.wordpress.com/2009/08/27/automated-human-workflow-with-tempo/</link>
		<comments>http://intaliotempo.wordpress.com/2009/08/27/automated-human-workflow-with-tempo/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 02:28:06 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=182</guid>
		<description><![CDATA[Long time no post, so I am taking the opportunity of a customer request that came yesterday about documenting the different web services needed to automate a Tempo workflow through Intalio&#124;BPMS. What we want to achieve, is simply to control the different state of a Task through web services, so the task will appear in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=182&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Long time no post, so I am taking the opportunity of a customer request that came yesterday about documenting the different web services needed to automate a Tempo workflow through Intalio|BPMS.</p>
<p>What we want to achieve, is simply to control the different state of a Task through web services, so the task will appear in the task list of a user, and then get completed with a bit of custom data. You could integrate this in your process, by having the create part automated, or the complete part automated with custom data.</p>
<p>The process here is located on <a href="http://github.com/hellonico/tempodevprocesses/tree/master">github</a>, and the process is named CreateExample.</p>
<p><img class="aligncenter size-full wp-image-183" title="image" src="http://intaliotempo.files.wordpress.com/2009/08/image.jpg?w=469&#038;h=167" alt="image" width="469" height="167" /></p>
<p>The process starts with a form to initiate the process. This calls an endpoint created by Ode after this particular process has been deployed.  What happens then is that the user opens the form, and the form manager will eventually send an init request to the TaskManagementService.</p>
<p>The flow for initiating the process is shown in more details on the tempo wiki:, on the <a href="http://www.intalio.org/confluence/display/TEMPO/Data+and+service+flow+of+a+people+initiated+process">people initiated process page.</a></p>
<p>Then a bit of data mapping, before sending the create request to the static form responsible for the dynamic task to be created.</p>
<p><img class="aligncenter size-full wp-image-184" title="Picture 1" src="http://intaliotempo.files.wordpress.com/2009/08/picture-1.png?w=470&#038;h=451" alt="Picture 1" width="470" height="451" /></p>
<p>Last step, is to send the complete request to Task Manager Process, the process responsible for the Task Life cycle.</p>
<p><img class="aligncenter size-full wp-image-185" title="Picture 2" src="http://intaliotempo.files.wordpress.com/2009/08/picture-2.png?w=129&#038;h=236" alt="Picture 2" width="129" height="236" /></p>
<p>This is also largely explained less graphically in a test we have on github for tempo, totally manipulating every state of tasks through code, that code mostly sending http requests to the appropriate service. You can see that in this <a href="http://github.com/intalio/tempo/commits/master/tms-client/src/test/java/org/intalio/tempo/workflow/tms/client/dependent_tests/RemoteAbsenceRequestTest.java">junit java test</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=182&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/08/27/automated-human-workflow-with-tempo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/08/image.jpg" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/08/picture-1.png" medium="image">
			<media:title type="html">Picture 1</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/08/picture-2.png" medium="image">
			<media:title type="html">Picture 2</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery, SOAP, Ajax and updated UI for workflow</title>
		<link>http://intaliotempo.wordpress.com/2009/04/03/jquery-soap-ajax-and-updated-ui-for-workflow/</link>
		<comments>http://intaliotempo.wordpress.com/2009/04/03/jquery-soap-ajax-and-updated-ui-for-workflow/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 10:14:10 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=161</guid>
		<description><![CDATA[New UI, with jquery actions To enable the toolbar in the tempo task list, edit the tempo-ui-fw.xml in the config folder and set the following: &#60;property name=&#8221;useToolbarIcons&#8221; value=&#8221;true&#8221;/&#62; This will tell the UI to load the optional icons as seen in the screenshot below: Delete: delete the tasks from the task list, and also completely [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=161&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong></strong></p>
<h2>New UI, with jquery actions</h2>
<p style="text-align:center;"><img class="size-full wp-image-163 aligncenter" title="2" src="http://intaliotempo.files.wordpress.com/2009/03/2.jpg?w=470&#038;h=376" alt="2" width="470" height="376" /></p>
<p>To enable the toolbar in the tempo task list, edit the tempo-ui-fw.xml in the config folder and set the following:</p>
<p>&lt;property name=&#8221;useToolbarIcons&#8221; value=&#8221;true&#8221;/&gt;</p>
<p>This will tell the UI to load the optional icons as seen in the screenshot below:</p>
<h2><img class="aligncenter size-full wp-image-167" title="3" src="http://intaliotempo.files.wordpress.com/2009/04/3.jpg?w=348&#038;h=28" alt="3" width="348" height="28" /></h2>
<ul>
<li><strong>Delete: </strong>delete the tasks from the task list, and also completely from the database. This has been asked when the process had failed and the task was not relevant anymore for the process</li>
<li><strong>Claim/Revoke</strong>: this takes ownership of the task, and prevent the task from showing up into other users task list. Revoke does the opposite, give back the ownership, and other users can see and act on the task again. This will almost instantly change the icon related to the task, as shown below:<br />
<h2><img class="aligncenter size-full wp-image-173" title="8" src="http://intaliotempo.files.wordpress.com/2009/04/8.jpg?w=333&#038;h=55" alt="8" width="333" height="55" /></h2>
</li>
<li><strong>Reassign: </strong>You can reassign the task to other users or groups. This also dynamically loads users and roles from the RBAC service in tempo so  you can select from the drop down menus.<br />
<h2><img class="aligncenter size-full wp-image-168" title="4" src="http://intaliotempo.files.wordpress.com/2009/04/4.jpg?w=470&#038;h=282" alt="4" width="470" height="282" /></h2>
</li>
<li><strong>Skip: </strong>Put the task in a <strong><em>skipped</em></strong> state, so that it does not show in the task list anymore, but does not delete from the database either.</li>
<li><strong>Export: </strong>a common place to export to PDF, iCAL, CSV your own tasks.<br />
<h2><img class="aligncenter size-full wp-image-169" title="5" src="http://intaliotempo.files.wordpress.com/2009/04/5.jpg?w=344&#038;h=330" alt="5" width="344" height="330" /></h2>
</li>
</ul>
<h2>Jquery and SOAP</h2>
<p>I&#8221;ve used the excellent <a href="http://www.terracoder.com/soapclient/examples.html">SOAP Plugin for Jquery</a> which had almost everything out of the box ready to use cross site scripting, without which anything ajax won&#8217;t work.<br />
I just added a <a href="http://github.com/intalio/tempo/commits/master/ui-fw/src/main/webapp/script/proxy.jsp">quick forward proxy</a> implementation. What it does it just take the soap request from the client side of the UI, and forward them to any proper remote server, using awefuly simple java code. (Thanks <a href="http://hc.apache.org/httpclient-3.x/">http client</a>)</p>
<h2><strong>Add your own actions</strong></h2>
<p>The following <a href="http://github.com/intalio/tempo/commits/master/ui-fw/src/main/webapp/script/grids.jsp">file </a><a href="http://github.com/intalio/tempo/commits/master/ui-fw/src/main/webapp/script/grids.jsp">in github </a>has all the needed code you would want to add your own custom action. Go ahead and display that google map based on the geolocation of the logged user. The power is yours.</p>
<p><a href="http://jqueryui.com/">Jquery UI 1.7</a> has made its way in, so you can use its <a href="http://jqueryui.com/demos/dialog/">delicious dialogs</a> and other freebies.</p>
<h2>Session Timeout and server disconnect</h2>
<p>You can now configure the session timeout, as well as the ajax timeouts, as shown in tempo-ui-fw,xml.</p>
<p>&lt;property name=&#8221;sessionTimeout&#8221; value=&#8221;10&#8243;/&gt;  // in minutes<br />
&lt;property name=&#8221;ajaxTimeout&#8221; value=&#8221;10000&#8243;/&gt; // in milliseconds</p>
<p>In each case, this will show a dialog just like the one below:</p>
<h2><img class="aligncenter size-full wp-image-170" title="6" src="http://intaliotempo.files.wordpress.com/2009/04/6.jpg?w=340&#038;h=236" alt="6" width="340" height="236" /></h2>
<p>This will also prevent any misplaced client-side action. Here the <strong>log in again</strong> forces you to log back in again. Of course you could very well, implement your own handlers and custom code, to perform the login through the Token Service, or any other requirements you might have.</p>
<p>The ajax time out, is directly related to the ajax activity, and is used to detect when a server has gone down, and the connection has been lost. This will prevent the client side scripting to send unnecessary requests and over loads the server.</p>
<p>In regular activity, we&#8217;ve sligthly added some feedback with a custom ajax loading indicator,designed with <a href="http://www.webscriptlab.com/">webscript lab</a>.<img class="aligncenter size-full wp-image-172" title="7" src="http://intaliotempo.files.wordpress.com/2009/04/7.jpg?w=97&#038;h=32" alt="7" width="97" height="32" /></p>
<h2>Browser compatibility: IE6,7, Firefox, Safari, Opera</h2>
<p>With a little help from my friend, <a href="http://www.my-debugbar.com/wiki/IETester/HomePage">IETester</a>, I&#8217;ve gone through quite some extensive testing of the different browser resulting in a, hopefully, better user experience.</p>
<p><img class="aligncenter size-full wp-image-175" title="91" src="http://intaliotempo.files.wordpress.com/2009/04/91.jpg?w=470&#038;h=184" alt="91" width="470" height="184" /></p>
<p>I also finally understood how to make those horrible scrollbars disappear in an IE6 internal IFrame, which is by loading not a blank page, but an <a href="http://github.com/intalio/tempo/commits/master/ui-fw/src/main/webapp/script/empty.jsp">empty</a> page. Empty is not blank.</p>
<p class="primary large">and <!-- google_ad_section_start -->&#8220;i<!-- PluckIt ContentStart -->f actions are stronger than words, why is the pen mightier than the sword?&#8221; &#8230; (answer <a href="http://www.answerbag.com/q_view/83480">here</a>). Anyway, with IE6, I used everything I could find, Swords, pens and empty pages.</p>
<p class="primary large">Good news in the end, even safari and opera liked it.</p>
<p class="primary large"><img class="aligncenter size-full wp-image-178" title="10" src="http://intaliotempo.files.wordpress.com/2009/04/10.jpg?w=470&#038;h=262" alt="10" width="470" height="262" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=161&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/04/03/jquery-soap-ajax-and-updated-ui-for-workflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/03/2.jpg" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/3.jpg" medium="image">
			<media:title type="html">3</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/8.jpg" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/4.jpg" medium="image">
			<media:title type="html">4</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/5.jpg" medium="image">
			<media:title type="html">5</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/6.jpg" medium="image">
			<media:title type="html">6</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/7.jpg" medium="image">
			<media:title type="html">7</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/91.jpg" medium="image">
			<media:title type="html">91</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/04/10.jpg" medium="image">
			<media:title type="html">10</media:title>
		</media:content>
	</item>
		<item>
		<title>Tempo Tasks List Performance, Load Testing and some Ruby scripting</title>
		<link>http://intaliotempo.wordpress.com/2009/03/12/tempo-tasks-list-performance-load-testing-and-some-ruby-scripting/</link>
		<comments>http://intaliotempo.wordpress.com/2009/03/12/tempo-tasks-list-performance-load-testing-and-some-ruby-scripting/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 17:41:30 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=148</guid>
		<description><![CDATA[A customer reported some performance degradation with the task list under a bit of load, (~500 active tasks per user), so decided to have a quick look and boost off a bit the different components involved in sorting, displaying and all the jazz that the Tempo task list is doing. So, a few quick ruby [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=148&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A customer reported some performance degradation with the task list under a bit of load, (~500 active tasks per user), so decided to have a quick look and boost off a bit the different components involved in sorting, displaying and all the jazz that the Tempo task list is doing.</p>
<p><img class="aligncenter size-full wp-image-149" title="graphic24x7" src="http://intaliotempo.files.wordpress.com/2009/03/graphic24x7.jpg?w=227&#038;h=227" alt="graphic24x7" width="227" height="227" /></p>
<p>So, a few quick ruby scripts later, we&#8217;re ready to unleash a nice crafted bomb on the Workflow.</p>
<p>First one, <a href="http://github.com/intalio/tempo/blob/f93c06c589f487a0d562498ff8a9d9413f6ee407/rsc/samples/create_tasks.rb">create_tasks.rb</a>, allows you to load as many tasks as you want, most of the parameters are in the script, you can modify them at will. The default is to load a mere 5000 active tasks and I think this is going to be enough for the purpose of this post. Below is the time it took on a tomcat install, with persistence to derby, (worst case scenario).</p>
<blockquote><p>./create_tasks.rb  60.02s user 18.83s system 60% cpu 2:09.49 total</p></blockquote>
<p>That&#8217;s almost 100 tasks created per second.</p>
<p>Now I can log in with the default Tempo account in the task list, and look at all the loaded tasks:</p>
<p><img class="aligncenter size-full wp-image-150" title="picture-3" src="http://intaliotempo.files.wordpress.com/2009/03/picture-3.png?w=470&#038;h=43" alt="picture-3" width="470" height="43" />We do have the 5000 items, and believe me or not, (for now), the page loaded pretty quickly.</p>
<p>There is a <a href="http://github.com/intalio/tempo/blob/f93c06c589f487a0d562498ff8a9d9413f6ee407/rsc/samples/threaded_get_tasks.rb">threaded ruby client</a>, which sends requests to the server.</p>
<p>With 20 clients in parallel accessing each their *5000 tasks* task list, we got a sensible curve:</p>
<p><img class="aligncenter size-medium wp-image-152" title="timeperclients1" src="http://intaliotempo.files.wordpress.com/2009/03/timeperclients1.png?w=300&#038;h=146" alt="timeperclients1" width="300" height="146" /></p>
<p>Horizontally is the time since the start of the test, so all in all, it took 200 seconds for 20 clients to retrieve 20 times their task list.</p>
<p>Last, the script to <a href="http://github.com/intalio/tempo/blob/f93c06c589f487a0d562498ff8a9d9413f6ee407/rsc/samples/delete_tasks.rb">delete the tasks</a>, to remove all those annoying activity tasks we&#8217;ve created, and the server is back to its original freshness.</p>
<p>Now if some people are ready to use those scripts to test on different database, with remote clients, I would love to get the results.</p>
<p>Voila !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=148&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/03/12/tempo-tasks-list-performance-load-testing-and-some-ruby-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/03/graphic24x7.jpg" medium="image">
			<media:title type="html">graphic24x7</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/03/picture-3.png" medium="image">
			<media:title type="html">picture-3</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/03/timeperclients1.png?w=300" medium="image">
			<media:title type="html">timeperclients1</media:title>
		</media:content>
	</item>
		<item>
		<title>Embedded LDAP in 2 minutes (&#8230; and a bit of RBAC)</title>
		<link>http://intaliotempo.wordpress.com/2009/02/25/embedded-ldap-in-2-minutes-and-a-bit-of-rbac/</link>
		<comments>http://intaliotempo.wordpress.com/2009/02/25/embedded-ldap-in-2-minutes-and-a-bit-of-rbac/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 10:40:47 +0000</pubDate>
		<dc:creator>hellonico</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://intaliotempo.wordpress.com/?p=125</guid>
		<description><![CDATA[Embedded LDAP in 2 minutes Running a standalone LDAP server is rather easy. Getting that server to be embedded in your server may be slightly different. ApacheDS has quite a few links to do it properly, but you need to do some gymnastics to compile the war file, set it up, start the server and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=125&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>Embedded LDAP in 2 minutes</h1>
<p>Running a standalone LDAP server is rather easy.<br />
Getting that server to be embedded in your server may be slightly different.</p>
<p><a href="http://directory.apache.org/">ApacheDS</a> has quite a <a href="http://directory.apache.org/apacheds/1.5/41-embedding-apacheds-into-an-application.html">few</a> <a href="http://cwiki.apache.org/DIRxSRVx11/embedding-apacheds-as-a-web-application.html">links</a> to do it properly, but you need to do some gymnastics to compile the war file, set it up, start the server and finally get it working with different domains.</p>
<p>As part of the migration of Tempo to <a href="http://github.com/intalio/tempo/tree/master">github</a>, we also got the ApacheDS code in its own github <a href="http://github.com/intalio/apacheds/tree/master">fork</a>.</p>
<p>So, all you need to do to get your embedded LDAP server, is to <a href="http://www.intalio.org/public/maven2/org/intalio/tempo/apacheds-webapp/">get your own</a> war file, download <a href="http://tomcat.apache.org/download-60.cgi#6.0.18">tomcat</a> and start the server.</p>
<p>You can setup additional LDAP partitions on the fly by editing the partitions.json file present in the expanded war file. No need to code. A partition looks like this:</p>
<blockquote><p>&#8220;intalio&#8221;: {<br />
&#8220;dn&#8221;:&#8221;dc=intalio,dc=com&#8221;,<br />
&#8220;attributes&#8221;: {<br />
&#8220;dc&#8221;:&#8221;intalio&#8221;,<br />
&#8220;objectClass&#8221;:["top","domain","extensibleObject"]<br />
}<br />
}</p></blockquote>
<p>So you can add/remove then before starting the server, the applications filters will handle the initialization.<br />
On the same note, ldif files to be imported can just be dropped in the classes folder, and they will be imported when the server start.</p>
<div id="attachment_129" class="wp-caption aligncenter" style="width: 313px"><img class="size-full wp-image-129" title="picture-21" src="http://intaliotempo.files.wordpress.com/2009/02/picture-21.png?w=303&#038;h=70" alt="Import LDIF" width="303" height="70" /><p class="wp-caption-text">Import LDIF</p></div>
<p>Same again, drag and drop no need to code.</p>
<p style="text-align:left;"><a href="http://www.linkedin.com/in/hmalphettes">Hugues</a> being still busy writing a wicked RBAC visual editor for <a href="http://www.intalio.com/products/designer/">Intalio|Designer</a> to make it easy to manage the users and roles, we will rely on Apache Directory Studio (<a href="http://directory.apache.org/studio/downloads.html">download</a>, <a href="http://directory.apache.org/studio/update/1.x/">eclipse update</a>).</p>
<div id="attachment_130" class="wp-caption aligncenter" style="width: 480px"><img class="size-full wp-image-130" title="picture-3" src="http://intaliotempo.files.wordpress.com/2009/02/picture-3.png?w=470&#038;h=242" alt="Network Parameters" width="470" height="242" /><p class="wp-caption-text">Network Parameters</p></div>
<div id="attachment_132" class="wp-caption aligncenter" style="width: 480px"><img class="size-full wp-image-132" title="picture-41" src="http://intaliotempo.files.wordpress.com/2009/02/picture-41.png?w=470&#038;h=232" alt="Authentication Settings" width="470" height="232" /><p class="wp-caption-text">Authentication Settings</p></div>
<p>User is <strong>uid=admin,ou=system</strong> Password is <strong>secret </strong>by default, and you&#8217;re all set to connect.</p>
<p>Expanding the default, we can see:</p>
<div id="attachment_133" class="wp-caption aligncenter" style="width: 288px"><img class="size-full wp-image-133" title="picture-5" src="http://intaliotempo.files.wordpress.com/2009/02/picture-5.png?w=278&#038;h=275" alt="People and Roles" width="278" height="275" /><p class="wp-caption-text">People and Roles</p></div>
<p>Copy and paste users, and roles, rename then on the fly, like here:</p>
<div id="attachment_134" class="wp-caption aligncenter" style="width: 480px"><img class="size-full wp-image-134" title="picture-7" src="http://intaliotempo.files.wordpress.com/2009/02/picture-7.png?w=470&#038;h=267" alt="Create a new user" width="470" height="267" /><p class="wp-caption-text">Create a new user</p></div>
<p>In Preferences, LDAP-&gt; Entry Editor, remove the noisy LDAP attributes:</p>
<div id="attachment_135" class="wp-caption aligncenter" style="width: 432px"><img class="size-full wp-image-135" title="picture-9" src="http://intaliotempo.files.wordpress.com/2009/02/picture-9.png?w=422&#038;h=136" alt="No noise" width="422" height="136" /><p class="wp-caption-text">No noise</p></div>
<p>And use the entry editor, to edit the newly user:</p>
<div id="attachment_136" class="wp-caption aligncenter" style="width: 349px"><img class="size-full wp-image-136" title="picture-10" src="http://intaliotempo.files.wordpress.com/2009/02/picture-10.png?w=339&#038;h=160" alt="Edit User" width="339" height="160" /><p class="wp-caption-text">Edit User</p></div>
<p>Still a few glinches of LDAP prose, but we have written no code, we&#8217;re under 2 minutes and you should have an LDAP server setup.</p>
<h1>&#8230; and a bit of RBAC</h1>
<p>If you have Intalio|BPMS, (or the open source Tempo bundle) then LDAP authentication is either enabled by default or you can do that through the <strong>securityConfig.xml </strong>file:</p>
<blockquote><p>&lt;!&#8211; &lt;bean id=&#8221;securityProvider&#8221;   class=&#8221;org.intalio.tempo.security.simple.SimpleSecurityProvider&#8221; init-method=&#8221;init&#8221;&gt;<br />
&lt;property name=&#8221;configFile&#8221;&gt;<br />
&lt;value&gt;${org.intalio.tempo.configDirectory}/security.xml&lt;/value&gt;<br />
&lt;/property&gt;<br />
&lt;/bean&gt; &#8211;&gt;</p>
<p>&lt;bean id=&#8221;securityProvider&#8221; class=&#8221;org.intalio.tempo.security.ldap.LDAPSecurityProvider&#8221;&gt;<br />
&lt;property name=&#8221;propertiesFile&#8221;&gt;<br />
&lt;value&gt;${org.intalio.tempo.configDirectory}/ldap.properties&lt;/value&gt;<br />
&lt;/property&gt;<br />
&lt;/bean&gt;</p></blockquote>
<p>Then, head to the local integrated <a href="http://localhost:8080/axis2/services/RBACQueryService?wsdl">RBAC Query Service</a>, and try to see which users for which roles:</p>
<div id="attachment_144" class="wp-caption aligncenter" style="width: 480px"><img class="size-full wp-image-144" title="picture-121" src="http://intaliotempo.files.wordpress.com/2009/02/picture-121.png?w=470&#038;h=112" alt="Soap me" width="470" height="112" /><p class="wp-caption-text">Soap me</p></div>
<p>Voila !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/intaliotempo.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/intaliotempo.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/intaliotempo.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/intaliotempo.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/intaliotempo.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/intaliotempo.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/intaliotempo.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/intaliotempo.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=intaliotempo.wordpress.com&amp;blog=4667354&amp;post=125&amp;subd=intaliotempo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://intaliotempo.wordpress.com/2009/02/25/embedded-ldap-in-2-minutes-and-a-bit-of-rbac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b760aaaec82c275c5c805fffe58d5191?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hellonico</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-21.png" medium="image">
			<media:title type="html">picture-21</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-3.png" medium="image">
			<media:title type="html">picture-3</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-41.png" medium="image">
			<media:title type="html">picture-41</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-5.png" medium="image">
			<media:title type="html">picture-5</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-7.png" medium="image">
			<media:title type="html">picture-7</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-9.png" medium="image">
			<media:title type="html">picture-9</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-10.png" medium="image">
			<media:title type="html">picture-10</media:title>
		</media:content>

		<media:content url="http://intaliotempo.files.wordpress.com/2009/02/picture-121.png" medium="image">
			<media:title type="html">picture-121</media:title>
		</media:content>
	</item>
	</channel>
</rss>
