Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcom-tp-etl-transformation-pipelines
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
general
bcom-tp-etl-transformation-pipelines
Commits
1bced539
Commit
1bced539
authored
Aug 01, 2023
by
Cristian Aguirre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 01-08-23. Update deploy
parent
61bc0b9b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
29 deletions
+55
-29
dag_conf.yml
dags/dag_conf.yml
+19
-19
procedure_definition2.json
dags/procedure_definition2.json
+33
-9
requirements.txt
deploy-k8/requirements.txt
+3
-1
No files found.
dags/dag_conf.yml
View file @
1bced539
...
...
@@ -5,41 +5,41 @@ app:
database
:
sources
:
source1
:
type
:
postgres
host
:
airflow
port
:
5432
username
:
a
irflow
password
:
a
irflow
database
:
p
ostgres
type
:
mysql
host
:
database-11.cluster-ro-cvsz4ey9eiec.us-east-1.rds.amazonaws.com
port
:
3306
username
:
a
dmin
password
:
a
dminadmin
database
:
p
rueba_bcom
service
:
ORCLPDB1
schema
:
sources
transformation
:
type
:
postgres
host
:
airflow
port
:
5432
username
:
a
irflow
password
:
a
irflow
database
:
p
ostgres
type
:
mysql
host
:
database-11.cluster-ro-cvsz4ey9eiec.us-east-1.rds.amazonaws.com
port
:
3306
username
:
a
dmin
password
:
a
dminadmin
database
:
p
rueba_bcom2
service
:
schema
:
intern_db
chunksize
:
8000
label_multiple_select
:
TABLE
NAME
label_multiple_select
:
TABLE
source_mask
:
select
# Sufijo (S)
procedure_mask
:
procedure
# S
transformation_mask
:
transform
# S
prefix_order_delimiter
:
.
cloud_provider
:
aws
cloud_provider
:
google
scripts
:
s3_params
:
bucket
:
prueba
1234568
bucket
:
prueba
-airflow3
prefix
:
bcom_scripts
connection_id
:
conn_script
control
:
s3_params
:
connection_id
:
conn_script
bucket
:
prueba
1234568
bucket
:
prueba
-airflow3
prefix
:
bcom_control
filename
:
control_
example
.json
filename
:
control_
<period>
.json
timezone
:
'
GMT-5'
outputs
:
filename_mask
:
<source_name>_<datetime>
...
...
@@ -48,12 +48,12 @@ app:
delimiter
:
'
|'
tmp_path
:
/tmp
s3_params
:
bucket
:
prueba
1234568
bucket
:
prueba
-airflow3
prefix
:
bcom_results
connection_id
:
conn_script
report
:
s3_params
:
bucket
:
prueba
1234568
bucket
:
prueba
-airflow3
prefix
:
bcom_report
connection_id
:
conn_script
filename
:
report_<datetime>.xlsx
...
...
dags/procedure_definition2.json
View file @
1bced539
[
{
"identifier"
:
"
tabla2
"
,
"identifier"
:
"
TABLA1
"
,
"fields"
:
[
{
"name"
:
"
column1
"
,
"name"
:
"
CD_CUENTA
"
,
"datatype"
:
"TEXT"
,
"maxLength"
:
100
},
{
"name"
:
"
column2
"
,
"name"
:
"
DPP_FLAG
"
,
"datatype"
:
"NUMBER"
},
{
"name"
:
"column3"
,
"datatype"
:
"NUMBER"
"name"
:
"FECHA_FACTURA"
,
"datatype"
:
"DATE"
},
{
"name"
:
"FECHA_INICIAL_DPP"
,
"datatype"
:
"DATE"
},
{
"name"
:
"
column4
"
,
"name"
:
"
FECHA_LIMITE_DPP
"
,
"datatype"
:
"DATE"
},
{
"name"
:
"column5"
,
"datatype"
:
"DECIMAL"
,
"decimal_precision"
:
5
"name"
:
"FH_CARGA"
,
"datatype"
:
"DATE"
},
{
"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"
}
]
}
...
...
deploy-k8/requirements.txt
View file @
1bced539
...
...
@@ -3,4 +3,6 @@ XlsxWriter==3.1.2
pymysql==1.1.0
oracledb==1.3.2
apache-airflow-providers-google
apache-airflow-providers-amazon
\ No newline at end of file
apache-airflow-providers-amazon
apache-airflow-providers-postgres
apache-airflow-providers-oracle
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment