test_class.file: shared/src/test/java/org/eclipse/steady/shared/util/VulasConfigurationTest.java
test_class.identifier: VulasConfigurationTest
test_case.body: @Test
    public void testEscapedUrl() {
      final VulasConfiguration c1 = new VulasConfiguration();
      final Properties props = new Properties();
      try {
        props.load(new FileInputStream(new File("./src/test/resources/vulas-test.properties")));
        assertEquals("https://foo.com/bar", props.getProperty("vulas.bar"));
      } catch (IOException e) {
        assertTrue(false);
      }
    }
test_case.class_method_signature: VulasConfigurationTest.testEscapedUrl()
test_case.full_signature: @Test public void testEscapedUrl()
test_case.identifier: testEscapedUrl
test_case.invocations: load assertEquals getProperty assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEscapedUrl()
focal_class.declarator: log = null
focal_class.modifier: private static
focal_class.original_string: private static Logger log = null;
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: LOG_PREFIXES = new String[] {"http", "https", "vulas"}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] LOG_PREFIXES = new String[] {"http", "https", "vulas"};
focal_class.type: String[]
focal_class.var_name: LOG_PREFIXES
focal_class.declarator: global = null
focal_class.modifier: private static
focal_class.original_string: private static VulasConfiguration global = null;
focal_class.type: VulasConfiguration
focal_class.var_name: global
focal_class.declarator: cfg =
        new CompositeConfiguration()
focal_class.modifier: private
focal_class.original_string: private org.apache.commons.configuration.CompositeConfiguration cfg =
        new CompositeConfiguration();
focal_class.type: org.apache.commons.configuration.CompositeConfiguration
focal_class.var_name: cfg
focal_class.declarator: m2 = null
focal_class.modifier: private
focal_class.original_string: private Path m2 = null;
focal_class.type: Path
focal_class.var_name: m2
focal_class.declarator: individualConfigurations =
        new LinkedHashMap<Configuration, String>()
focal_class.modifier: private
focal_class.original_string: private Map<Configuration, String> individualConfigurations =
        new LinkedHashMap<Configuration, String>();
focal_class.type: Map<Configuration, String>
focal_class.var_name: individualConfigurations
focal_class.declarator: writableConfiguration = new MapConfiguration(new HashMap<String, Object>())
focal_class.modifier: private
focal_class.original_string: private Configuration writableConfiguration = new MapConfiguration(new HashMap<String, Object>());
focal_class.type: Configuration
focal_class.var_name: writableConfiguration
focal_class.declarator: propertiesRegex = "vulas-.*\\.properties"
focal_class.modifier: private static final
focal_class.original_string: private static final String propertiesRegex = "vulas-.*\\.properties";
focal_class.type: String
focal_class.var_name: propertiesRegex
focal_class.declarator: propertiesRegexSpring = "BOOT-INF/classes/vulas-.*\\.properties"
focal_class.modifier: private static final
focal_class.original_string: private static final String propertiesRegexSpring = "BOOT-INF/classes/vulas-.*\\.properties";
focal_class.type: String
focal_class.var_name: propertiesRegexSpring
focal_class.declarator: SYS_PROP_CFG_LAYER = "System-Properties"
focal_class.modifier: public static final
focal_class.original_string: public static final String SYS_PROP_CFG_LAYER = "System-Properties";
focal_class.type: String
focal_class.var_name: SYS_PROP_CFG_LAYER
focal_class.declarator: TRANSIENT_CFG_LAYER = "Transient-Config-Layer"
focal_class.modifier: public static final
focal_class.original_string: public static final String TRANSIENT_CFG_LAYER = "Transient-Config-Layer";
focal_class.type: String
focal_class.var_name: TRANSIENT_CFG_LAYER
focal_class.declarator: ENV_CFG_LAYER = "Environment-Variables"
focal_class.modifier: public static final
focal_class.original_string: public static final String ENV_CFG_LAYER = "Environment-Variables";
focal_class.type: String
focal_class.var_name: ENV_CFG_LAYER
focal_class.declarator: MAND_SETTINGS = "vulas.shared.settings.mandatory"
focal_class.modifier: public static final
focal_class.original_string: public static final String MAND_SETTINGS = "vulas.shared.settings.mandatory";
focal_class.type: String
focal_class.var_name: MAND_SETTINGS
focal_class.declarator: OPTI_SETTINGS = "vulas.shared.settings.optional"
focal_class.modifier: public static final
focal_class.original_string: public static final String OPTI_SETTINGS = "vulas.shared.settings.optional";
focal_class.type: String
focal_class.var_name: OPTI_SETTINGS
focal_class.declarator: VERSION = "vulas.shared.version"
focal_class.modifier: public static final
focal_class.original_string: public static final String VERSION = "vulas.shared.version";
focal_class.type: String
focal_class.var_name: VERSION
focal_class.declarator: BUILD_TIMESTAMP = "vulas.shared.buildTimestamp"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUILD_TIMESTAMP = "vulas.shared.buildTimestamp";
focal_class.type: String
focal_class.var_name: BUILD_TIMESTAMP
focal_class.declarator: BUILD_NUMBER = "vulas.shared.buildNumber"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUILD_NUMBER = "vulas.shared.buildNumber";
focal_class.type: String
focal_class.var_name: BUILD_NUMBER
focal_class.declarator: BUILD_BRANCH = "vulas.shared.buildBranch"
focal_class.modifier: public static final
focal_class.original_string: public static final String BUILD_BRANCH = "vulas.shared.buildBranch";
focal_class.type: String
focal_class.var_name: BUILD_BRANCH
focal_class.declarator: HOMEPAGE = "vulas.shared.homepage"
focal_class.modifier: public static final
focal_class.original_string: public static final String HOMEPAGE = "vulas.shared.homepage";
focal_class.type: String
focal_class.var_name: HOMEPAGE
focal_class.declarator: CHARSET = "vulas.shared.charset"
focal_class.modifier: public static final
focal_class.original_string: public static final String CHARSET = "vulas.shared.charset";
focal_class.type: String
focal_class.var_name: CHARSET
focal_class.declarator: TMP_DIR = "vulas.shared.tmpDir"
focal_class.modifier: public static final
focal_class.original_string: public static final String TMP_DIR = "vulas.shared.tmpDir";
focal_class.type: String
focal_class.var_name: TMP_DIR
focal_class.declarator: VULAS_JIRA_USER = "vulas.jira.usr"
focal_class.modifier: public static final
focal_class.original_string: public static final String VULAS_JIRA_USER = "vulas.jira.usr";
focal_class.type: String
focal_class.var_name: VULAS_JIRA_USER
focal_class.declarator: VULAS_JIRA_PWD = "vulas.jira.pwd"
focal_class.modifier: public static final
focal_class.original_string: public static final String VULAS_JIRA_PWD = "vulas.jira.pwd";
focal_class.type: String
focal_class.var_name: VULAS_JIRA_PWD
focal_class.declarator: M2_DIR = "vulas.shared.m2Dir"
focal_class.modifier: public static final
focal_class.original_string: public static final String M2_DIR = "vulas.shared.m2Dir";
focal_class.type: String
focal_class.var_name: M2_DIR
focal_class.declarator: SYS_PROPS = "vulas.shared.sys"
focal_class.modifier: public static final
focal_class.original_string: public static final String SYS_PROPS = "vulas.shared.sys";
focal_class.type: String
focal_class.var_name: SYS_PROPS
focal_class.declarator: SYS_PROPS_CUSTOM = "vulas.shared.sys.custom"
focal_class.modifier: public static final
focal_class.original_string: public static final String SYS_PROPS_CUSTOM = "vulas.shared.sys.custom";
focal_class.type: String
focal_class.var_name: SYS_PROPS_CUSTOM
focal_class.declarator: ENV_VARS = "vulas.shared.env"
focal_class.modifier: public static final
focal_class.original_string: public static final String ENV_VARS = "vulas.shared.env";
focal_class.type: String
focal_class.var_name: ENV_VARS
focal_class.declarator: ENV_VARS_CUSTOM = "vulas.shared.env.custom"
focal_class.modifier: public static final
focal_class.original_string: public static final String ENV_VARS_CUSTOM = "vulas.shared.env.custom";
focal_class.type: String
focal_class.var_name: ENV_VARS_CUSTOM
focal_class.file: shared/src/main/java/org/eclipse/steady/shared/util/VulasConfiguration.java
focal_class.identifier: VulasConfiguration
focal_class.class_method_signature: VulasConfiguration.getLog()
focal_class.full_signature: private static final synchronized Logger getLog()
focal_class.identifier: getLog
focal_class.modifiers: private static final synchronized
focal_class.parameters: ()
focal_class.return: Logger
focal_class.signature: Logger getLog()
focal_class.class_method_signature: VulasConfiguration.getGlobal()
focal_class.full_signature: public static final synchronized VulasConfiguration getGlobal()
focal_class.identifier: getGlobal
focal_class.modifiers: public static final synchronized
focal_class.parameters: ()
focal_class.return: VulasConfiguration
focal_class.signature: VulasConfiguration getGlobal()
focal_class.class_method_signature: VulasConfiguration.VulasConfiguration()
focal_class.full_signature: public  VulasConfiguration()
focal_class.identifier: VulasConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  VulasConfiguration()
focal_class.class_method_signature: VulasConfiguration.getConfiguration()
focal_class.full_signature: public org.apache.commons.configuration.Configuration getConfiguration()
focal_class.identifier: getConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: org.apache.commons.configuration.Configuration
focal_class.signature: org.apache.commons.configuration.Configuration getConfiguration()
focal_class.class_method_signature: VulasConfiguration.appendInitialConfigurations()
focal_class.full_signature: private void appendInitialConfigurations()
focal_class.identifier: appendInitialConfigurations
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void appendInitialConfigurations()
focal_class.class_method_signature: VulasConfiguration.addConfiguration(Configuration _cfg, String _source)
focal_class.full_signature: private void addConfiguration(Configuration _cfg, String _source)
focal_class.identifier: addConfiguration
focal_class.modifiers: private
focal_class.parameters: (Configuration _cfg, String _source)
focal_class.return: void
focal_class.signature: void addConfiguration(Configuration _cfg, String _source)
focal_class.class_method_signature: VulasConfiguration.putConfiguration(
        Configuration _cfg, String _source, int _position, boolean _replace_if_existing)
focal_class.full_signature: private boolean putConfiguration(
        Configuration _cfg, String _source, int _position, boolean _replace_if_existing)
focal_class.identifier: putConfiguration
focal_class.modifiers: private
focal_class.parameters: (
        Configuration _cfg, String _source, int _position, boolean _replace_if_existing)
focal_class.return: boolean
focal_class.signature: boolean putConfiguration(
        Configuration _cfg, String _source, int _position, boolean _replace_if_existing)
focal_class.class_method_signature: VulasConfiguration.rebuild()
focal_class.full_signature: private void rebuild()
focal_class.identifier: rebuild
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void rebuild()
focal_class.class_method_signature: VulasConfiguration.addLayerAfterSysProps(
        @NotNull String _layer_name,
        @NotNull Map<?, ?> _map,
        String _ignore_value,
        boolean _ignore_null)
focal_class.full_signature: public void addLayerAfterSysProps(
        @NotNull String _layer_name,
        @NotNull Map<?, ?> _map,
        String _ignore_value,
        boolean _ignore_null)
focal_class.identifier: addLayerAfterSysProps
focal_class.modifiers: public
focal_class.parameters: (
        @NotNull String _layer_name,
        @NotNull Map<?, ?> _map,
        String _ignore_value,
        boolean _ignore_null)
focal_class.return: void
focal_class.signature: void addLayerAfterSysProps(
        @NotNull String _layer_name,
        @NotNull Map<?, ?> _map,
        String _ignore_value,
        boolean _ignore_null)
focal_class.class_method_signature: VulasConfiguration.getConfigurationLayer(String _layer_name)
focal_class.full_signature: public Configuration getConfigurationLayer(String _layer_name)
focal_class.identifier: getConfigurationLayer
focal_class.modifiers: public
focal_class.parameters: (String _layer_name)
focal_class.return: Configuration
focal_class.signature: Configuration getConfigurationLayer(String _layer_name)
focal_class.class_method_signature: VulasConfiguration.appendConfigurationsFromJarPath(String _jar_path)
focal_class.full_signature: protected boolean appendConfigurationsFromJarPath(String _jar_path)
focal_class.identifier: appendConfigurationsFromJarPath
focal_class.modifiers: protected
focal_class.parameters: (String _jar_path)
focal_class.return: boolean
focal_class.signature: boolean appendConfigurationsFromJarPath(String _jar_path)
focal_class.class_method_signature: VulasConfiguration.appendConfigurationsFromJar(Class<?> _clazz)
focal_class.full_signature: protected boolean appendConfigurationsFromJar(Class<?> _clazz)
focal_class.identifier: appendConfigurationsFromJar
focal_class.modifiers: protected
focal_class.parameters: (Class<?> _clazz)
focal_class.return: boolean
focal_class.signature: boolean appendConfigurationsFromJar(Class<?> _clazz)
focal_class.class_method_signature: VulasConfiguration.discoverConfigurationsInJar(Class<?> _clazz)
focal_class.full_signature: private Map<String, Configuration> discoverConfigurationsInJar(Class<?> _clazz)
focal_class.identifier: discoverConfigurationsInJar
focal_class.modifiers: private
focal_class.parameters: (Class<?> _clazz)
focal_class.return: Map<String, Configuration>
focal_class.signature: Map<String, Configuration> discoverConfigurationsInJar(Class<?> _clazz)
focal_class.class_method_signature: VulasConfiguration.discoverConfigurationsInJarUri(String _jar_path)
focal_class.full_signature: private Map<String, Configuration> discoverConfigurationsInJarUri(String _jar_path)
focal_class.identifier: discoverConfigurationsInJarUri
focal_class.modifiers: private
focal_class.parameters: (String _jar_path)
focal_class.return: Map<String, Configuration>
focal_class.signature: Map<String, Configuration> discoverConfigurationsInJarUri(String _jar_path)
focal_class.class_method_signature: VulasConfiguration.discoverConfigurationsInNestedJar(
        String _name, JarInputStream _jis)
