One other note:
I don't know if this would work for UnifiedPush, but for testing remote
REST calls, I tend to use curl
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"
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
<mailto:lholmqui@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 thisweek
On Feb 3, 2014, at 1:18 PM, Matthias Wessendorf <matzew(a)apache.org
<javascript:_e(%7B%7D,'cvml','matzew@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
>
<javascript:_e(%7B%7D,'cvml','aerogear-dev@lists.jboss.org');>
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Sent from Gmail Mobile
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev