1515
1616from  application_sdk .clients  import  ClientInterface 
1717from  application_sdk .clients .azure .azure_auth  import  AzureAuthProvider 
18- from  application_sdk .clients .azure .azure_services  import  AzureStorageClient 
1918from  application_sdk .common .credential_utils  import  resolve_credentials 
2019from  application_sdk .common .error_codes  import  ClientError 
2120from  application_sdk .observability .logger_adaptor  import  get_logger 
@@ -28,7 +27,7 @@ class AzureClient(ClientInterface):
2827    Main Azure client for the application-sdk framework. 
2928
3029    This client provides a unified interface for connecting to and interacting 
31-     with Azure Storage  services. It supports Service Principal authentication 
30+     with Azure services. It supports Service Principal authentication 
3231    and provides service-specific subclients for different Azure services. 
3332
3433    Attributes: 
@@ -136,38 +135,13 @@ async def close(self) -> None:
136135        except  Exception  as  e :
137136            logger .error (f"Error closing Azure client: { str (e )}  )
138137
139-     async  def  get_storage_client (self ) ->  AzureStorageClient :
140-         """ 
141-         Get Azure Storage service client. 
142- 
143-         Returns: 
144-             AzureStorageClient: Configured Azure Storage client. 
145- 
146-         Raises: 
147-             ClientError: If client is not loaded or storage client creation fails. 
148-         """ 
149-         if  not  self ._connection_health :
150-             raise  ClientError (f"{ ClientError .CLIENT_AUTH_ERROR }  )
151- 
152-         if  "storage"  not  in self ._services :
153-             try :
154-                 self ._services ["storage" ] =  AzureStorageClient (
155-                     credential = self .credential , ** self ._kwargs 
156-                 )
157-                 await  self ._services ["storage" ].load (self .resolved_credentials )
158-             except  Exception  as  e :
159-                 logger .error (f"Failed to create storage client: { str (e )}  )
160-                 raise  ClientError (f"{ ClientError .CLIENT_AUTH_ERROR } { str (e )}  )
161- 
162-         return  self ._services ["storage" ]
163- 
164138    async  def  get_service_client (self , service_type : str ) ->  Any :
165139        """ 
166140        Get a service client by type. 
167141
168142        Args: 
169143            service_type (str): Type of service client to retrieve. 
170-                 Supported values: 'storage' . 
144+                 Currently no services are supported . 
171145
172146        Returns: 
173147            Any: The requested service client. 
@@ -176,14 +150,7 @@ async def get_service_client(self, service_type: str) -> Any:
176150            ValueError: If service_type is not supported. 
177151            ClientError: If client creation fails. 
178152        """ 
179-         service_mapping  =  {
180-             "storage" : self .get_storage_client ,
181-         }
182- 
183-         if  service_type  not  in service_mapping :
184-             raise  ValueError (f"Unsupported service type: { service_type }  )
185- 
186-         return  await  service_mapping [service_type ]()
153+         raise  ValueError (f"Unsupported service type: { service_type }  )
187154
188155    async  def  health_check (self ) ->  Dict [str , Any ]:
189156        """ 
0 commit comments