Introduced SuperCSV dependency. Model classes have getters now (required
by SuperCSV). ResultsEntry has additional getters for the properties of
nested geoPosition - it helps to avoid using SuperCSV-Dozer plugin for
crawling object-graph. Introduced basic implementation of CsvWriter. It
writes to the fixed location only so far.
Some null-checking.
Comments
Add new default values: output dir (always current dir), and default
filename (output.csv).
Throwing exception if unable to create output folder or file. Separated
creation of jax-rs Client (heavy!) from WebTarget (light), to enable
re-using of Client in consecutive calls.
Refactoring. Uses input parameter.
Add: logging capability. Introduced exception handling at the
application boundary.
Altered getter to use copy construction (and thus defensive copying)
Cleaning in pom.xml
Minor improvements
Extracted interface for CSV Writers, extracted file utility to decrease
responsibilities of SuperCSVWriter.
Moved interface CsvWriter to its't proper package
Removing unused properties, changing way the output folder is created
(now it's up to the client of CsvWriter)
Migrated from Jackson 1.x to Jackson 2.x
Refactoring towards greater testability, added basic tests with mocks
returning fixed responses.
Minor improvements