Skip to content

Commit

Permalink
New XMLFileCommitter and JSONFileCommitter.
Browse files Browse the repository at this point in the history
  • Loading branch information
essiembre committed Apr 17, 2017
1 parent 97d5d20 commit 849f4b2
Show file tree
Hide file tree
Showing 10 changed files with 949 additions and 7 deletions.
3 changes: 0 additions & 3 deletions norconex-committer-core/TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

- Create a Spreadsheet Committer, with support for how to join multi-values.

- Create a new committer that saves docs to a flat file. XML and/or Json.
With option to break into numbered file after X bytes or X docs.

- Add committer server

- Add chainable committers??
9 changes: 7 additions & 2 deletions norconex-committer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.norconex.collectors</groupId>
<artifactId>norconex-committer-core</artifactId>
<version>2.0.6-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<name>Norconex Committer Core</name>

<properties>
Expand Down Expand Up @@ -63,7 +63,12 @@
<classifier>resources</classifier>
<type>zip</type>
<scope>provided</scope>
</dependency>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20160810</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions norconex-committer-core/src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<body>

<release version="2.0.6-SNAPSHOT" date="2017-??=??" description="Maintenance release">
<action dev="essiembre" type="add">
New XMLFileCommitter to write documents to XML files.
</action>
<action dev="essiembre" type="add">
New JSONFileCommitter to write documents to JSON files.
</action>
<action dev="essiembre" type="add">
Added schema-based XML configuration validation.
</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
* <code>true</code>.</p>
*
* <p>
* As of 2.0.6, XML configuration entries expecting millisecond durations
* As of 2.1.0, XML configuration entries expecting millisecond durations
* can be provided in human-readable format (English only), as per
* {@link DurationParser} (e.g., "5 minutes and 30 seconds" or "5m30s").
* </p>
Expand Down
Loading

0 comments on commit 849f4b2

Please sign in to comment.