not-nexus / shelf

REST API for AWS S3 meant to be an interface to immutable artifact storage.
MIT License
8 stars 3 forks source link

Elasticsearch Connection String #69

Open quantumew opened 8 years ago

quantumew commented 8 years ago

We should add a regex in the schema for the Elasticsearch connection string in the config. urlparse does not parse URLs as expected if there isn't a scheme but there is a host and a port. https://bugs.python.org/issue754016. This means we should require a scheme or add a defaulting mechanism.