Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point connection

Documentation

Extension point used to configure access to a MongoDB server or cluster. The service will return the 'default' access if the asked one hasn't been contributed.

This sets up a MongoClient; server is mandatory.

    <connection>
        <server>mongodb://bob:pass@localhost:27017,otherhost:27018/mydb?replicaSet=test;connectTimeoutMS=300000</server>
        <dbname>mydb</dbname>
        <ssl>true</ssl>
        <trustStorePath>/path/to/cacerts.jks</trustStorePath>
        <trustStorePassword>changeit</trustStorePassword>
        <trustStoreType>jks</trustStoreType>
        <keyStorePath>/path/to/keystore.jks</keyStorePath>
        <keyStorePassword>changeit</keyStorePassword>
        <keyStoreType>jks</keyStoreType>
    </connection>

See http://docs.mongodb.org/manual/reference/connection-string/ for the mongodb:// URI syntax.

Contribution Descriptors

Contributions

No known contributions.