focal_class.full_signature: private Map<String, Configuration> discoverConfigurationsInNestedJar(
        String _name, JarInputStream _jis)
focal_class.identifier: discoverConfigurationsInNestedJar
focal_class.modifiers: private
focal_class.parameters: (
        String _name, JarInputStream _jis)
focal_class.return: Map<String, Configuration>
focal_class.signature: Map<String, Configuration> discoverConfigurationsInNestedJar(
        String _name, JarInputStream _jis)
focal_class.class_method_signature: VulasConfiguration.readContent(JarInputStream _jis)
focal_class.full_signature: private byte[] readContent(JarInputStream _jis)
focal_class.identifier: readContent
focal_class.modifiers: private
focal_class.parameters: (JarInputStream _jis)
focal_class.return: byte[]
focal_class.signature: byte[] readContent(JarInputStream _jis)
focal_class.class_method_signature: VulasConfiguration.checkSettings()
focal_class.full_signature: public void checkSettings()
focal_class.identifier: checkSettings
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkSettings()
focal_class.class_method_signature: VulasConfiguration.clearTransientProperties()
focal_class.full_signature: public boolean clearTransientProperties()
focal_class.identifier: clearTransientProperties
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean clearTransientProperties()
focal_class.class_method_signature: VulasConfiguration.isEmpty(String _key)
focal_class.full_signature: public boolean isEmpty(String _key)
focal_class.identifier: isEmpty
focal_class.modifiers: public
focal_class.parameters: (String _key)
focal_class.return: boolean
focal_class.signature: boolean isEmpty(String _key)
focal_class.class_method_signature: VulasConfiguration.getProperty(@NotNull String _key, Object _default)
focal_class.full_signature: public Object getProperty(@NotNull String _key, Object _default)
focal_class.identifier: getProperty
focal_class.modifiers: public
focal_class.parameters: (@NotNull String _key, Object _default)
focal_class.return: Object
focal_class.signature: Object getProperty(@NotNull String _key, Object _default)
focal_class.class_method_signature: VulasConfiguration.setPropertyIfEmpty(@NotNull String _key, Object _value)
focal_class.full_signature: public void setPropertyIfEmpty(@NotNull String _key, Object _value)
focal_class.identifier: setPropertyIfEmpty
focal_class.modifiers: public
focal_class.parameters: (@NotNull String _key, Object _value)
focal_class.return: void
focal_class.signature: void setPropertyIfEmpty(@NotNull String _key, Object _value)
focal_class.class_method_signature: VulasConfiguration.setProperty(@NotNull String _key, Object _value)
focal_class.full_signature: public void setProperty(@NotNull String _key, Object _value)
focal_class.identifier: setProperty
focal_class.modifiers: public
focal_class.parameters: (@NotNull String _key, Object _value)
focal_class.return: void
focal_class.signature: void setProperty(@NotNull String _key, Object _value)
focal_class.class_method_signature: VulasConfiguration.setProperty(
        @NotNull String _key, Object _value, String _ignore_value, boolean _ignore_null)
focal_class.full_signature: public void setProperty(
        @NotNull String _key, Object _value, String _ignore_value, boolean _ignore_null)
focal_class.identifier: setProperty
focal_class.modifiers: public
focal_class.parameters: (
        @NotNull String _key, Object _value, String _ignore_value, boolean _ignore_null)
focal_class.return: void
focal_class.signature: void setProperty(
        @NotNull String _key, Object _value, String _ignore_value, boolean _ignore_null)
