3 from sdcBePy.tosca.imports.runNormativeType import run
4 from sdcBePy.tosca.models.normativeToUpdateList import get_heat, get_normative, get_nfv, get_onap, get_sol
5 from sdcBePy.tosca.models.normativeTypesList import get_heat1707, get_heat1702_3537, get_heat_version
6 from sdcBePy.tosca.upgrade.run import get_all_types
8 all_types = get_all_types()
11 def run_upgrade_heat():
12 normative_candidate = get_heat(all_types)
13 run(normative_candidate)
16 def run_upgrade_normative():
17 normative_candidate = get_normative(all_types)
18 run(normative_candidate)
21 def run_upgrade_nfv():
22 normative_candidate = get_nfv(all_types)
23 run(normative_candidate)
26 def run_upgrade_onap():
27 normative_candidate = get_onap(all_types)
28 run(normative_candidate)
31 def run_upgrade_sol():
32 normative_candidate = get_sol(all_types)
33 run(normative_candidate)
36 def run_upgrade_heat1707():
37 normative_candidate = get_heat1707()
38 run(normative_candidate)
41 def run_upgrade_heat1707_3537():
42 normative_candidate = get_heat1702_3537()
43 run(normative_candidate)
46 def run_upgrade_heat_version():
47 normative_candidate = get_heat_version()
48 run(normative_candidate)
51 if __name__ == '__main__':
53 # run_upgrade_normative()
57 # run_upgrade_heat1707()
58 # run_upgrade_heat1707_3537()
59 # run_upgrade_heat_version()