All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tkit.quarkus.test.TestConfigUtil Maven / Gradle / Ivy

package org.tkit.quarkus.test;

import io.smallrye.config.SmallRyeConfigBuilder;

public final class TestConfigUtil {

    private final static TestConfig TEST_CONFIG;

    static {
        TEST_CONFIG = new SmallRyeConfigBuilder()
                .addDefaultSources()
                .withMapping(TestConfig.class)
                .build()
                .getConfigMapping(TestConfig.class);
    }

    static public TestConfig config() {
        return TEST_CONFIG;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy