Publishing a Java project into MVN Repository
It turns out that this is quite an involved process with a lot of configuration and coordination w/ Sonatype. It took several days, upwards to a week or so, for…
It turns out that this is quite an involved process with a lot of configuration and coordination w/ Sonatype. It took several days, upwards to a week or so, for…
ARGH! I've been bounced between languages. It's driving me NUTS. This is a comparison of how to do something in each to help me map between them. There is definitely…
Background GroovyPageUnitTestMixin From the Grails guide, testing a view in a unit test involves: Annotating the Specification with: @TestMixin(GroovyPageUnitTestMixin). Calling render(view: '...', model: ...) or render(template: '...', model: ...) whose…
Some Docker notes of commands for reference Images Listing images docker images Running images docker run <image name> docker run <repo name>/<image name> Building images Create a Dockerfile file with…
Using Spring Boot on Scala Assumption This example uses a project generated/seeded via Activator using the "minimal-scala" template. However, any project using SBT will probably work just as well. Add Spring…
I cannot believe how little info there is on using multiple Datasources in Spring Boot. Out of the box, Spring Boot makes it very easy to configure the default Datasource: tweak…
Command line program w/ Spring Boot To write a command line program (e.g. launched w/ static void main(String args[])), have the main application class implements org.springframework.boot.CommandLineRunner and implement the function:…