diff options
Diffstat (limited to 'test.config.inc')
-rw-r--r-- | test.config.inc | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/test.config.inc b/test.config.inc new file mode 100644 index 0000000..4fba603 --- /dev/null +++ b/test.config.inc @@ -0,0 +1,49 @@ +<?php + +define('SOLR_SERVER_CONFIGURED', false); + +define('ROOT_DIRECTORY', dirname(__FILE__)); + +define('EXAMPLE_RESPONSE_XML_1', ROOT_DIRECTORY . '/files/response_xml.1.xml'); + +/* Whether or not to run in secure mode */ +define('SOLR_SECURE', false); + +/* Domain name of the Solr server */ +define('SOLR_SERVER_HOSTNAME', 'localhost'); + +/* HTTP Port to connection */ +define('SOLR_SERVER_PORT', ((SOLR_SECURE) ? 8443 : 8983)); + +/* SOLR CORE to test on */ +define('SOLR_SERVER_PATH','solr/collection1'); + +/* HTTP Basic Authentication Username */ +define('SOLR_SERVER_USERNAME', 'admin'); + +/* HTTP Basic Authentication password */ +define('SOLR_SERVER_PASSWORD', 'changeit'); + +/* HTTP connection timeout */ +/* This is maximum time in seconds allowed for the http data transfer operation. Default value is 30 seconds */ +define('SOLR_SERVER_TIMEOUT', 10); + +/* File name to a PEM-formatted private key + private certificate (concatenated in that order) */ +define('SOLR_SSL_CERT', 'certs/combo.pem'); + +/* File name to a PEM-formatted private certificate only */ +define('SOLR_SSL_CERT_ONLY', 'certs/solr.crt'); + +/* File name to a PEM-formatted private key */ +define('SOLR_SSL_KEY', 'certs/solr.key'); + +/* Password for PEM-formatted private key file */ +define('SOLR_SSL_KEYPASSWORD', 'StrongAndSecurePassword'); + +/* Name of file holding one or more CA certificates to verify peer with*/ +define('SOLR_SSL_CAINFO', 'certs/cacert.crt'); + +/* Name of directory holding multiple CA certificates to verify peer with */ +define('SOLR_SSL_CAPATH', 'certs/'); + +?> |