summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'aai-resources/src/main/java')
-rw-r--r--aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java b/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java
index fa74f7b..780510d 100644
--- a/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java
+++ b/aai-resources/src/main/java/org/onap/aai/rest/BulkConsumer.java
@@ -108,7 +108,6 @@ public abstract class BulkConsumer extends RESTAPI {
String realTime = headers.getRequestHeaders().getFirst("Real-Time");
String outputMediaType = getMediaType(headers.getAcceptableMediaTypes());
Version version = Version.valueOf(versionParam);
- DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime);
Response response = null;
@@ -121,7 +120,7 @@ public abstract class BulkConsumer extends RESTAPI {
try {
//TODO add auth check when this endpoint added to that auth properties files
-
+ DBConnectionType type = this.determineConnectionType(sourceOfTruth, realTime);
JsonArray transactions = getTransactions(content);