Fix Elasticsearch/Python mapping mismatch

This commit is contained in:
Sean Whalen
2018-11-28 11:02:57 -05:00
parent 78de18eb64
commit e7e1f238ab
4 changed files with 10 additions and 7 deletions

View File

@@ -1,7 +1,10 @@
5.1.0
-----
- Add support for TLS/SSL and uerename/password auth to Kafka
- Bugfix: Elasticsearch/Python mapping mismatch (fixes root cause of issue #25)
- Remove static `elasticsearch` and `elasticsearch-dsl` versions from package requirements
- Add support for TLS/SSL and username/password auth to Kafka
5.0.2
-----

View File

@@ -30,7 +30,7 @@ class _PublishedPolicy(InnerDoc):
p = Text()
sp = Text()
pct = Integer()
fo = Text() # TODO: Change this to Text (issue #31)
fo = Text()
class _DKIMResult(InnerDoc):
@@ -54,7 +54,7 @@ class _AggregateReportDoc(Document):
org_email = Text()
org_extra_contact_info = Text()
report_id = Text()
date_range = DateRange()
date_range = Date()
errors = Text()
published_policy = Object(_PublishedPolicy)
source_ip_address = Ip()

View File

@@ -9,8 +9,8 @@ dnspython
imapclient
mail-parser
dateparser
elasticsearch==6.3.1
elasticsearch-dsl==6.2.1
elasticsearch
elasticsearch-dsl
kafka-python
flake8
sphinx

View File

@@ -95,8 +95,8 @@ setup(
install_requires=['dnspython', 'expiringdict', 'publicsuffix',
'xmltodict', 'geoip2', 'urllib3<1.24,>=1.21.1',
'requests', 'imapclient', 'mail-parser', 'dateparser',
'elasticsearch==6.3.1',
'elasticsearch-dsl==6.2.1', 'kafka-python'
'elasticsearch',
'elasticsearch-dsl', 'kafka-python'
],
entry_points={