mirror of https://github.com/apache/lucene.git
SOLR-10307: Export variables so that solr.in.sh works correctly.
This commit is contained in:
parent
5d442437b5
commit
54fc1ee44d
|
@ -373,7 +373,7 @@ New Features
|
||||||
* SOLR-10849: MoreLikeThisComponent should expose setMaxDocFreqPct (maxDoc
|
* SOLR-10849: MoreLikeThisComponent should expose setMaxDocFreqPct (maxDoc
|
||||||
frequency percentage). (Dawid Weiss)
|
frequency percentage). (Dawid Weiss)
|
||||||
|
|
||||||
* SOLR-10307: Allow Passing SSL passwords through environment variables. (Mano Kovacs via Mark Miller)
|
* SOLR-10307: Allow Passing SSL passwords through environment variables. (Mano Kovacs, Michael Suzuki via Mark Miller)
|
||||||
|
|
||||||
* SOLR-10721: Provide a way to know when Core Discovery is finished and when all async cores are done loading
|
* SOLR-10721: Provide a way to know when Core Discovery is finished and when all async cores are done loading
|
||||||
(Erick Erickson)
|
(Erick Erickson)
|
||||||
|
|
|
@ -176,7 +176,9 @@ if [ "$SOLR_SSL_ENABLED" == "true" ]; then
|
||||||
if [ -n "$SOLR_SSL_KEY_STORE" ]; then
|
if [ -n "$SOLR_SSL_KEY_STORE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Dsolr.jetty.keystore=$SOLR_SSL_KEY_STORE"
|
SOLR_SSL_OPTS+=" -Dsolr.jetty.keystore=$SOLR_SSL_KEY_STORE"
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$SOLR_SSL_KEY_STORE_PASSWORD" ]; then
|
||||||
|
export SOLR_SSL_KEY_STORE_PASSWORD=$SOLR_SSL_KEY_STORE_PASSWORD
|
||||||
|
fi
|
||||||
if [ -n "$SOLR_SSL_KEY_STORE_TYPE" ]; then
|
if [ -n "$SOLR_SSL_KEY_STORE_TYPE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Dsolr.jetty.keystore.type=$SOLR_SSL_KEY_STORE_TYPE"
|
SOLR_SSL_OPTS+=" -Dsolr.jetty.keystore.type=$SOLR_SSL_KEY_STORE_TYPE"
|
||||||
fi
|
fi
|
||||||
|
@ -184,6 +186,9 @@ if [ "$SOLR_SSL_ENABLED" == "true" ]; then
|
||||||
if [ -n "$SOLR_SSL_TRUST_STORE" ]; then
|
if [ -n "$SOLR_SSL_TRUST_STORE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Dsolr.jetty.truststore=$SOLR_SSL_TRUST_STORE"
|
SOLR_SSL_OPTS+=" -Dsolr.jetty.truststore=$SOLR_SSL_TRUST_STORE"
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$SOLR_SSL_TRUST_STORE_PASSWORD" ]; then
|
||||||
|
export SOLR_SSL_TRUST_STORE_PASSWORD=$SOLR_SSL_TRUST_STORE_PASSWORD
|
||||||
|
fi
|
||||||
if [ -n "$SOLR_SSL_TRUST_STORE_TYPE" ]; then
|
if [ -n "$SOLR_SSL_TRUST_STORE_TYPE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Dsolr.jetty.truststore.type=$SOLR_SSL_TRUST_STORE_TYPE"
|
SOLR_SSL_OPTS+=" -Dsolr.jetty.truststore.type=$SOLR_SSL_TRUST_STORE_TYPE"
|
||||||
fi
|
fi
|
||||||
|
@ -198,6 +203,9 @@ if [ "$SOLR_SSL_ENABLED" == "true" ]; then
|
||||||
if [ -n "$SOLR_SSL_CLIENT_KEY_STORE" ]; then
|
if [ -n "$SOLR_SSL_CLIENT_KEY_STORE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Djavax.net.ssl.keyStore=$SOLR_SSL_CLIENT_KEY_STORE"
|
SOLR_SSL_OPTS+=" -Djavax.net.ssl.keyStore=$SOLR_SSL_CLIENT_KEY_STORE"
|
||||||
|
|
||||||
|
if [ -n "$SOLR_SSL_CLIENT_KEY_STORE_PASSWORD" ]; then
|
||||||
|
export SOLR_SSL_CLIENT_KEY_STORE_PASSWORD=$SOLR_SSL_CLIENT_KEY_STORE_PASSWORD
|
||||||
|
fi
|
||||||
if [ -n "$SOLR_SSL_CLIENT_KEY_STORE_TYPE" ]; then
|
if [ -n "$SOLR_SSL_CLIENT_KEY_STORE_TYPE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Djavax.net.ssl.keyStoreType=$SOLR_SSL_CLIENT_KEY_STORE_TYPE"
|
SOLR_SSL_OPTS+=" -Djavax.net.ssl.keyStoreType=$SOLR_SSL_CLIENT_KEY_STORE_TYPE"
|
||||||
fi
|
fi
|
||||||
|
@ -213,6 +221,9 @@ if [ "$SOLR_SSL_ENABLED" == "true" ]; then
|
||||||
if [ -n "$SOLR_SSL_CLIENT_TRUST_STORE" ]; then
|
if [ -n "$SOLR_SSL_CLIENT_TRUST_STORE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Djavax.net.ssl.trustStore=$SOLR_SSL_CLIENT_TRUST_STORE"
|
SOLR_SSL_OPTS+=" -Djavax.net.ssl.trustStore=$SOLR_SSL_CLIENT_TRUST_STORE"
|
||||||
|
|
||||||
|
if [ -n "$SOLR_SSL_CLIENT_TRUST_STORE_PASSWORD" ]; then
|
||||||
|
export SOLR_SSL_CLIENT_TRUST_STORE_PASSWORD=$SOLR_SSL_CLIENT_TRUST_STORE_PASSWORD
|
||||||
|
fi
|
||||||
if [ -n "$SOLR_SSL_CLIENT_TRUST_STORE_TYPE" ]; then
|
if [ -n "$SOLR_SSL_CLIENT_TRUST_STORE_TYPE" ]; then
|
||||||
SOLR_SSL_OPTS+=" -Djavax.net.ssl.trustStoreType=$SOLR_SSL_CLIENT_TRUST_STORE_TYPE"
|
SOLR_SSL_OPTS+=" -Djavax.net.ssl.trustStoreType=$SOLR_SSL_CLIENT_TRUST_STORE_TYPE"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue