io.tapirtest.allure2.Allure2Configuration Maven / Gradle / Ivy
package io.tapirtest.allure2;
import de.bmiag.tapir.bootstrap.FqnAnnotationBeanNameGenerator;
import de.bmiag.tapir.bootstrap.annotation.ModuleConfiguration;
import de.bmiag.tapir.bootstrap.annotation.NoScan;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.ComponentScan;
/**
* Provides the configuration for the tapir extensions Allure 2 module. In this configuration class only beans are registered which are not annotated by Component.
*
* @author Oliver Libutzki {@literal <}[email protected]{@literal >}
*
* @since 1.0.0
*/
@ModuleConfiguration
@AutoConfigureOrder(Allure2Configuration.AUTO_CONFIGURE_ORDER)
@ComponentScan(basePackageClasses = Allure2Configuration.class, nameGenerator = FqnAnnotationBeanNameGenerator.class, excludeFilters = @ComponentScan.Filter(classes = NoScan.class))
@SuppressWarnings("all")
public class Allure2Configuration {
public final static int AUTO_CONFIGURE_ORDER = 7000;
}