Closed danizen closed 7 years ago
I merged your pull-request https://github.com/Norconex/collector-core/pull/10. I also took the time to upgrade the MongoDB related code to use the 3.x API classes instead. I made a new snapshot release of the HTTP Collector that uses the new collector core version with your credential additions.
Why all was good in my own tests, I would appreciate if you can confirm this new version works for you.
I will check and let you know.
Works for me with a download of 2.7.1-SNAPSHOT. I see that it contains norconex-collector-core-1.8.1-SNAPSHOT
, and that this is also published to oss.sonatype.org snapshots.
Thanks for confirming.
Paul,
Finally - a clear bug/feature request. Our mongodb installation is version 3.2.10, and thus its default authentication mechanism is SCRAM-SHA-1. In the
buildMongoDB
static method,com.norconex.collector.core.data.store.impl.mongo.MongoCrawlDataStore
callsMongoCredential.createMongoCRCredential
to create the older authentication mechanism.I'll probably implement this and contribute back, but if you get there first, no problems.