How to implement scrutineer?

Thanks for reply.

On Friday, January 11, 2013 2:35:34 AM UTC+5:30, tallpsmith wrote:

Do you really need to execute Scrutineer from within an existing Java
application? The main idea is for a standalone tool to be run at any time,
operationally.

If you must need to have it embedded within your Application, you will
need to bring in Scrutineer as a dependency (the jar) and all of it's
dependencies, then follow a similar pattern as to
how com.aconex.scrutineer.Scrutineer constructs the various components, or
alternatively just call that static main method directly faking out the
command line arguments.

If you want to use it standalone as it is designed with mysql, I would
clone the repository, add the mysql JDBC drivers to the block,
and then use Maven to 'mvn package' to build the artifact with the mysql
jar embedded.

Unfortunately the Maven AppAssembler plugin does not allow simply dropping
new JDBC drivers in with all the other JARS to easily add them. It would
probably make sense for Scrutineer to ship with the common open-source
drivers (we already ship it with JTDS), you could give us a pull request if
you like.

Paul Smith

On 11 January 2013 04:16, Ivan Brusic <iv...@brusic.com <javascript:>>wrote:

Scrutineer is written in Java. Look in the src directory
https://github.com/Aconex/scrutineer/tree/master/src I have never used
it, but I appears that Scrutineer is a standalone application, not meant to
be integrated into an existing Java program.

You also might want to look into the JDBC River:
GitHub - jprante/elasticsearch-jdbc: JDBC importer for Elasticsearch

--
Ivan

On Thu, Jan 10, 2013 at 9:10 AM, kiruba <kiruba...@bambeeq.com<javascript:>

wrote:

Hi All,
I need to implement scrutineer in to my java application for
find out and resolve inconsistency data between database and ES index. i
read the document ( https://github.com/Aconex/scrutineer#readme ) but
still i didn't get the exact idea of how to implement scrutineer into java
application.
Is there any example or procedure to implement scrutineer?

NOTE: I'm using mysql database.

Thanks All.

--

--

--