Commit bcee2653 authored by Stephen Nimmo's avatar Stephen Nimmo
Browse files

Removed upused imports, changed Inject to Autowired

parent 49e9d218
Pipeline #69441 failed with stages
in 3 minutes and 29 seconds
......@@ -14,15 +14,14 @@
package org.opengroup.osdu.streaming.di;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.opengroup.osdu.core.common.http.json.HttpResponseBodyMapper;
import org.opengroup.osdu.core.common.storage.IStorageFactory;
import org.opengroup.osdu.core.common.storage.StorageAPIConfig;
import org.opengroup.osdu.core.common.storage.StorageFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.beans.factory.config.AbstractFactoryBean;
import org.springframework.stereotype.Component;
......@@ -35,7 +34,7 @@ public class StorageClientFactory extends AbstractFactoryBean<IStorageFactory> {
private static final Logger logger = LoggerFactory.getLogger(StorageClientFactory.class);
@Inject
@Autowired
private ObjectMapper objectMapper;
private HttpResponseBodyMapper bodyMapper;
......
......@@ -14,8 +14,6 @@
package org.opengroup.osdu.streaming.di;
import javax.servlet.http.HttpServletRequest;
import org.opengroup.osdu.core.common.http.DpsHeaderFactory;
import org.opengroup.osdu.core.common.model.http.DpsHeaders;
import org.slf4j.Logger;
......@@ -24,6 +22,8 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.context.annotation.RequestScope;
import javax.servlet.http.HttpServletRequest;
/**
* Web Configuration for Streaming Services
*
......
......@@ -15,9 +15,7 @@
package org.opengroup.osdu.streaming.service;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.kafka.clients.admin.NewTopic;
import org.opengroup.osdu.core.common.model.http.DpsHeaders;
import org.opengroup.osdu.core.common.model.storage.Record;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment