<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">something that i was thinking about after doing some examples is that i'm not sure how i feel about using the PK's of each table as the identifier to register/broadcast clients.<div><br></div><div>We are sort of giving meaning to data that really shouldn't have meaning. &nbsp;it should really only be used to identify the row. &nbsp;It might be better to have another key on each table/object that is the identifier.</div><div><br></div><div>So in one of the examples i did, &nbsp;the app on the device will register the device with the push server, &nbsp;but i needed to also include the id of the variant instance</div><div><br></div><div>i guess i'm thinking if someone migrates their database, &nbsp;these keys could get messed up.</div><div><br></div><div><br></div><div>wdyt?</div><div><br></div><div><br><div><div>On May 28, 2013, at 2:53 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 28, 2013 at 8:51 AM, Corinne Krych <span dir="ltr">&lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.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 dir="ltr">in selective push is:<br><div><span style="font-family:arial,sans-serif">==&gt; variant: iOS&nbsp;</span><span style="font-family:arial,sans-serif"> + alias: mwessendorf</span><font face="arial, sans-serif"><br>

</font></div>a valid criteria too?<br></div></blockquote><div><br></div><div><br></div><div style="">yes. let me update the related doc(s)</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 May 2013 08:51, Corinne Krych <span dir="ltr">&lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.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 dir="ltr"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 28 May 2013 08:48, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">TYPO:<div><font face="arial, sans-serif">==&gt; variant: iOS (since a PushAPP _might_ have only one iOS&nbsp;variant) + deviceType:iPadMini &nbsp;+ alias: mwessendorf</font><br>


</div><div><font face="arial, sans-serif">or</font></div>
<div><span style="font-family:arial,sans-serif">==&gt; variant: iOS (since a PushAPP _might_ have only one iOS&nbsp;variant</span><span style="font-family:arial,sans-serif">) + deviceType:iPhone &nbsp;+ alias: mwessendorf</span><font face="arial, sans-serif"><br>



</font></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><br></div></div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Tue, May 28, 2013 at 8:43 AM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, May 28, 2013 at 12:00 AM, Corinne Krych <span dir="ltr">&lt;<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">When doing selective push query, is there any overlap between mobile variant (which I understand like mobile type which contains certificates) and device type?</div>




</blockquote><div><br></div></div><div>MobileVariant (or call it type) is something like "Android", or "iOS".</div><div>deviceTypes would be iPad, iPod, iPhone, iWatch :) &nbsp;- or "Android Table", "Andrpid phone", android what not</div>




<div><br></div><div><br></div><div>Sure.... ideally there are several variants:</div><div><div>- iOS iPhone 5&nbsp;optimised&nbsp;app in the app store</div><div><div>- iOS iPhone 4s optimised&nbsp;app in the app store</div>
</div><div>- iOS iPhone 3 optimised&nbsp;app in the app store</div><div>- iOS iPad mini optimised&nbsp;app in the app store</div><div>etc :)</div><div><br></div><div>But, if there is only one variant, it's totally valid to install an iOS application (from the appstore), on an iPad and an iPhone;</div>




<div>&nbsp;<br></div></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div>Both aimed at defining categories.&nbsp;</div>
<div>
Are those categories defined and fixed in the spec or can they be extended?</div></div></blockquote><div><br></div><div><br></div></div><div>I don't understand categories, here</div><div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div dir="ltr">Can we do a selective push based on mobileType=mobile variant and alias=john@gmail?</div></blockquote><div><br></div></div><div>deviceType and alias should be possible;</div><div>It should be also possible to combine that with a variant</div>




<div><br></div><div>==&gt; variant: iOS (since we have only one iOS varaint) + deviceType:iPadMini &nbsp;+ alias: mwessendorf</div><div><br></div><div>I need to add that to the "Message Format" / spec</div><div>

<div><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="gmail_extra">




<br><br><div class="gmail_quote">
On 27 May 2013 23:36, Kris Borchers <span dir="ltr">&lt;<a href="mailto:kborcher@redhat.com" target="_blank">kborcher@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





Unifying the APIs shouldn't be hard and could probably happen sooner rather than later, IMO. As far as the client goes, if you send extra info beyond the version it will just be ignored. Though, it would be better to not send the extra info to keep payload small. I guess the issue would be on the SPS side and if it can handle receiving and ignoring the extra info.<br>






<div><br>
On May 27, 2013, at 14:06, Daniel Passos &lt;<a href="mailto:daniel@passos.me" target="_blank">daniel@passos.me</a>&gt; wrote:<br>
<br>
&gt; Very nice!<br>
&gt; +1 to discuss later how to "unify" APIs<br>
&gt;<br>
&gt; Matthias Wessendorf wrote:<br>
&gt;&gt; We /could/ (later?) try to unify the API and simply<br>
&gt;&gt; *IGNORE* everything besides the version, when talking<br>
&gt;&gt; to|SimplePush| Variant.<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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>
</div></blockquote></div><br></div>
</div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></div><br><br clear="all"><div><div><br></div>-- <br>
Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>




twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>



twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>
</div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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>
</blockquote></div><br></div>
</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><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></div></body></html>