Change-Id: I247e43234d5631d806bcca7c7bcfd78b1692e30e
Issue-ID: SO-1189
Signed-off-by: Yang Xu <yang.xu3@huawei.com>
logger = logging.getLogger('__name__')
logger.info('Inserting neutron HEAT template to SO DB and creating a recipe for customer service')
cmds = []
- if False:
+ if True:
csar_file = vcpecommon.find_file('rescust', 'csar', 'csar')
parser = csar_parser.CsarParser()
parser.parse_csar(csar_file)
"'string', NULL);")
print('\n'.join(cmds))
-# vcpecommon.execute_cmds_so_db(cmds)
+ vcpecommon.execute_cmds_so_db(cmds)