From 4cd071e171dcedb0b82d9a517224998b2187aaa4 Mon Sep 17 00:00:00 2001 From: Jauco Noordzij Date: Wed, 4 Oct 2017 14:06:08 +0200 Subject: [PATCH] add SqlWriter --- .../java/nl/knaw/huygens/timbuctoo/server/TimbuctooV4.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/server/TimbuctooV4.java b/timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/server/TimbuctooV4.java index 1fd0cb6f4b..592cfbd1e4 100644 --- a/timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/server/TimbuctooV4.java +++ b/timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/server/TimbuctooV4.java @@ -87,6 +87,7 @@ import nl.knaw.huygens.timbuctoo.v5.dropwizard.contenttypes.JsonLdWriter; import nl.knaw.huygens.timbuctoo.v5.dropwizard.contenttypes.JsonWriter; import nl.knaw.huygens.timbuctoo.v5.dropwizard.contenttypes.SerializerWriterRegistry; +import nl.knaw.huygens.timbuctoo.v5.dropwizard.contenttypes.SqlWriter; import nl.knaw.huygens.timbuctoo.v5.dropwizard.endpoints.CreateDataSet; import nl.knaw.huygens.timbuctoo.v5.dropwizard.endpoints.DataSet; import nl.knaw.huygens.timbuctoo.v5.dropwizard.endpoints.ErrorResponseHelper; @@ -271,7 +272,8 @@ public void run(TimbuctooConfiguration configuration, Environment environment) t new CsvWriter(), new JsonLdWriter(), new JsonWriter(), - new GraphVizWriter() + new GraphVizWriter(), + new SqlWriter() ); register(environment, new GraphQl(