Issue-ID: CLI-169
Change-Id: Iff4ea20599879d0483b1e0d12dd72d3af573e4cc
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
ns_csar = args.ns_csar
vnfm_driver = args.vnfm_driver
result_json_path = args.result_json_path
-request_id = args.request_id
+
+if args.request_id is None:
+ request_id = os.environ["OPEN_CLI_REQUEST_ID"]
+else:
+ request_id = args.request_id
# setup CLI
parameters = get_parameters(config_file)
pr.setStderr(stderrStream);
OnapCommandExecutionStore.getStore().storeExectutionDebug(this.getExecutionContext(), pr.toString());
- } else {
- this.getResult().setDebugInfo(pr.toString());
}
+ this.getResult().setDebugInfo(pr.toString());
+
pr.run();
} catch (Exception e) {
throw new OnapCommandExecutionFailed(this.getName(), e);