michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
249 stars 203 forks source link

Fix for #161: allow MongoDB/SSL connection #180

Closed ataillefer closed 4 years ago

ataillefer commented 4 years ago

Hi, this is a fix for #161.

It allows to use a Java keystore and truststore by taking into account the following quartz properties:

org.quartz.jobStore.mongoOptionEnableSSL
org.quartz.jobStore.mongoOptionTrustStorePath
org.quartz.jobStore.mongoOptionTrustStorePassword
org.quartz.jobStore.mongoOptionTrustStoreType
org.quartz.jobStore.mongoOptionKeyStorePath
org.quartz.jobStore.mongoOptionKeyStorePassword
org.quartz.jobStore.mongoOptionKeyStoreType

I didn't add any tests but ./gradlew assemble and ./gradlew check pass.

Hope it's OK!

pwojnowski commented 4 years ago

Thank you, @ataillefer ! :+1: