unit tests, javadoc, restTemplate xml config