<commit_before>package org.opendaylight.controller.test.sal.binding.it;

import static org.ops4j.pax.exam.CoreOptions.frameworkProperty;
import static org.ops4j.pax.exam.CoreOptions.junitBundles;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
import static org.ops4j.pax.exam.CoreOptions.repository;
import static org.ops4j.pax.exam.CoreOptions.repositories;
import static org.ops4j.pax.exam.CoreOptions.systemProperty;

import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.options.DefaultCompositeOption;
import org.ops4j.pax.exam.util.PathUtils;

public class TestHelper {

    public static final String CONTROLLER = "org.opendaylight.controller";
    public static final String YANGTOOLS = "org.opendaylight.yangtools";

    public static final String CONTROLLER_MODELS = "org.opendaylight.controller.model";
    public static final String YANGTOOLS_MODELS = "org.opendaylight.yangtools.model";
    private static final String OPENDAYLIGHT_SNAPSHOT = "http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/";
    private static final String OPENDAYLIGHT_RELEASE = "http://nexus.opendaylight.org/content/repositories/opendaylight.release/";

    public static Option mdSalCoreBundles() {
        return new DefaultCompositeOption( //
                mavenBundle(YANGTOOLS, "concepts").versionAsInProject(), // //
                mavenBundle(YANGTOOLS, "yang-binding").versionAsInProject(), // //
                mavenBundle(YANGTOOLS, "yang-common").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "sal-common").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "sal-common-api").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "sal-common-impl").versionAsInProject(), // //

                mavenBundle("org.apache.commons", "commons-lang3").versionAsInProject(), //
                mavenBundle("com.google.guava", "guava").versionAsInProject(), // //
                mavenBundle(YANGTOOLS + ".thirdparty", "xtend-lib-osgi").versionAsInProject() //
        );
    }

    public static Option configMinumumBundles() {
        return new DefaultCompositeOption(
                mavenBundle("org.opendaylight.bgpcep", "framework").versionAsInProject(), //
                mavenBundle("org.opendaylight.bgpcep", "util").versionAsInProject(), //
                mavenBundle("commons-codec", "commons-codec").versionAsInProject(),
                
                mavenBundle(CONTROLLER, "config-api").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "config-manager").versionAsInProject(), // //
                mavenBundle("commons-io", "commons-io").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-api").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-manager").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-util").versionAsInProject(), //
                mavenBundle(CONTROLLER, "yang-jmx-generator").versionAsInProject(), //
                mavenBundle(CONTROLLER, "yang-store-api").versionAsInProject(), //
                mavenBundle(CONTROLLER, "yang-store-impl").versionAsInProject(), //
                mavenBundle(CONTROLLER, "logback-config").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-persister-api").versionAsInProject(), //<commit_msg>removed config-util from pax-exam minimum bundles as this is not a bundle<commit_after>package org.opendaylight.controller.test.sal.binding.it;

import static org.ops4j.pax.exam.CoreOptions.frameworkProperty;
import static org.ops4j.pax.exam.CoreOptions.junitBundles;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
import static org.ops4j.pax.exam.CoreOptions.repository;
import static org.ops4j.pax.exam.CoreOptions.repositories;
import static org.ops4j.pax.exam.CoreOptions.systemProperty;

import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.options.DefaultCompositeOption;
import org.ops4j.pax.exam.util.PathUtils;

public class TestHelper {

    public static final String CONTROLLER = "org.opendaylight.controller";
    public static final String YANGTOOLS = "org.opendaylight.yangtools";

    public static final String CONTROLLER_MODELS = "org.opendaylight.controller.model";
    public static final String YANGTOOLS_MODELS = "org.opendaylight.yangtools.model";
    private static final String OPENDAYLIGHT_SNAPSHOT = "http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/";
    private static final String OPENDAYLIGHT_RELEASE = "http://nexus.opendaylight.org/content/repositories/opendaylight.release/";

    public static Option mdSalCoreBundles() {
        return new DefaultCompositeOption( //
                mavenBundle(YANGTOOLS, "concepts").versionAsInProject(), // //
                mavenBundle(YANGTOOLS, "yang-binding").versionAsInProject(), // //
                mavenBundle(YANGTOOLS, "yang-common").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "sal-common").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "sal-common-api").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "sal-common-impl").versionAsInProject(), // //

                mavenBundle("org.apache.commons", "commons-lang3").versionAsInProject(), //
                mavenBundle("com.google.guava", "guava").versionAsInProject(), // //
                mavenBundle(YANGTOOLS + ".thirdparty", "xtend-lib-osgi").versionAsInProject() //
        );
    }

    public static Option configMinumumBundles() {
        return new DefaultCompositeOption(
                mavenBundle("org.opendaylight.bgpcep", "framework").versionAsInProject(), //
                mavenBundle("org.opendaylight.bgpcep", "util").versionAsInProject(), //
                mavenBundle("commons-codec", "commons-codec").versionAsInProject(),
                
                mavenBundle(CONTROLLER, "config-api").versionAsInProject(), // //
                mavenBundle(CONTROLLER, "config-manager").versionAsInProject(), // //
                mavenBundle("commons-io", "commons-io").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-api").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-manager").versionAsInProject(), //
                mavenBundle(CONTROLLER, "yang-jmx-generator").versionAsInProject(), //
                mavenBundle(CONTROLLER, "yang-store-api").versionAsInProject(), //
                mavenBundle(CONTROLLER, "yang-store-impl").versionAsInProject(), //
                mavenBundle(CONTROLLER, "logback-config").versionAsInProject(), //
                mavenBundle(CONTROLLER, "config-persister-api").versionAsInProject(), //
{'fraction_non_alphanumeric': 0.13277761238463828, 'fraction_numerical': 0.002977076510866329, 'mean_word_length': 3.0994508846857842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5716678', 'n_tokens_mistral': 2086, 'n_tokens_neox': 1943, 'n_words': 261}