From: James Forsyth Date: Tue, 9 Apr 2019 15:16:35 +0000 (+0000) Subject: Merge "Optimize the areas where its creating extra memory" X-Git-Tag: 1.4.2~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b76ab490c093e3e4f8d13fd99b15803b0dbfc68d;p=aai%2Faai-common.git Merge "Optimize the areas where its creating extra memory" --- b76ab490c093e3e4f8d13fd99b15803b0dbfc68d diff --cc aai-schema-ingest/src/main/java/org/onap/aai/nodes/NodeIngestor.java index f9b23080,82991f06..2428a6dd --- a/aai-schema-ingest/src/main/java/org/onap/aai/nodes/NodeIngestor.java +++ b/aai-schema-ingest/src/main/java/org/onap/aai/nodes/NodeIngestor.java @@@ -69,17 -68,21 +68,19 @@@ public class NodeIngestor private String localSchema; private SchemaVersions schemaVersions; private Set translators; - + + private CaseFormatStore caseFormatStore; //TODO : See if you can get rid of InputStream resets - /** + + /** * Instantiates the NodeIngestor bean. - * - * @param - ConfigTranslator autowired in by Spring framework which - * contains the configuration information needed to ingest the desired files. + * @param translatorSet */ @Autowired public NodeIngestor(Set translatorSet) { - LOGGER.debug("Local Schema files will be fetched"); this.translators = translatorSet; + this.caseFormatStore = new CaseFormatStore(); } @PostConstruct