Drop use of ms_rest_azure
ms_rest_azure
(https://github.com/Azure/azure-sdk-for-ruby) has been retired. https://github.com/Azure/azure-sdk-for-ruby/blob/master/docs/README.md says:
As of Februrary 2021, Azure SDK for Ruby - Resource Management Libraries are officially retired. The libraries will be in maintenance mode until December 31, 2021. However, there will be no further releases based on feature requests.
In the future, we recommend that you interface with the Azure REST APIs directly from Ruby; instructions are provided in this doc.
We'll need to drop this dependency and any calls to MsRestAzure
. This will enable us to update to Faraday v2 (https://github.com/omniauth/omniauth_openid_connect/pull/153).
% git grep MsRestAzure
lib/fog/azurerm/constants.rb: # MsRestAzure::AzureOperationError class Error Codes
lib/fog/azurerm/credentials.rb: @token_provider = MsRestAzure::ApplicationTokenProvider.new(@tenant_id, @client_id, @client_secret, active_directory_service_settings(environment))
lib/fog/azurerm/custom_fog_errors.rb: # This is a custom Fog exception inherited from MsRestAzure::AzureOperationError
lib/fog/azurerm/custom_fog_errors.rb: class CustomAzureOperationError < MsRestAzure::AzureOperationError
lib/fog/azurerm/utilities/general.rb: raise exception unless exception.is_a?(MsRestAzure::AzureOperationError)
lib/fog/azurerm/utilities/general.rb: MsRestAzure::ActiveDirectoryServiceSettings.get_azure_china_settings
lib/fog/azurerm/utilities/general.rb: MsRestAzure::ActiveDirectoryServiceSettings.get_azure_us_government_settings
lib/fog/azurerm/utilities/general.rb: MsRestAzure::ActiveDirectoryServiceSettings.get_azure_german_settings
lib/fog/azurerm/utilities/general.rb: MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
lib/fog/azurerm/utilities/general.rb: MsRestAzure::AzureEnvironments::ChinaCloud.resource_manager_endpoint_url
lib/fog/azurerm/utilities/general.rb: MsRestAzure::AzureEnvironments::USGovernment.resource_manager_endpoint_url
lib/fog/azurerm/utilities/general.rb: MsRestAzure::AzureEnvironments::GermanCloud.resource_manager_endpoint_url
lib/fog/azurerm/utilities/general.rb: MsRestAzure::AzureEnvironments::AzureCloud.resource_manager_endpoint_url
lib/fog/azurerm/utilities/general.rb: # MsRestAzure::AzureEnvironments::AzureChina.storage_endpoint_suffix
lib/fog/azurerm/utilities/general.rb: # MsRestAzure::AzureEnvironments::AzureUSGovernment.storage_endpoint_suffix
lib/fog/azurerm/utilities/general.rb: # MsRestAzure::AzureEnvironments::AzureGermanCloud.storage_endpoint_suffix
lib/fog/azurerm/utilities/general.rb: # MsRestAzure::AzureEnvironments::Azure.storage_endpoint_suffix
Related projects: