Fix connections
This commit is contained in:
@@ -262,7 +262,7 @@ def put_object(params, files, url):
|
|||||||
key = uuid4().hex
|
key = uuid4().hex
|
||||||
fileVal.fileName = variantToString(item.relative_to(dir.name))
|
fileVal.fileName = variantToString(item.relative_to(dir.name))
|
||||||
fileVal.key = variantToString(key)
|
fileVal.key = variantToString(key)
|
||||||
fileVal.bucket = variantToString(Config.s3_bucket)
|
fileVal.bucket = variantToString(Config.oodb_bucket)
|
||||||
res &= feature.addAttribute('c1000', variantFromFileValue(fileVal))
|
res &= feature.addAttribute('c1000', variantFromFileValue(fileVal))
|
||||||
upload_file(str(item), key, Config.s3_bucket)
|
upload_file(str(item), key, Config.s3_bucket)
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
class Config:
|
class Config:
|
||||||
ret_path: str = 'http://10.10.8.83:32200/'
|
ret_path: str = 'http://10.10.8.83:32200/'
|
||||||
self_bnd: str = 'bnd127'
|
self_bnd: str = 'bnd127'
|
||||||
enserver: str = 'http://10.10.8.83:32210/xmlrpc'
|
|
||||||
remote_bnd: str = 'bnd128'
|
|
||||||
|
|
||||||
pg_host: str = '10.10.8.83'
|
pg_host: str = '10.10.8.83'
|
||||||
pg_port: int = 32101
|
pg_port: int = 32101
|
||||||
@@ -17,6 +15,7 @@ class Config:
|
|||||||
oodb_username: str = 'postgres'
|
oodb_username: str = 'postgres'
|
||||||
oodb_passwd: str = 'Root12345678'
|
oodb_passwd: str = 'Root12345678'
|
||||||
oodb_schema: str = 'documents_src'
|
oodb_schema: str = 'documents_src'
|
||||||
|
oodb_bucket: str = 'files'
|
||||||
|
|
||||||
rabbit_conn: str = 'amqp://user:password@10.10.8.83:31005/%2f'
|
rabbit_conn: str = 'amqp://user:password@10.10.8.83:31005/%2f'
|
||||||
rabbit_queue: str = 'ipd'
|
rabbit_queue: str = 'ipd'
|
||||||
|
|||||||
Reference in New Issue
Block a user