Skip to content

Commit

Permalink
Merge pull request #44 from muralithiyagarajan/remove_build_nw_tree
Browse files Browse the repository at this point in the history
Remove build network tree task in cm_load DAG
  • Loading branch information
erssebaggala authored Mar 11, 2019
2 parents 025bf3f + b9072dd commit f4bcee7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
16 changes: 1 addition & 15 deletions mediation/dags/cm_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,16 +263,6 @@ def extract_ericsson_4g4g_nbrs():
dag=dag)


# Build network tree
def build_network_tree():
utils = Utils(dbhost=os.environ.get('POSTGRES_HOST'));
utils.build_live_network_aci_tree()


t16 = PythonOperator(
task_id='build_network_tree',
python_callable=build_network_tree,
dag=dag)


# Build network tree
Expand Down Expand Up @@ -1005,11 +995,7 @@ def extract_zte_4g4g_nbrs():
dag.set_dependency('extract_ericsson_2g3g_nbrs','ericsson_cm_done')
dag.set_dependency('extract_ericsson_2g4g_nbrs','ericsson_cm_done')

# Build network tree
dag.set_dependency('extract_ericsson_2g_cells','build_network_tree')
dag.set_dependency('extract_ericsson_3g_cells','build_network_tree')
dag.set_dependency('extract_ericsson_4g_cells','build_network_tree')
dag.set_dependency('build_network_tree','ericsson_cm_done')


dag.set_dependency('extract_ericsson_2g_cells','cell_extraction_done')

Expand Down

0 comments on commit f4bcee7

Please sign in to comment.