package ca.corefacility.bioinformatics.irida.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.junit.jupiter.api.Tag;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

import ca.corefacility.bioinformatics.irida.config.IridaApiGalaxyTestConfig;
import ca.corefacility.bioinformatics.irida.config.data.IridaApiTestFilesystemConfig;
import ca.corefacility.bioinformatics.irida.config.services.IridaApiServicesConfig;

/**
 * Annotation that is to be specified on Galaxy integration tests. Simplifies the configuration of tests by
 * automatically adding a number of necessary annotations.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Inherited

@Tag("IntegrationTest")
@Tag("Galaxy")
@ActiveProfiles("test")
@SpringBootTest(classes = {
		DataSourceAutoConfiguration.class,
		IridaApiTestFilesystemConfig.class,
		IridaApiServicesConfig.class,
		IridaApiGalaxyTestConfig.class })
public @interface GalaxyIntegrationTest {

}

package ca.corefacility.bioinformatics.irida.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.junit.jupiter.api.Tag;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

import ca.corefacility.bioinformatics.irida.config.IridaApiGalaxyTestConfig;
import ca.corefacility.bioinformatics.irida.config.data.IridaApiTestFilesystemConfig;
import ca.corefacility.bioinformatics.irida.config.services.IridaApiServicesConfig;

/**
 * Annotation that is to be specified on Galaxy integration tests. Simplifies the configuration of tests by
 * automatically adding a number of necessary annotations.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Inherited

@Tag("IntegrationTest")
@Tag("Galaxy")
@ActiveProfiles("test")
@SpringBootTest(classes = {
		DataSourceAutoConfiguration.class,
		HibernateJpaAutoConfiguration.class,
		IridaApiTestFilesystemConfig.class,
		IridaApiServicesConfig.class,
		IridaApiGalaxyTestConfig.class })
public @interface GalaxyIntegrationTest {

}

Add back in missing auto config for galaxy integration tests.
Add back in missing auto config for galaxy integration tests.
