fatmcgav / fatmcgav-glassfish

Rewritten Glassfish module to improve functionality and support.
http://github.com/fatmcgav/fatmcgav-glassfish
GNU General Public License v3.0
6 stars 31 forks source link

Support redeploying applications #53

Closed dougneal closed 8 years ago

dougneal commented 9 years ago

I needed to have Puppet run the asadmin redeploy command when the source jar gets updated, so implemented refresh behaviour in the application type and provider.

Tests written and passing, but not quite complete. The provider is covered, but not the type: at present I'm not sure what the correct rspec incantations are to mock the provider and set expectations. Other modules I've looked at for reference do so in quite a different style. Happy to work with any pointers you could give in this area and complete the test coverage.

fatmcgav commented 8 years ago

@dougneal Should have this one merged in shortly.

Have added to the testing in d8b906b if you're interested in seeing how it works :)

dougneal commented 8 years ago

Awesome - very informative, thanks!