1
0
mirror of synced 2026-08-04 07:56:56 +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:
mohsin.husen
2014-02-08 10:57:49 +00:00
parent 00ffc4a68e
commit f768c1698e
9 changed files with 10 additions and 12 deletions
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.data.elasticsearch.repositories;
package org.springframework.data.elasticsearch.repository.complex;
import org.junit.Before;
import org.junit.Test;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.data.elasticsearch.repositories;
package org.springframework.data.elasticsearch.repository.complex;
import org.junit.Before;
import org.junit.Test;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* 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.repository.ElasticsearchRepository;
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.data.elasticsearch.repositories;
package org.springframework.data.elasticsearch.repository.complex;
/**
* @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.data.elasticsearch.core.ElasticsearchTemplate;
import org.springframework.data.elasticsearch.repositories.ComplexElasticsearchRepositoryCustom;
/**
* @author Artur Konczak
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* 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.repository.ElasticsearchRepository;
@@ -13,10 +13,9 @@
* See the License for the specific language governing permissions and
* 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.repositories.ComplexElasticsearchRepositoryCustom;
/**
* @author Artur Konczak
@@ -13,9 +13,9 @@
</bean>
<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"/>
</bean>
@@ -13,6 +13,6 @@
</bean>
<elasticsearch:repositories
base-package="org.springframework.data.elasticsearch.repositories" />
base-package="org.springframework.data.elasticsearch.repository.complex" />
</beans>