Merge pull request #434 from isururanawaka/develop

fix experiment_handler_util
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/airavata_sdk/clients/utils/experiment_handler_util.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/airavata_sdk/clients/utils/experiment_handler_util.py
index 9e81f53..ad25ff7 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/airavata_sdk/clients/utils/experiment_handler_util.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/airavata_sdk/clients/utils/experiment_handler_util.py
@@ -38,15 +38,16 @@
 
 
 class ExperimentHandlerUtil(object):
-    def __init__(self, configuration_file_location=None):
+    def __init__(self, configuration_file_location=None, access_token=None):
         self.configuration_file = configuration_file_location
         self.authenticator = Authenticator(configuration_file_location)
         self.gateway_conf = GatewaySettings(configuration_file_location)
         self.experiment_conf = ExperimentSettings(configuration_file_location)
         self.keycloak_conf = KeycloakConfiguration(configuration_file_location)
-        self.authenticator = Authenticator(self.configuration_file)
-        self.authenticator.authenticate_with_auth_code()
-        access_token = getpass.getpass('Copy paste the access token')
+        if not access_token:
+            self.authenticator = Authenticator(self.configuration_file)
+            self.authenticator.authenticate_with_auth_code()
+            access_token = getpass.getpass('Copy paste the access token')
         self.access_token = access_token
         decode = jwt.decode(access_token, options={"verify_signature": False})
         self.user_id = decode['preferred_username']
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/setup.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/setup.py
index 648e549..084acde 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/setup.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/setup.py
@@ -10,7 +10,7 @@
 
 setup(
     name='airavata-python-sdk',
-    version='1.1.6',
+    version='1.1.7',
     packages=find_packages(),
     package_data={'airavata_sdk.transport': ['*.ini'], 'airavata_sdk.samples.resources': ['*.pem']},
     url='http://airavata.com',
diff --git a/dev-tools/ansible/roles/api-orch/tasks/main.yml b/dev-tools/ansible/roles/api-orch/tasks/main.yml
index 3128c8a..3ba7012 100644
--- a/dev-tools/ansible/roles/api-orch/tasks/main.yml
+++ b/dev-tools/ansible/roles/api-orch/tasks/main.yml
@@ -217,6 +217,9 @@
     setype: initrc_exec_t
     state: present
   become: yes
+
+
+
   become_user: root
   when: ansible_distribution == "Rocky"