Commit 1bced539 authored by Cristian Aguirre's avatar Cristian Aguirre

Update 01-08-23. Update deploy

parent 61bc0b9b
...@@ -5,41 +5,41 @@ app: ...@@ -5,41 +5,41 @@ app:
database: database:
sources: sources:
source1: source1:
type: postgres type: mysql
host: airflow host: database-11.cluster-ro-cvsz4ey9eiec.us-east-1.rds.amazonaws.com
port: 5432 port: 3306
username: airflow username: admin
password: airflow password: adminadmin
database: postgres database: prueba_bcom
service: ORCLPDB1 service: ORCLPDB1
schema: sources schema: sources
transformation: transformation:
type: postgres type: mysql
host: airflow host: database-11.cluster-ro-cvsz4ey9eiec.us-east-1.rds.amazonaws.com
port: 5432 port: 3306
username: airflow username: admin
password: airflow password: adminadmin
database: postgres database: prueba_bcom2
service: service:
schema: intern_db schema: intern_db
chunksize: 8000 chunksize: 8000
label_multiple_select: TABLENAME label_multiple_select: TABLE
source_mask: select # Sufijo (S) source_mask: select # Sufijo (S)
procedure_mask: procedure # S procedure_mask: procedure # S
transformation_mask: transform # S transformation_mask: transform # S
prefix_order_delimiter: . prefix_order_delimiter: .
cloud_provider: aws cloud_provider: google
scripts: scripts:
s3_params: s3_params:
bucket: prueba1234568 bucket: prueba-airflow3
prefix: bcom_scripts prefix: bcom_scripts
connection_id: conn_script connection_id: conn_script
control: control:
s3_params: s3_params:
connection_id: conn_script connection_id: conn_script
bucket: prueba1234568 bucket: prueba-airflow3
prefix: bcom_control prefix: bcom_control
filename: control_example.json filename: control_<period>.json
timezone: 'GMT-5' timezone: 'GMT-5'
outputs: outputs:
filename_mask: <source_name>_<datetime> filename_mask: <source_name>_<datetime>
...@@ -48,12 +48,12 @@ app: ...@@ -48,12 +48,12 @@ app:
delimiter: '|' delimiter: '|'
tmp_path: /tmp tmp_path: /tmp
s3_params: s3_params:
bucket: prueba1234568 bucket: prueba-airflow3
prefix: bcom_results prefix: bcom_results
connection_id: conn_script connection_id: conn_script
report: report:
s3_params: s3_params:
bucket: prueba1234568 bucket: prueba-airflow3
prefix: bcom_report prefix: bcom_report
connection_id: conn_script connection_id: conn_script
filename: report_<datetime>.xlsx filename: report_<datetime>.xlsx
......
[ [
{ {
"identifier": "tabla2", "identifier": "TABLA1",
"fields": [ "fields": [
{ {
"name": "column1", "name": "CD_CUENTA",
"datatype": "TEXT", "datatype": "TEXT",
"maxLength": 100 "maxLength": 100
}, },
{ {
"name": "column2", "name": "DPP_FLAG",
"datatype": "NUMBER" "datatype": "NUMBER"
}, },
{ {
"name": "column3", "name": "FECHA_FACTURA",
"datatype": "NUMBER" "datatype": "DATE"
},
{
"name": "FECHA_INICIAL_DPP",
"datatype": "DATE"
}, },
{ {
"name": "column4", "name": "FECHA_LIMITE_DPP",
"datatype": "DATE" "datatype": "DATE"
}, },
{ {
"name": "column5", "name": "FH_CARGA",
"datatype": "DECIMAL", "datatype": "DATE"
"decimal_precision": 5 },
{
"name": "ID_FACTURA",
"datatype": "TEXT",
"maxLength": 100
},
{
"name": "MONTO_AJUSTADO",
"datatype": "DECIMAL"
},
{
"name": "MONTO_FACTURA",
"datatype": "DECIMAL"
},
{
"name": "MONTO_PAGO",
"datatype": "DECIMAL"
},
{
"name": "SALDO_FACTURA",
"datatype": "DECIMAL"
} }
] ]
} }
......
...@@ -4,3 +4,5 @@ pymysql==1.1.0 ...@@ -4,3 +4,5 @@ pymysql==1.1.0
oracledb==1.3.2 oracledb==1.3.2
apache-airflow-providers-google apache-airflow-providers-google
apache-airflow-providers-amazon apache-airflow-providers-amazon
apache-airflow-providers-postgres
apache-airflow-providers-oracle
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment