Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1441

[ARM] China regions can not be used

    XMLWordPrintableJSON

Details

    Description

      Right now some paths are hardcoded, so azure compute provider cannot work correctly, this one was the main blocker:

      https://github.com/jclouds/jclouds/blob/master/providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/config/AzureComputeHttpApiModule.java#L57

      As a reference, here is a documentation for the needed endpoint translations when using Azure regions in China https://docs.microsoft.com/en-us/azure/china/china-get-started-developer-guide#check-endpoints-in-azure

      Also some tests included configurations, regions and paths hardcoded that made it hard to test, i might open an alternate PR just to fix those tests executions.

      In a local branch overriding all those problems i could execute the full set of Live Tests with just two outstanding problems (maybe as different isolated issues):

       

       I will open a PR to fix those paths and allow the provider to work with China regions, as well as adding two missing regions.

      Attachments

        Activity

          People

            destevez Daniel Estevez
            destevez Daniel Estevez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: