diff options
author | 2020-01-31 14:36:58 +0000 | |
---|---|---|
committer | 2020-02-05 07:43:43 +0000 | |
commit | 97a799ecfdec2d281b5868eb847b35d0eec63673 (patch) | |
tree | 782c4fa8b4a7a4e486fe9457813b08b40c9ea577 /catalog-be/src/main/resources/scripts/import/tosca/importCommon.py | |
parent | 73fa45ca5aa62dfa4aa074125c384ffbaad60387 (diff) |
Fix sdc-backend-init heat type upgrade
Removes all heat and normative items from typesToUpgrade.json.
Add verbose to pycurl if is in debug mode, to print request
information.
Adjust to upgradeONAPNormative.py to the correct python
syntax and removing unused imports.
Change-Id: Id4ee601dd70b337c5eeb84965843305300ef7fe3
Issue-ID: SDC-2752, SDC-2753
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-be/src/main/resources/scripts/import/tosca/importCommon.py')
-rw-r--r-- | catalog-be/src/main/resources/scripts/import/tosca/importCommon.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/scripts/import/tosca/importCommon.py b/catalog-be/src/main/resources/scripts/import/tosca/importCommon.py index ed92ca8b3d..74bdf806f0 100644 --- a/catalog-be/src/main/resources/scripts/import/tosca/importCommon.py +++ b/catalog-be/src/main/resources/scripts/import/tosca/importCommon.py @@ -27,6 +27,10 @@ def debug(desc, *args): print desc, join_strings(args) +def is_debug(): + return debugFlag + + def log(desc, arg=None): print desc, arg |