mirror of
https://gitlab.com/cief-data/data-management.git
synced 2026-08-19 04:13:57 +00:00
Open back all function
This commit is contained in:
@@ -126,17 +126,17 @@ def main():
|
|||||||
print("RUNNING MAIN_PY")
|
print("RUNNING MAIN_PY")
|
||||||
|
|
||||||
# Exchange
|
# Exchange
|
||||||
# #Make sure cron in the file directory
|
#Make sure cron in the file directory
|
||||||
# general_function.change_to_current_directory()
|
general_function.change_to_current_directory()
|
||||||
# #Extract Load Exchange Data
|
#Extract Load Exchange Data
|
||||||
# EXCHANGE_CSV_TEMP_STORAGE_PATH = "./exchange/extract/exchange_temp_extract_csv/"
|
EXCHANGE_CSV_TEMP_STORAGE_PATH = "./exchange/extract/exchange_temp_extract_csv/"
|
||||||
# print("STARTING EXCHANGE EXTRACT")
|
print("STARTING EXCHANGE EXTRACT")
|
||||||
# exchange_extract(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
exchange_extract(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||||
# print("STARTING EXCHANGE LOAD")
|
print("STARTING EXCHANGE LOAD")
|
||||||
# exchange_load_to_cloudstorage(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
exchange_load_to_cloudstorage(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||||
# #Delete Temp CSV
|
#Delete Temp CSV
|
||||||
# print("DELETING EXCHANGE CSV")
|
print("DELETING EXCHANGE CSV")
|
||||||
# general_function.delete_csv_in_path(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
general_function.delete_csv_in_path(EXCHANGE_CSV_TEMP_STORAGE_PATH)
|
||||||
|
|
||||||
# Shipping
|
# Shipping
|
||||||
#Make sure cron in the file directory
|
#Make sure cron in the file directory
|
||||||
@@ -151,18 +151,18 @@ def main():
|
|||||||
print("DELETING SHIPPING CSV")
|
print("DELETING SHIPPING CSV")
|
||||||
general_function.delete_csv_in_path(SHIPPING_CSV_TEMP_STORAGE_PATH)
|
general_function.delete_csv_in_path(SHIPPING_CSV_TEMP_STORAGE_PATH)
|
||||||
|
|
||||||
# # CRISP
|
# CRISP
|
||||||
# #Make sure cron in the file directory
|
#Make sure cron in the file directory
|
||||||
# general_function.change_to_current_directory()
|
general_function.change_to_current_directory()
|
||||||
# #Extract Load Exchange Data
|
#Extract Load Exchange Data
|
||||||
# CRISP_CSV_TEMP_STORAGE_PATH = "./crisp/extract/crisp_temp_extract_csv/"
|
CRISP_CSV_TEMP_STORAGE_PATH = "./crisp/extract/crisp_temp_extract_csv/"
|
||||||
# print("STARTING CRISP EXTRACT")
|
print("STARTING CRISP EXTRACT")
|
||||||
# crisp_extract(CRISP_CSV_TEMP_STORAGE_PATH)
|
crisp_extract(CRISP_CSV_TEMP_STORAGE_PATH)
|
||||||
# print("STARTING CRISP LOAD")
|
print("STARTING CRISP LOAD")
|
||||||
# crisp_load_to_cloudstorage(CRISP_CSV_TEMP_STORAGE_PATH)
|
crisp_load_to_cloudstorage(CRISP_CSV_TEMP_STORAGE_PATH)
|
||||||
# #Delete Temp CSV
|
#Delete Temp CSV
|
||||||
# print("DELETING CRISP CSV")
|
print("DELETING CRISP CSV")
|
||||||
# general_function.delete_csv_in_path(CRISP_CSV_TEMP_STORAGE_PATH)
|
general_function.delete_csv_in_path(CRISP_CSV_TEMP_STORAGE_PATH)
|
||||||
|
|
||||||
print("END MAIN_PY")
|
print("END MAIN_PY")
|
||||||
print("------------------------------------------------------------------------------------------------")
|
print("------------------------------------------------------------------------------------------------")
|
||||||
|
|||||||
Reference in New Issue
Block a user