Class ConfigLoader


  • public final class ConfigLoader
    extends Object
    • Method Detail

      • loadConfig

        public static Config loadConfig​(String heronHome,
                                        String configPath,
                                        String releaseFile,
                                        String overrideConfigFile)
        Loads raw configurations from files under the heronHome and configPath. The returned config must be converted to either local or cluster mode to trigger pattern substitution of wildcards tokens.
      • loadClusterConfig

        public static Config loadClusterConfig()
        Loads raw configurations using the default configured heronHome and configPath on the cluster. The returned config must be converted to either local or cluster mode to trigger pattern substitution of wildcards tokens.