Libraries refactor and add some sinks #4

Closed
m wants to merge 136 commits from library-refactor into master
1 changed files with 5 additions and 1 deletions
Showing only changes of commit dfe02f557c - Show all commits

View File

@ -8,6 +8,10 @@ from string import ascii_uppercase
from elasticsearch import Elasticsearch
from datetime import datetime
# TODO: secure ES traffic properly
import urllib3
urllib3.disable_warnings()
# Project imports
from settings import settings
from db import r
@ -29,7 +33,7 @@ class Transactions(object):
f"https://{settings.ES.Host}:9200",
verify_certs=False,
basic_auth=(settings.ES.Username, settings.ES.Pass),
ssl_assert_fingerprint=("6b264fd2fd107d45652d8add1750a8a78f424542e13b056d0548173006260710"),
#ssl_assert_fingerprint=("6b264fd2fd107d45652d8add1750a8a78f424542e13b056d0548173006260710"),
ca_certs="certs/ca.crt",
)