-/**
+/**
* ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
import org.onap.aai.sa.searchdbabstraction.util.SearchDbConstants;
import org.springframework.beans.factory.annotation.Autowired;
-
public class SearchService {
- private ElasticSearchHttpController esController = null;
-
static Logger logger = LoggerFactory.getInstance().getLogger(SearchService.class.getName());
@Autowired
protected void start() throws Exception {
Properties configProperties = new Properties();
configProperties.load(new FileInputStream(SearchDbConstants.ES_CONFIG_FILE));
- esController = new ElasticSearchHttpController(esConfig);
+ new ElasticSearchHttpController(esConfig);
logger.info(SearchDbMsgs.SERVICE_STARTED);
}
}