<commit_before>package io.cloudsoft.tosca.a4c.brooklyn;

import java.util.List;

import org.apache.brooklyn.util.core.ResourceUtils;
import org.apache.brooklyn.util.yaml.Yamls;

import com.google.common.collect.ImmutableList;

public class ConfigLoader {

    private static final String CONFIG_URL = "classpath://brooklyn/brooklyn-tosca-config.yaml";

    private ConfigLoader() {}

    @SuppressWarnings("unchecked")
    public static Iterable<String> getDefaultTypes() {
        String input = new ResourceUtils(null).getResourceAsString(CONFIG_URL);
        return (List) Yamls.getAt(input, ImmutableList.of("defaultTypes"));
    }

}<commit_msg>i think this should find the yaml config file<commit_after>package io.cloudsoft.tosca.a4c.brooklyn;

import java.util.List;

import org.apache.brooklyn.util.core.ResourceUtils;
import org.apache.brooklyn.util.yaml.Yamls;

import com.google.common.collect.ImmutableList;

public class ConfigLoader {

    private static final String CONFIG_URL = "classpath://brooklyn/brooklyn-tosca-config.yaml";

    private ConfigLoader() {}

    @SuppressWarnings("unchecked")
    public static Iterable<String> getDefaultTypes() {
        String input = new ResourceUtils(ConfigLoader.class.getClassLoader()).getResourceAsString(CONFIG_URL);
        return (List) Yamls.getAt(input, ImmutableList.of("defaultTypes"));
    }

}
{'fraction_non_alphanumeric': 0.11298606016140866, 'fraction_numerical': 0.001467351430667645, 'mean_word_length': 4.755274261603375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1224272', 'n_tokens_mistral': 422, 'n_tokens_neox': 412, 'n_words': 76}