Merge "Release 1.14.0 maven artifact"
[aai/aai-common.git] / aai-schema-ingest / src / main / java / org / onap / aai / config / ConfigConfiguration.java
index 9f28cf8..e4d1865 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.config;
 
+import org.onap.aai.setup.SchemaConfigVersions;
 import org.onap.aai.setup.SchemaLocationsBean;
 import org.onap.aai.setup.SchemaVersions;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
@@ -34,9 +36,14 @@ import org.springframework.context.annotation.PropertySource;
 @PropertySource(value = "file:${schema.ingest.file}", ignoreResourceNotFound = true)
 public class ConfigConfiguration {
 
+    @Bean(name = "schemaConfigVersions")
+    public SchemaConfigVersions schemaConfigVersions() {
+        return new SchemaConfigVersions();
+    }
+
     @Bean(name = "schemaVersions")
     public SchemaVersions schemaVersions() {
-        return new SchemaVersions();
+        return schemaConfigVersions();
     }
 
     @Bean(name = "schemaLocationsBean")