-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
In #48 an easier way to import collections has been implemented, but I also think that being able to point to a "directory" instead of a single file(or list, whatever) would definetly increase the ease of use of this goal
<execution>
<id>mongo-import</id>
<phase>process-test-resources</phase>
<goals>
<goal>mongo-import</goal>
</goals>
<configuration>
<imports>
<import>
<database>${mongodb.database.name}</database>
<file>${basedir}/src/test/resources/mongodata</file>
</import>
</imports>
</configuration>
</execution>
In mongodata I have a few dozen of json files which are created by following the convention described in issue #48.
Metadata
Metadata
Assignees
Labels
No labels