awesome Luke !
On Tue, Feb 4, 2014 at 9:25 PM, Lucas Holmquist <lholmqui(a)redhat.com> wrote:
matzew inspired me to also do a node version,
https://github.com/lholmquist/aerogear-simplepush-node-client/tree/cli
On Feb 4, 2014, at 2:44 AM, Daniel Bevenius <daniel.bevenius(a)gmail.com>
wrote:
Cool, will try it out later today!
On 3 February 2014 22:50, Matthias Wessendorf <matzew(a)apache.org> wrote:
> Did a (temporary?) upload of the binary:
>
>
https://github.com/matzew/simplepush-cli/raw/dist/bin/simple-push
>
> -M
>
>
> On Mon, Feb 3, 2014 at 8:18 PM, JR Conlin <jrconlin(a)gmail.com> wrote:
>
>> Ah, makes perfect sense. I'll go back to lurking.
>>
>>
>> On 2014/2/3 11:03 AM, Matthias Wessendorf wrote:
>>
>> Yep, works w/ UnifiedPush, and we use thst for testing as well
>>
>>
>> However we need/have java libs fir sending, hence turning that into
>> less verbose CLIs is just a few lines of code :-)
>>
>> On Monday, February 3, 2014, JR Conlin <jrconlin(a)gmail.com> wrote:
>>
>>> One other note:
>>>
>>> I don't know if this would work for UnifiedPush, but for testing remote
>>> REST calls, I tend to use curl
>>>
>>>
http://curl.haxx.se/
>>>
>>> It's available for nearly every platform known.
>>>
>>> It's pretty easy to use on the command line, so sending a PUT would be:
>>>
>>> curl -X PUT -d "version=123"
>>>
http://push.services.mozilla.org/longStringOfCrap
>>>
>>> where -X specifies the method to use
>>> -d specifies the "data" to send in the request
>>>
>>> Curl is amazingly powerful once you dig into it and can save a lot of
>>> time. Just figured I should share the knowledge.
>>>
>>> On 2014/2/3 10:36 AM, Matthias Wessendorf wrote:
>>>
>>>
>>>
>>> On Monday, February 3, 2014, Lucas Holmquist <lholmqui(a)redhat.com>
>>> wrote:
>>>
>>>> looks pretty neat,
>>>>
>>>> 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
>>>>
>>>
>>>
>>> I had brew in mind for this; will look into this later this week
>>>
>>>
>>>>
>>>> On Feb 3, 2014, at 1:18 PM, Matthias Wessendorf
<matzew(a)apache.org>
>>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> 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:
>>>>
>>>> * SimplePush
>>>> * UnifiedPush
>>>>
>>>> An early (hacky) version of a SimplePush CLI is located here:
>>>>
>>>>
https://github.com/matzew/simplepush-cli
>>>>
>>>> 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])
>>>>
>>>> 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)
>>>>
>>>> thoughts?
>>>>
>>>> -Matthias
>>>>
>>>> [1]
https://github.com/aerogear/aerogear-simplepush-quickstart
>>>>
>>>>
>>>> --
>>>> Matthias Wessendorf
>>>>
>>>> blog:
http://matthiaswessendorf.wordpress.com/
>>>> sessions:
http://www.slideshare.net/mwessendorf
>>>> twitter:
http://twitter.com/mwessendorf
>>>> _______________________________________________
>>>> aerogear-dev mailing list
>>>> aerogear-dev(a)lists.jboss.org
>>>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>>
>>>>
>>>>
>>>
>>> --
>>> Sent from Gmail Mobile
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing
listaerogear-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>>
>>>
>>
>> --
>> Sent from Gmail Mobile
>>
>>
>> _______________________________________________
>> aerogear-dev mailing
listaerogear-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog:
http://matthiaswessendorf.wordpress.com/
> sessions:
http://www.slideshare.net/mwessendorf
> twitter:
http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev