-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.sample.py
41 lines (38 loc) · 1.09 KB
/
conf.sample.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- coding: utf-8 -*-
import os
here = os.path.dirname(os.path.abspath(__file__))
sirena_endpoint = 'https://ws.sirena-travel.ru/swc-main/bookingService'
accounts = {
'OTA.TCH': {
'gds': '1H',
'user': 'ota_grs101',
'password': 'secret',
'endpoint': sirena_endpoint,
'alert': 200,
},
'OTA.UT': {
'gds': '1H',
'user': 'ota_grs102',
'password': 'newsecret',
'endpoint': sirena_endpoint,
'alert': 200,
},
'OTA.S7': {
'gds': '1A',
'user': 'WSXXXYYY',
'password': 'AMADEUS',
'office_id': 'CITYY28XX',
'duty_code': 'SU',
'airline': 'S7',
'endpoint': 'https://noded1.production.webservices.amadeus.com/OTAWSAP',
'alert': 200,
},
}
sender = ('Anton Yakovlev', '[email protected]')
recipient_info = '[email protected]'
recipient_alert = '[email protected]'
db_name = os.path.join(here, 'db/quota.db')
smtp_gateway= 'email-smtp.eu-west-1.amazonaws.com'
smtp_port = 587
smtp_user = 'aws_ses_user'
smtp_password = 'aws_ses_user_password'