Hi Max,
I have a ruby version (for TorqueSpec) here:
https://github.com/torquebox/torquespec/blob/master/lib/torquespec/as7.rb
It's slightly different from your versions:
1) Instead of posting the entire contents of the artifact, a file URL is
sent. This is because the deployment descriptors I'm posting are
referencing colocated paths anyway, so jarring 'em up into .knob files is
wasteful.
2) Logic to forcibly redeploy a previously-added artifact is included.
I'll hack up something similar to your versions and send you a PR.
Jim
Max Rydahl Andersen <max.andersen(a)redhat.com> writes:
Hi,
Just for fun I created
https://github.com/maxandersen/as7scripting
to create various snippets to show scripting of AS7 in all the various scripting
languages we can come up with.
We got Perl and a cure bash/curl - anyone up for adding python, php, scala, ...?
/max
http://about.me/maxandersen
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev