From 7eed30d2abbdca14ba1f16374859c3c41aeb7056 Mon Sep 17 00:00:00 2001 From: Dmitriy Smirnov Date: Fri, 12 Jul 2024 13:16:12 +0300 Subject: [PATCH] Disable dependency on `password`, `user`, `workflow_callback` and `workflow_context` module parameters --- module_utils/decort_utils.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module_utils/decort_utils.py b/module_utils/decort_utils.py index b3cd0be..0cc73d4 100644 --- a/module_utils/decort_utils.py +++ b/module_utils/decort_utils.py @@ -74,16 +74,16 @@ class DecortController(object): self.app_id = arg_amodule.params['app_id'] self.app_secret = arg_amodule.params['app_secret'] self.oauth2_url = arg_amodule.params['oauth2_url'] - self.password = arg_amodule.params['password'] - self.user = arg_amodule.params['user'] + # self.password = arg_amodule.params['password'] + # self.user = arg_amodule.params['user'] self.session_key = '' # self.iconf = arg_iconf self.verify_ssl = arg_amodule.params['verify_ssl'] self.workflow_callback_present = False - self.workflow_callback = arg_amodule.params['workflow_callback'] - self.workflow_context = arg_amodule.params['workflow_context'] - if self.workflow_callback != "": - self.workflow_callback_present = True + # self.workflow_callback = arg_amodule.params['workflow_callback'] + # self.workflow_context = arg_amodule.params['workflow_context'] + # if self.workflow_callback != "": + # self.workflow_callback_present = True # The following will be initialized to the name of the user in DECORT controller, who corresponds to # the credentials supplied as authentication information parameters.