focal_class.class_method_signature: VulasConfiguration.getStringArray(@NotNull String _key, String[] _default)
focal_class.full_signature: public String[] getStringArray(@NotNull String _key, String[] _default)
focal_class.identifier: getStringArray
focal_class.modifiers: public
focal_class.parameters: (@NotNull String _key, String[] _default)
focal_class.return: String[]
focal_class.signature: String[] getStringArray(@NotNull String _key, String[] _default)
focal_class.class_method_signature: VulasConfiguration.getDir(String _key)
focal_class.full_signature: public Path getDir(String _key)
focal_class.identifier: getDir
focal_class.modifiers: public
focal_class.parameters: (String _key)
focal_class.return: Path
focal_class.signature: Path getDir(String _key)
focal_class.class_method_signature: VulasConfiguration.getTmpDir()
focal_class.full_signature: public Path getTmpDir()
focal_class.identifier: getTmpDir
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Path
focal_class.signature: Path getTmpDir()
focal_class.class_method_signature: VulasConfiguration.getServiceUrl(Service _service)
focal_class.full_signature: public String getServiceUrl(Service _service)
focal_class.identifier: getServiceUrl
focal_class.modifiers: public
focal_class.parameters: (Service _service)
focal_class.return: String
focal_class.signature: String getServiceUrl(Service _service)
focal_class.class_method_signature: VulasConfiguration.getServiceUrl(Service _service, boolean _throw_exception)
focal_class.full_signature: public String getServiceUrl(Service _service, boolean _throw_exception)
focal_class.identifier: getServiceUrl
focal_class.modifiers: public
focal_class.parameters: (Service _service, boolean _throw_exception)
focal_class.return: String
focal_class.signature: String getServiceUrl(Service _service, boolean _throw_exception)
focal_class.class_method_signature: VulasConfiguration.getServiceHeaders(Service _service)
focal_class.full_signature: public Map<String, String> getServiceHeaders(Service _service)
focal_class.identifier: getServiceHeaders
focal_class.modifiers: public
focal_class.parameters: (Service _service)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getServiceHeaders(Service _service)
focal_class.class_method_signature: VulasConfiguration.hasServiceUrl(Service _service)
focal_class.full_signature: public boolean hasServiceUrl(Service _service)
focal_class.identifier: hasServiceUrl
focal_class.modifiers: public
focal_class.parameters: (Service _service)
focal_class.return: boolean
focal_class.signature: boolean hasServiceUrl(Service _service)
focal_class.class_method_signature: VulasConfiguration.setServiceUrl(Service _service, String _value)
focal_class.full_signature: public void setServiceUrl(Service _service, String _value)
focal_class.identifier: setServiceUrl
focal_class.modifiers: public
focal_class.parameters: (Service _service, String _value)
focal_class.return: void
focal_class.signature: void setServiceUrl(Service _service, String _value)
focal_class.class_method_signature: VulasConfiguration.getServiceUrlKey(Service _service)
focal_class.full_signature: public static String getServiceUrlKey(Service _service)
focal_class.identifier: getServiceUrlKey
focal_class.modifiers: public static
focal_class.parameters: (Service _service)
focal_class.return: String
focal_class.signature: String getServiceUrlKey(Service _service)
focal_class.class_method_signature: VulasConfiguration.getLocalM2Repository()
focal_class.full_signature: public Path getLocalM2Repository()
focal_class.identifier: getLocalM2Repository
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Path
focal_class.signature: Path getLocalM2Repository()
focal_class.class_method_signature: VulasConfiguration.log(String[] _prefix, String _indent)
focal_class.full_signature: public void log(String[] _prefix, String _indent)
focal_class.identifier: log
focal_class.modifiers: public
focal_class.parameters: (String[] _prefix, String _indent)
focal_class.return: void
focal_class.signature: void log(String[] _prefix, String _indent)
focal_class.class_method_signature: VulasConfiguration.getStringList(String... _config_names)
focal_class.full_signature: public final StringList getStringList(String... _config_names)
focal_class.identifier: getStringList
focal_class.modifiers: public final
focal_class.parameters: (String... _config_names)
focal_class.return: StringList
focal_class.signature: StringList getStringList(String... _config_names)
focal_method.body: public Object getProperty(@NotNull String _key, Object _default) {
      Object obj = cfg.getProperty(_key);
      if (obj == null) {
        obj = _default;
      } else if (obj instanceof String) {
        String other_key = (String) obj;
        if (this.cfg.containsKey(other_key)) {
          obj = this.getProperty(other_key, _default);
        }
      }
      return obj;
    }
focal_method.class_method_signature: VulasConfiguration.getProperty(@NotNull String _key, Object _default)
focal_method.full_signature: public Object getProperty(@NotNull String _key, Object _default)
focal_method.identifier: getProperty
focal_method.invocations: getProperty containsKey getProperty
focal_method.modifiers: public
focal_method.parameters: (@NotNull String _key, Object _default)
focal_method.return: Object
focal_method.signature: Object getProperty(@NotNull String _key, Object _default)