<div dir="ltr">awesome Luke ! </div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 4, 2014 at 9:25 PM, Lucas Holmquist <span dir="ltr"><<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>></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">matzew inspired me to also do a node version,<div><br></div><div><a href="https://github.com/lholmquist/aerogear-simplepush-node-client/tree/cli" target="_blank">https://github.com/lholmquist/aerogear-simplepush-node-client/tree/cli</a></div>
<div><div class="h5"><div><br></div><div><br><div><div>On Feb 4, 2014, at 2:44 AM, Daniel Bevenius <<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>> wrote:</div><br><blockquote type="cite">
<div dir="ltr">Cool, will try it out later today!<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 February 2014 22:50, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did a (temporary?) upload of the binary:<div><br></div><div><a href="https://github.com/matzew/simplepush-cli/raw/dist/bin/simple-push" target="_blank">https://github.com/matzew/simplepush-cli/raw/dist/bin/simple-push</a><span><font color="#888888"><br>
</font></span></div><span><font color="#888888"><div><br></div><div>-M</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 8:18 PM, JR Conlin <span dir="ltr"><<a href="mailto:jrconlin@gmail.com" target="_blank">jrconlin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Ah, makes perfect sense. I'll go back
to lurking.<div><br>
<br>
On 2014/2/3 11:03 AM, Matthias Wessendorf wrote:<br>
</div></div><div>
<blockquote type="cite">Yep, works w/ UnifiedPush, and we use thst for testing
as well
<div><br>
</div>
<div><br>
</div>
<div>However we need/have java libs fir sending, hence turning
that into less verbose CLIs is just a few lines of code :-)<span></span><br>
<br>
On Monday, February 3, 2014, JR Conlin <<a href="mailto:jrconlin@gmail.com" target="_blank">jrconlin@gmail.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>One other note:<br>
<br>
I don't know if this would work for UnifiedPush, but for
testing remote REST calls, I tend to use curl<br>
<br>
<a href="http://curl.haxx.se/" target="_blank">http://curl.haxx.se/</a><br>
<br>
It's available for nearly every platform known. <br>
<br>
It's pretty easy to use on the command line, so sending a
PUT would be:<br>
<br>
curl -X PUT -d "version=123" <a href="http://push.services.mozilla.org/longStringOfCrap" target="_blank">http://push.services.mozilla.org/longStringOfCrap</a><br>
<br>
where -X specifies the method to use<br>
-d specifies the "data" to send in the request <br>
<br>
Curl is amazingly powerful once you dig into it and can
save a lot of time. Just figured I should share the
knowledge. <br>
<br>
On 2014/2/3 10:36 AM, Matthias Wessendorf wrote:<br>
</div>
<blockquote type="cite"><br>
<br>
On Monday, February 3, 2014, Lucas Holmquist <<a>lholmqui@redhat.com</a>> 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">looks pretty neat,
<div><br>
</div>
<div>i think we can also adapt the node.js versions to
also be "installable" for CLI use, similar to how
you can also use plugman/cordova cli's api and not
just on the command line</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
I had brew in mind for this; will look into this later
this<span></span> week<br>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div><br>
<div>
<div>On Feb 3, 2014, at 1:18 PM, Matthias
Wessendorf <<a>matzew@apache.org</a>>
wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>while thinking about potential
refactorings, and moving some of the java
'sender' code into subprojects I played w/
the ideas of also offering CLI for:</div>
<div><br>
</div>
<div> * SimplePush</div>
<div>* UnifiedPush</div>
<div><br>
</div>
<div>An early (hacky) version of a SimplePush
CLI is located here:</div>
<div><br>
</div>
<div><a href="https://github.com/matzew/simplepush-cli" target="_blank">https://github.com/matzew/simplepush-cli</a><br>
</div>
<div><br>
</div>
<div>The neat thing - I think - you can ignore
the nasty version string, in that case the
current timestamp is used. The CLI has been
tested w/ our Quickstart on SimplePush ([1])</div>
<div><br>
</div>
<div>The actual code for the
"SimplePushClient.java" file could be than
also be reused inside of the UnifiedPush
Server - my current code here is very much
the code from the UnifiedPush Server (except
here I am using OKHttp)</div>
<div><br>
</div>
<div>thoughts?</div>
<div><br>
</div>
<div>-Matthias</div>
<div><br>
</div>
<div>[1] <a href="https://github.com/aerogear/aerogear-simplepush-quickstart" target="_blank">https://github.com/aerogear/aerogear-simplepush-quickstart</a></div>
<div><br>
</div>
<div><br>
</div>
<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>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></blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
-- <br>
Sent from Gmail Mobile<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
aerogear-dev mailing list
<a>aerogear-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br>
-- <br>
Sent from Gmail Mobile<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
aerogear-dev mailing list
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
</blockquote>
<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><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></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>
_______________________________________________<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></blockquote>
</div><br></div></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></div>