Skip to content

Commit 4822a6b

Browse files
committed
Merge branch 'release/v3.5.1'
2 parents 1936f4a + cb8dc3f commit 4822a6b

File tree

139 files changed

+6806
-3976
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+6806
-3976
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ pip-delete-this-directory.txt
5454

5555
# Unit test / coverage reports
5656
htmlcov/
57+
htmlout/
5758
.tox/
5859
.coverage
5960
.coverage.*
@@ -62,6 +63,8 @@ nosetests.xml
6263
coverage.xml
6364
*.cover
6465
.hypothesis/
66+
:memory
67+
6568

6669
# Translations
6770
*.mo
@@ -98,7 +101,7 @@ celerybeat-schedule
98101
*.sage.py
99102

100103
# Environments
101-
.env
104+
#.env
102105
.venv
103106
env/
104107
venv/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apk update && \
77
apk add supervisor && \
88
apk add --update py2-pip && \
99
apk add --no-cache bash && \
10-
apk add --no-cache --virtual .build-deps bzip2-dev gcc libc-dev
10+
apk add --no-cache --virtual .build-deps bzip2-dev gcc libc-dev libffi-dev openssl-dev python3-dev make
1111

1212
# Copy project sources
1313
COPY . /src

ISSUE_TEMPLATE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:
44
- **ElasticHQ Version**:
55
- **Elasticsearch Version**:
6-
- **Python version**:
6+
- **Python version (ignore is using docker image)**:
77
- **Browser Vendor and Version (if applicable)**:
88

99
### Issue Description
@@ -14,4 +14,8 @@ Describe the problem clearly here. Be sure to convey here why it's a bug in Elas
1414

1515
Include any logs or source code that would be helpful to diagnose the problem. If including stacktrace, please include the full stacktrace.
1616

17-
Large logs and files should be attached. Try to provide a reproducible test case or steps that are the bare minimum necessary to generate the problem.
17+
Large logs and files should be attached. Try to provide a reproducible test case or steps that are the bare minimum necessary to generate the problem.
18+
19+
### Be Patient
20+
21+
I have a day job. ;-)

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2013-2018, Roy Russo
1+
Copyright 2013-2019, Roy Russo
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

PULL_REQUEST_TEMPLATE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Instructions
2+
3+
Please try and perform pull requests against the ``develop`` branch.
4+
5+
Merging against the master branch causes a new release to be deployed, and I'd like to avoid that on every PR.
6+
7+
# PR Details
8+
9+
<!--- Provide a general summary of your changes in the Title above -->
10+
11+
## Description
12+
13+
<!--- Describe your changes in detail -->
14+
15+
## Related Issue
16+
17+
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
18+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
19+
<!--- Please link to the issue here: -->

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Simplified Monitoring and Management for ElasticSearch clusters.
1515

1616
## Key Features
1717

18-
* Works with 2.x, 5.x, 6.x and current versions of Elasticsearch.
18+
* Works with 2.x, 5.x, 6.x, 7.x and current versions of Elasticsearch.
1919
* Monitor **many** clusters at once.
2020
* Monitor Nodes, Indices, Shards, and general cluster metrics.
2121
* Create and maintain Elasticsearch Indices.
@@ -31,7 +31,7 @@ Simplified Monitoring and Management for ElasticSearch clusters.
3131

3232
### Requirements
3333

34-
* Python 3.4+
34+
* Python 3.6
3535

3636
### Instructions
3737

@@ -53,6 +53,10 @@ We are hosted on Dockerhub: [ElasticHQ on Dockerhub](https://hub.docker.com/r/el
5353

5454
For further instructions, please see relevant documentation: [Docker Images](http://docs.elastichq.org/installation.html#docker-images).
5555

56+
## OpenShift Installation
57+
58+
Please see relevant documentation: [ElasticHQ on OpenShift](openshift/README.md).
59+
5660
## Useful Links
5761

5862
* [Documentation](http://docs.elastichq.org)

application.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# import argparse
2+
import logging.config
23
import optparse
34
import os
4-
import logging
5-
import logging.config
5+
66
from elastichq import create_app
77
from elastichq.globals import socketio
88
from elastichq.utils import find_config
@@ -17,6 +17,16 @@
1717

1818
application = create_app()
1919

20+
# set default url, override with env for docker
21+
application.config['DEFAULT_URL'] = os.environ.get('HQ_DEFAULT_URL', default_url)
22+
application.config['ENABLE_SSL'] = os.environ.get('HQ_ENABLE_SSL', default_enable_ssl)
23+
application.config['CA_CERTS'] = os.environ.get('HQ_CA_CERTS', default_ca_certs)
24+
application.config['DEBUG'] = os.environ.get('HQ_DEBUG', default_debug)
25+
26+
if os.environ.get('HQ_DEBUG') == 'True':
27+
config = find_config('logger_debug.json')
28+
logging.config.dictConfig(config)
29+
2030
if __name__ == '__main__':
2131
# Set up the command-line options
2232
parser = optparse.OptionParser()
@@ -38,7 +48,6 @@
3848
help='Required when --use-ssl is set. ' + \
3949
'Path to CA file or directory [default %s]' % default_ca_certs)
4050

41-
4251
options, _ = parser.parse_args()
4352

4453
# set default url, override with env for docker

docker-entrypoint.sh

Lines changed: 0 additions & 106 deletions
This file was deleted.

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 975bbf0704e836cd18ad12bc8c255959
3+
config: 7941a7fdcaed6c9c9192da5b0438d143
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
1.63 KB
Binary file not shown.

0 commit comments

Comments
 (0)