<div dir="ltr"><div><div><div><div><div><div>Yo !<br></div>So, I&#39;ve been playing with all these new features and it all works as expected. To test the stuff, I&#39;ve done just a little modification to the AeroDoc Web Client to store the accepted leads in an indexedDB adapter with autoconnect : <a href="https://github.com/sebastienblanc/aerogear-push-quickstart-backend/blob/agjs-tests/src/main/webapp/client/scripts/services/dataService.js#L42-L47">https://github.com/sebastienblanc/aerogear-push-quickstart-backend/blob/agjs-tests/src/main/webapp/client/scripts/services/dataService.js#L42-L47</a><br>
<br></div>On Chrome/FireFox, it stores the stuff in indexedDB and thanks to the autoconnect , I just have to do myStore.save() /read()<br></div>On Opera, it nicely fallback to Websql.<br><br></div>I have also used the &quot;preferred&quot; setting with passing &quot;memory&quot;, again on Opera it falls back to &quot;Memory&quot;.<br>
<br></div>So, you have my &quot;Go!&quot; for the release <br></div>Seb<br><br><div><div><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 9:21 PM, Lucas Holmquist <span dir="ltr">&lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hot on the heels of 1.3.0,  i am hoping to release 1.3.1 next week.<div><br></div><div>
Here is a list of the JIRA&#39;s associated with it</div><div><br></div><div><a href="https://issues.jboss.org/issues/?jql=project%20=%20AGJS%20AND%20fixVersion%20=%20%221.3.1%22%20ORDER%20BY%20updated%20DESC,%20priority%20DESC,%20created%20ASC" target="_blank">https://issues.jboss.org/issues/?jql=project%20%3D%20AGJS%20AND%20fixVersion%20%3D%20%221.3.1%22%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC</a></div>
<div><br></div><div>There was some bug fixes and test/documentation updates,  but there were 2 big option added in DataManager:</div><div><br></div><div>1. Auto Connect</div><div><br></div><div>Since IndexedDB and WebSQL needed to both be &quot;opened&quot; before doing a read/save/remove/filter , i&#39;ve added an option &quot; auto&quot; to the creation of a store.  It will default to false, so it will not break any existing stuff.  if set to true,  then you can do the a read, for example and not have to worry about calling open.</div>
<div><br></div><div>2. Opt-Out of Fallback and &quot;preferred&quot;</div><div><br></div><div>this new option, &#39;fallback&#39; will default to true, so data manager will fallback to a support adapter by default,  but if you want to make sure an error is thrown if an adapter is not supported then you can set fallback=false.</div>
<div><br></div><div>there is also a new &quot;preferred&quot; option.  By default when fallback is enabled,  this is the order the adapters are tried  [ &quot;IndexedDB&quot;, &quot;WebSQL&quot;, &quot;SessionLocal&quot;, &quot;Memory&quot; ]</div>
<div><br></div><div>now a user can specify a list of adapters they want to try,  so they can do [ &quot;Memory&quot; ] if they only want to fallback to the memory adapter if lets say IndexedDB isn&#39;t available</div><div>
<br></div><div><br></div><div><br></div><div>So give it a try</div><div><br></div><div><br></div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>