mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-23 20:42:11 +00:00
DATAES-35 - Investigate why build failed
EnableElasticsearchRepositoriesTests.bootstrapsRepository() was failing due to scanning entire org.springframework.data.elasticsearch.repositories package. Moved ComplexRepositoryTests to another package due to which test was failing.
This commit is contained in:
parent
00ffc4a68e
commit
f768c1698e
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.repositories;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.repositories;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.repositories;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
import org.springframework.data.elasticsearch.SampleEntity;
|
import org.springframework.data.elasticsearch.SampleEntity;
|
||||||
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
|
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.repositories;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Artur Konczak
|
* @author Artur Konczak
|
@ -1,8 +1,7 @@
|
|||||||
package org.springframework.data.elasticsearch.repositories.impl;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
|
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
|
||||||
import org.springframework.data.elasticsearch.repositories.ComplexElasticsearchRepositoryCustom;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Artur Konczak
|
* @author Artur Konczak
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.repositories;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
import org.springframework.data.elasticsearch.SampleEntity;
|
import org.springframework.data.elasticsearch.SampleEntity;
|
||||||
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
|
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
|
@ -13,10 +13,9 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.repositories.impl;
|
package org.springframework.data.elasticsearch.repository.complex;
|
||||||
|
|
||||||
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
|
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
|
||||||
import org.springframework.data.elasticsearch.repositories.ComplexElasticsearchRepositoryCustom;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Artur Konczak
|
* @author Artur Konczak
|
@ -13,9 +13,9 @@
|
|||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<elasticsearch:repositories
|
<elasticsearch:repositories
|
||||||
base-package="org.springframework.data.elasticsearch.repositories" />
|
base-package="org.springframework.data.elasticsearch.repository.complex" />
|
||||||
|
|
||||||
<bean id="complexElasticsearchRepositoryManualWiringImpl" class="org.springframework.data.elasticsearch.repositories.impl.ComplexElasticsearchRepositoryManualWiringImpl">
|
<bean id="complexElasticsearchRepositoryManualWiringImpl" class="org.springframework.data.elasticsearch.repository.complex.ComplexElasticsearchRepositoryManualWiringImpl">
|
||||||
<property name="template" ref="elasticsearchTemplate"/>
|
<property name="template" ref="elasticsearchTemplate"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
@ -13,6 +13,6 @@
|
|||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<elasticsearch:repositories
|
<elasticsearch:repositories
|
||||||
base-package="org.springframework.data.elasticsearch.repositories" />
|
base-package="org.springframework.data.elasticsearch.repository.complex" />
|
||||||
|
|
||||||
</beans>
|
</beans>
|
Loading…
x
Reference in New Issue
Block a user