This is an example app for my session at the SpringOne2Gx. It demonstrates combining SendGrid and Cloudfoundry.
Show the app code. Run it with gradle jettyRunWar locally.
Show that you then do gem install cf
but just in a slide.
Go through the following steps live.
cf target api.run.pivotal.io
cf login
gradle assemble
cf push --path build/libs/spring-attack.war
Then show the live running app. Then add SendGrid.
cf create-service sendgrid
cf bind-service
gem install cf
cf target api.run.pivotal.io
cf login
gradle assemble
cf push --path build/libs/spring-attack.war
gradle jettyRunWar
Visit http://localhost:8080.