Closed lukasgraf closed 10 years ago
Tests are flaky right now, working on it. I may have to increase the delay for the testrunner to wait for the Tika server to boot up.
@phgross @maethu fixed flaky tests.
Just the detail I've commented above, otherwise looks :+1:
@lukasgraf nice! I think we should use another port for the JAXRS implementation in the ftw-buildouts, maybe with a new buildout config file to extend from. When upgrading tika, the buildout URL can be modified. The existing tika.cfg in ftw-buildouts should not be changed to JAXRS so that a rerun with old tika pinnings still works. What do you think?
This PR changes the client implementation in
ftw.tika
to talk to a Tika JAXRS server (HTTP / RESTful) instead of the old builtin server fromtika-app.jar
(plain TCP).The old TCP server is not supported by
ftw.tika >= 2.0
anymore.Changes
tika.cfg example / testing buildout
bin/tika-server
script now starts a Tika JAX-RS server (tika-server.jar
), not the builtin CLI server fromtika-app.jar
anymore9998
by defaulttika-app-download
andtika-server-download
instead of justtika-download
).*.jar
files are now downloaded from http://repo1.maven.org (archive.apache.org
doesn't mirror thetika-server.jar
)1.5
Implementation
ftw.tika
now expects to talk to a Tika JAXRS HTTP server@phgross @maethu please review
/cc @jone