<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:17 PM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I will start to file Jiras, but answers inline.<br></blockquote><div><br></div><div>great</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
--<br>
abstractj<br>
<div class=""><br>
On March 11, 2014 at 3:17:01 AM, Matthias Wessendorf (<a href="mailto:matzew@apache.org">matzew@apache.org</a>) wrote:<br>
<br>
&gt; &gt;<br>
&gt; &gt; Yes if that makes sense to the others like Android variants. And no if we<br>
&gt; &gt; just want to use it with iOSVariant, into this case that would apply only<br>
&gt; &gt; for iOS applications.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Perfect!<br>
&gt;<br>
&gt; It does make sense on the &#39;root&#39; PushApplication. That way other variant<br>
&gt; types can benefit from it as well. I think we can(should?) also encrypt the<br>
&gt; Google API-Key value. And future variants (other networks) will benefit in<br>
&gt; this case as well<br>
<br>
</div>+1<br>
<div><div class="h5">&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; Currently:<br>
&gt; &gt;<br>
&gt; &gt; curl -3 -v -b cookies.txt -c cookies.txt<br>
&gt; &gt; -i -H &quot;Accept: application/json&quot; -H &quot;Content-type: multipart/form-data&quot;<br>
&gt; &gt; -F &quot;certificate=@/Users/matzew/Desktop/MyProdCert.p12&quot;<br>
&gt; &gt; -F &quot;passphrase=TopSecret&quot;<br>
&gt; &gt; -F &quot;production=true&quot; // make sure you have Production certificate and<br>
&gt; &gt; Provisioning Profile<br>
&gt; &gt;<br>
&gt; &gt; -X POST https://SERVER:PORT<br>
&gt; &gt; /CONTEXT/rest/applications/{pushApplicationID}/iOS<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Proposed:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; curl -3 -v -b cookies.txt -c cookies.txt<br>
&gt; &gt; -i -H &quot;Accept: application/json&quot; -H &quot;Content-type: multipart/form-data&quot;<br>
&gt; &gt; -F &quot;certificate=@/Users/matzew/Desktop/encrypted-cert.blah&quot;<br>
&gt; &gt; -F &quot;passphrase=schwarzenegger&quot;<br>
&gt; &gt; -F &quot;production=true&quot; // make sure you have Production certificate and<br>
&gt; &gt; Provisioning Profile<br>
&gt; &gt;<br>
&gt; &gt; -X POST https://SERVER:PORT<br>
&gt; &gt; /CONTEXT/rest/applications/{pushApplicationID}/iOS<br>
&gt; &gt;<br>
&gt; &gt; Where encrypted-cert.blah and &quot;Schwarzenegger&quot; are encrypted data.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Ok, so the encrypted data is being uploaded by the user of the UPS, right ?<br>
&gt; and hence, no more a direct upload of the plain certificate and the plain<br>
&gt; passphrase.<br>
&gt; That means there is an extra step for the user, if I see it correct.<br>
&gt;<br>
&gt; having an extra step for the API to create the (iOS) variant is fine, let&#39;s<br>
&gt; make sure it&#39;s a somewhat simple step for our users, which hopefully than<br>
&gt; does not need too much extra steps in the documentation :-)<br>
<br>
</div></div>I will think about how to make it less painful to our devs<br></blockquote><div><br></div><div><br></div><div>awesome! </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; Makes sense?<br>
&gt; &gt;<br>
&gt;<br>
&gt; Yes, I think :-)<br>
&gt; Thanks!<br>
&gt;<br>
&gt; -Matthias<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Does it make sense to you?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Somewhat - not sure I fully understood :)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; abstractj<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; JBoss, a division of Red Hat<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Matthias Wessendorf<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; &gt; &gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; &gt; &gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; aerogear-dev mailing list<br>
&gt; &gt; &gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matthias Wessendorf<br>
&gt;<br>
&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
&gt;<br>
<br>
</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>