File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
jnosql-elasticsearch/src/test/java/org/eclipse/jnosql/databases/elasticsearch Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 2424import org .eclipse .jnosql .mapping .config .MappingConfigurations ;
2525import org .eclipse .jnosql .mapping .document .DocumentEntityConverter ;
2626import org .eclipse .jnosql .mapping .document .spi .DocumentExtension ;
27- import org .eclipse .jnosql .mapping .reflection .EntityMetadataExtension ;
27+ import org .eclipse .jnosql .mapping .reflection .Reflections ;
28+ import org .eclipse .jnosql .mapping .spi .EntityMetadataExtension ;
2829import org .jboss .weld .junit5 .auto .AddExtensions ;
2930import org .jboss .weld .junit5 .auto .AddPackages ;
3031import org .jboss .weld .junit5 .auto .EnableAutoWeld ;
5051@ AddPackages (ElasticsearchTemplate .class )
5152@ AddExtensions ({EntityMetadataExtension .class ,
5253 DocumentExtension .class })
54+ @ AddPackages (Reflections .class )
5355@ EnabledIfSystemProperty (named = NAMED , matches = MATCHES )
5456class ElasticsearchTemplateIntegrationTest {
5557
Original file line number Diff line number Diff line change 2424import org .eclipse .jnosql .mapping .config .MappingConfigurations ;
2525import org .eclipse .jnosql .mapping .document .DocumentEntityConverter ;
2626import org .eclipse .jnosql .mapping .document .spi .DocumentExtension ;
27- import org .eclipse .jnosql .mapping .reflection .EntityMetadataExtension ;
27+ import org .eclipse .jnosql .mapping .reflection .Reflections ;
28+ import org .eclipse .jnosql .mapping .spi .EntityMetadataExtension ;
2829import org .jboss .weld .junit5 .auto .AddExtensions ;
2930import org .jboss .weld .junit5 .auto .AddPackages ;
3031import org .jboss .weld .junit5 .auto .EnableAutoWeld ;
5354@ AddPackages (ElasticsearchTemplate .class )
5455@ AddExtensions ({EntityMetadataExtension .class ,
5556 DocumentExtension .class })
57+ @ AddPackages (Reflections .class )
5658@ EnabledIfSystemProperty (named = NAMED , matches = MATCHES )
5759class RepositoryIntegrationTest {
5860
Original file line number Diff line number Diff line change 2424import org .eclipse .jnosql .mapping .config .MappingConfigurations ;
2525import org .eclipse .jnosql .mapping .document .DocumentEntityConverter ;
2626import org .eclipse .jnosql .mapping .document .spi .DocumentExtension ;
27- import org .eclipse .jnosql .mapping .reflection .EntityMetadataExtension ;
27+ import org .eclipse .jnosql .mapping .reflection .Reflections ;
28+ import org .eclipse .jnosql .mapping .spi .EntityMetadataExtension ;
2829import org .jboss .weld .junit5 .auto .AddExtensions ;
2930import org .jboss .weld .junit5 .auto .AddPackages ;
3031import org .jboss .weld .junit5 .auto .EnableAutoWeld ;
4748@ EnableAutoWeld
4849@ AddPackages (value = {Convert .class , DocumentEntityConverter .class })
4950@ AddPackages (Book .class )
51+ @ AddPackages (Reflections .class )
5052@ AddExtensions ({EntityMetadataExtension .class ,
5153 DocumentExtension .class })
5254@ EnabledIfSystemProperty (named = NAMED , matches = MATCHES )
Original file line number Diff line number Diff line change 2222import org .eclipse .jnosql .communication .document .Document ;
2323import org .eclipse .jnosql .communication .document .DocumentEntity ;
2424import org .eclipse .jnosql .databases .elasticsearch .communication .ElasticsearchDocumentManager ;
25- import org .eclipse .jnosql .mapping .Convert ;
2625import org .eclipse .jnosql .mapping .Converters ;
2726import org .eclipse .jnosql .mapping .document .DocumentEntityConverter ;
2827import org .eclipse .jnosql .mapping .document .DocumentEventPersistManager ;
2928import org .eclipse .jnosql .mapping .document .spi .DocumentExtension ;
3029import org .eclipse .jnosql .mapping .metadata .EntitiesMetadata ;
31- import org .eclipse .jnosql .mapping .reflection .EntityMetadataExtension ;
30+ import org .eclipse .jnosql .mapping .reflection .Reflections ;
31+ import org .eclipse .jnosql .mapping .spi .EntityMetadataExtension ;
3232import org .jboss .weld .junit5 .auto .AddExtensions ;
3333import org .jboss .weld .junit5 .auto .AddPackages ;
3434import org .jboss .weld .junit5 .auto .EnableAutoWeld ;
5151@ AddPackages (value = {Converters .class ,
5252 DocumentEntityConverter .class , ElasticsearchTemplate .class })
5353@ AddPackages (Person .class )
54+ @ AddPackages (Reflections .class )
5455@ AddExtensions ({EntityMetadataExtension .class ,
5556 DocumentExtension .class })
5657public class DefaultElasticsearchTemplateTest {
You can’t perform that action at this time.
0 commit comments