getMetadataURLs(ModelRepositoryConfiguration config);
-
-}
diff --git a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/MetamodelConfig.java b/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/MetamodelConfig.java
deleted file mode 100644
index a2524095..00000000
--- a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/MetamodelConfig.java
+++ /dev/null
@@ -1,74 +0,0 @@
-package org.technologybrewery.fermenter.mda.metamodel;
-
-import org.aeonbits.owner.KrauseningConfig;
-import org.aeonbits.owner.KrauseningConfig.KrauseningSources;
-
-/**
- * Configuration values for the metamodel processing.
- */
-@KrauseningSources("metamodel.properties")
-public interface MetamodelConfig extends KrauseningConfig {
-
- /**
- * Returns the locations within src/main/resources where enumeration model instances can be found.
- *
- * @return path location to enumerations
- */
- @Key("enumerations.relative.path")
- @DefaultValue("enumerations")
- public String getEnumerationsRelativePath();
-
- /**
- * Returns the locations within src/main/resources where service model instances can be found.
- *
- * @return path location to services
- */
- @Key("services.relative.path")
- @DefaultValue("services")
- public String getServicesRelativePath();
-
- /**
- * Returns the locations within src/main/resources where entity model instances can be found.
- *
- * @return path location to entities
- */
- @Key("entities.relative.path")
- @DefaultValue("entities")
- public String getEntitiesRelativePath();
-
- /**
- * Returns the locations within src/main/resources where dictionary type model instances can be found.
- *
- * @return path location to dictionary types
- */
- @Key("dictionary.types.relative.path")
- @DefaultValue("dictionaryTypes")
- public String getDictionaryTypesRelativePath();
-
- /**
- * Returns the locations within src/main/resources where message group model instances can be found.
- *
- * @return path location to message groups
- */
- @Key("message.groups.relative.path")
- @DefaultValue("message-groups")
- public String getMessageGroupsRelativePath();
-
- /**
- * Returns the metadata resolver to use to lookup metadata.
- *
- * @return url resolver class
- */
- @Key("metadata.url.resolver")
- @DefaultValue("org.technologybrewery.fermenter.mda.metamodel.DefaultUrlResolver")
- public String getUrlResolver();
-
- /**
- * Returns the locations within src/main/resources where rule model instances can be found.
- *
- * @return path location to rules
- */
- @Key("rules.relative.path")
- @DefaultValue("rules")
- public String getRulesRelativePath();
-}
diff --git a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelContext.java b/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelContext.java
deleted file mode 100644
index 931d5dfc..00000000
--- a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelContext.java
+++ /dev/null
@@ -1,62 +0,0 @@
-package org.technologybrewery.fermenter.mda.metamodel;
-
-import org.apache.commons.lang3.StringUtils;
-import org.technologybrewery.fermenter.mda.util.MessageTracker;
-
-/**
- * Defines the different contexts that can be used by a target.
- *
- *
- * * ALL - Indicates that all model instances registered in the plugin's metadataDependencies will be used.
- * * LOCAL - Indicates that only model instances that lives in the current artifactId will be used.
- * * TARGETED - Indicates that only model instances that are part of the registered artifactIds in the plugin's
- * targetModelInstances will be used.
- *
- */
-public enum ModelContext {
- ALL, LOCAL, TARGETED;
-
- /**
- * Determines whether or not a context setting denotes should only use local model instances.
- * @param modelInstanceContext context to check
- * @return true if local only
- */
- public static boolean useLocalModelInstancesOnly(String modelInstanceContext) {
- boolean useLocalModelInstnacesOnly;
- if (StringUtils.isBlank(modelInstanceContext)
- || ALL.equalsIgnoreCase(modelInstanceContext)
- || TARGETED.equalsIgnoreCase(modelInstanceContext)) {
- useLocalModelInstnacesOnly = false;
-
- } else if (LOCAL.equalsIgnoreCase(modelInstanceContext)) {
- useLocalModelInstnacesOnly = true;
-
- } else {
- MessageTracker messageTracker = MessageTracker.getInstance();
- messageTracker.addErrorMessage("An invalid model instance context of '" + modelInstanceContext
- + "' has been specified. Using 'all' instead - BUT YOU NEED TO FIX THIS ON THE TARGET");
- useLocalModelInstnacesOnly = false;
- }
-
- return useLocalModelInstnacesOnly;
- }
-
-
- /**
- * Determines whether or not a context setting denotes should only use targeted model instances.
- * @param modelInstanceContext context to check
- * @return true if targeted only
- */
- public static boolean useTargetedModelInstances(String metadataContext) {
- return (TARGETED.equalsIgnoreCase(metadataContext));
- }
-
- /**
- * Checks string equality, ignoring case, with the name of the enum.
- * @param value string to compare
- * @return equality result
- */
- public boolean equalsIgnoreCase(String value) {
- return this.name().equalsIgnoreCase(value);
- }
-}
diff --git a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelInstanceRepository.java b/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelInstanceRepository.java
deleted file mode 100644
index 6cbc7f7b..00000000
--- a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelInstanceRepository.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package org.technologybrewery.fermenter.mda.metamodel;
-
-/**
- * Common interface between legacy and new model instance repositories to allow them to more easily interact.
- */
-public interface ModelInstanceRepository {
-
- /**
- * Loads all metadata and will be invoked immediately after instantiating this instance in the templated workflow.
- */
- public abstract void load();
-
- /**
- * Validates all metadata and will be invoked immediately after loading in the templated workflow.
- */
- public abstract void validate();
-
-}
diff --git a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelInstanceRepositoryManager.java b/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelInstanceRepositoryManager.java
deleted file mode 100644
index 5d2addba..00000000
--- a/fermenter-mda/src/main/java/org/technologybrewery/fermenter/mda/metamodel/ModelInstanceRepositoryManager.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package org.technologybrewery.fermenter.mda.metamodel;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Container and lookup capability for different {@link ModelInstanceRepository} repositories.
- */
-public final class ModelInstanceRepositoryManager {
-
- private static ThreadLocal