Clone
Chris Hillery <chillery@lambda.nu>
committed
on 05 Dec 14
Issue 548: Initial implementation of CSV output method.
Can be selected via the HTTP interface by setting the Accept: header to
text/csv.

D… Show more
Issue 548: Initial implementation of CSV output method.

Can be selected via the HTTP interface by setting the Accept: header to

text/csv.

Displays strings, numerics, booleans, and a couple duration types. Detects

situations that cannot be respresented as CSV (list values, nested records)

and throws an exception.

Introduces "outputRecordType" set option to define a fixed RecordType that

all results will be coerced to, to ensure consistent CSV output.

Added test support for CSV output, with one test case for now.

Change-Id: Ib53da6b3c69e38095bdc684b0e8cd53b9f4b1543

Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/165

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <westmann@gmail.com>

Show less

master + 9 more