Update configs, fix soap url
This commit is contained in:
parent
1452debf94
commit
ec6fc6a8c0
@ -6,7 +6,7 @@ from pysimplesoap.client import SoapClient
|
||||
class SoapReceiver:
|
||||
def __init__(self):
|
||||
self.client = SoapClient(
|
||||
location="http://fias.nalog.ru/WebServices/Public/DownloadService.asmx",
|
||||
location="https://fias.nalog.ru/WebServices/Public/DownloadService.asmx",
|
||||
action='http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/',
|
||||
namespace="http://fias.nalog.ru/WebServices/Public/DownloadService.asmx",
|
||||
soap_ns='soap', trace=False, ns=False)
|
||||
|
26
config.example_lin.py
Normal file
26
config.example_lin.py
Normal file
@ -0,0 +1,26 @@
|
||||
from aore import config
|
||||
|
||||
# Config section
|
||||
|
||||
# Address and port where sphinx was listening,
|
||||
# may be a unix socket like 'unix:///tmp/fias-api.sock'
|
||||
# or TCP socket like '127.0.0.1:9312'
|
||||
config.SphinxConfig.listen = "unix:///tmp/fias-api.sock"
|
||||
# Base sphinx folder
|
||||
config.SphinxConfig.var_dir = "/etc/sphinx"
|
||||
|
||||
# DB config
|
||||
config.DatabaseConfig.database = "fias_db"
|
||||
config.DatabaseConfig.host = "127.0.0.1"
|
||||
config.DatabaseConfig.port = 5432
|
||||
config.DatabaseConfig.user = "postgres"
|
||||
config.DatabaseConfig.password = "postgres"
|
||||
|
||||
# Path to unrar, in Linux may be 'unrar'
|
||||
config.UnrarConfig.path = "unrar"
|
||||
# Temp folder, in Linux may be '/tmp/myfolder'
|
||||
config.Folders.temp = "/tmp/fitmp"
|
||||
|
||||
config.BasicConfig.logging = True
|
||||
config.BasicConfig.debug_print = False
|
||||
config.BasicConfig.logfile = "pyphias.log"
|
@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from aore import config
|
||||
|
||||
# Config section
|
||||
@ -8,7 +7,6 @@ from aore import config
|
||||
# or TCP socket like '127.0.0.1:9312'
|
||||
config.SphinxConfig.listen = "127.0.0.1:9312"
|
||||
# Base sphinx folder
|
||||
# For unix system
|
||||
config.SphinxConfig.var_dir = "C:\\Sphinx"
|
||||
|
||||
# DB config
|
Loading…
x
Reference in New Issue
Block a user