Commit 09390f8e authored by Nur Sheikh's avatar Nur Sheikh Committed by harshit aggarwal
Browse files

Correct qualified service principal module name

parent 1bc7059e
...@@ -66,7 +66,7 @@ class BaseClient: ...@@ -66,7 +66,7 @@ class BaseClient:
The path to the logic to get a valid bearer token is dynamically injected based on The path to the logic to get a valid bearer token is dynamically injected based on
what provider and entitlements module name is provided in the configuration yaml what provider and entitlements module name is provided in the configuration yaml
""" """
entitlements_client = importlib.import_module('osdu_api.provider.%s.%s' % (self.provider, self.service_principal_module_name)) entitlements_client = importlib.import_module('osdu_api.providers.%s.%s' % (self.provider, self.service_principal_module_name))
self.service_principal_token = entitlements_client.get_service_principal_token() self.service_principal_token = entitlements_client.get_service_principal_token()
def make_request(self, method: HttpMethod, url: str, data = '', add_headers = {}, params = {}, bearer_token = None): def make_request(self, method: HttpMethod, url: str, data = '', add_headers = {}, params = {}, bearer_token = None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment