Refactor method deploy 74/11674/23
authorgallardo <sgallardor@indra.es>
Fri, 11 Feb 2022 12:41:59 +0000 (12:41 +0000)
committergallardo <sgallardor@indra.es>
Wed, 2 Mar 2022 14:29:04 +0000 (14:29 +0000)
commita1c2b40a68be5591cf36775aa48bc965116ae340
tree3c9e70e5330e26e4a59cb1376cbe2049077a880b
parent2f4aaaa4f0e721312164252931954dc6db28abe1
Refactor method deploy

This change removes the method `_process_items` and refactors the method
`deploy` to do the following tasks:

- `calculate_all_differences_to_deploy`: returns the list of items to be
  created and deleted
- `define_all_tasks`: creates all the task structures
- `upload_all_tasks`: saves all tasks in the common DB

Change-Id: I5cb59dd697875634a4a92df8673c9842a4578d5f
Signed-off-by: gallardo <sgallardor@indra.es>
NG-RO/osm_ng_ro/ns.py