Merge "Register custom workflow for vCPE"
authorGary Wu <gary.i.wu@huawei.com>
Thu, 8 Nov 2018 13:14:37 +0000 (13:14 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 8 Nov 2018 13:14:37 +0000 (13:14 +0000)
test/vcpe/config_sdnc_so.py

index dab880f..7c063b5 100755 (executable)
@@ -69,7 +69,7 @@ def insert_customer_service_to_so(vcpecommon):
     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)
@@ -96,5 +96,5 @@ def insert_customer_service_to_so(vcpecommon):
                 "'string', NULL);")
 
     print('\n'.join(cmds))
-#    vcpecommon.execute_cmds_so_db(cmds)
+    vcpecommon.execute_cmds_so_db(cmds)