Mars Hall created PIO-114:
-----------------------------
Summary: Elasticsearch 5.x StorageClient basic HTTP authentication
Key: PIO-114
URL: https://issues.apache.org/jira/browse/PIO-114
Project: PredictionIO
Issue Type: New Feature
Components: Core
Affects Versions: 0.11.0-incubating
Reporter: Mars Hall
Assignee: Mars Hall
Add optional username-password configuration for the new Elasticsearch 5
client; in {conf/pio-env.sh} config:
{code:shell}
# Optional basic HTTP auth
PIO_STORAGE_SOURCES_ELASTICSEARCH_USERNAME=my-name
PIO_STORAGE_SOURCES_ELASTICSEARCH_PASSWORD=my-secret
{code}
```
These credentials are sent in each Elasticsearch request as an HTTP Basic
Authorization header.
Enables use of public-cloud, hosted Elasticsearch clusters, such as [Bonsai on
Heroku](https://elements.heroku.com/addons/bonsai).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)