org.opensearch.spring.boot.autoconfigure.test.AutoConfigureDataOpenSearch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-data-opensearch-test-autoconfigure Show documentation
Show all versions of spring-data-opensearch-test-autoconfigure Show documentation
Spring Boot autoconfigurations for Spring Data Implementation for OpenSearch to support testing
The newest version!
/*
* Copyright OpenSearch Contributors.
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.spring.boot.autoconfigure.test;
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.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataAutoConfiguration;
/**
* {@link ImportAutoConfiguration Auto-configuration imports} for typical Data OpenSearch tests.
* Most tests should consider using {@link DataOpenSearchTest} rather than using this annotation
* directly.
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@ImportAutoConfiguration(exclude = ElasticsearchDataAutoConfiguration.class)
public @interface AutoConfigureDataOpenSearch {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy