Re: [jclouds/jclouds-labs] Create one resource group in each region (#326)

2016-10-17 Thread Ignasi Barrera
Squashed and pushed to master as 
[f58f96b1](http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/f58f96b1).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/326#issuecomment-254181748

Re: [jclouds/jclouds-labs] Create one resource group in each region (#326)

2016-10-17 Thread Ignasi Barrera
Closed #326.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/326#event-825775506

Re: [jclouds/jclouds-labs] Create one resource group in each region (#326)

2016-10-17 Thread Ignasi Barrera
@nacx pushed 1 commit.

b1a8efc  Fixes to the Image Extension


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/326/files/c9542dc03d3df396d28225bdec14dd06d561a0e7..b1a8efcc87553f5fb17b8ae6b239a44514688557


Re: [jclouds/jclouds-labs] Create one resource group in each region (#326)

2016-10-17 Thread Ignasi Barrera
@nacx pushed 1 commit.

c9542dc  PR Fixes


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/326/files/e6785463078003cb96f75a558436603a9d380a0f..c9542dc03d3df396d28225bdec14dd06d561a0e7


[jclouds/jclouds-labs] Create one resource group in each region (#326)

2016-10-14 Thread Ignasi Barrera
This changes creates one resource group for each location, instead of having 
one fixed resource group. Without this change it is not possible to use one 
single jclouds context to deploy nodes in different locations, because it will 
attempt to create the same resource group in each region.

Resource groups are created in the form `-`, where the 
prefix can be configured when creating the context with the usual jclouds 
property `ComputeServiceProperties.RESOURCENAME_PREFIX`. This way, the creation 
of the resource group will follow the same pattern that other resources that 
are created using the group naming convention (although resource groups will 
have always the location name as a suffix).

Still pending to run the complete live test suite, so please, do not merge yet.

/cc @andreaturli 
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds-labs/pull/326

-- Commit Summary --

  * Create one resource group in each region

-- File Changes --

M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/AzureComputeProviderMetadata.java
 (6)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java
 (70)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/config/AzureComputeServiceContextModule.java
 (110)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/extensions/AzureComputeImageExtension.java
 (24)
A 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/functions/LocationToResourceGroupName.java
 (46)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/functions/ResourceDefinitionToCustomImage.java
 (15)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/functions/VirtualMachineToNodeMetadata.java
 (16)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/strategy/CreateResourceGroupThenCreateNodes.java
 (12)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/config/AzureComputeProperties.java
 (2)
A 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/domain/RegionAndId.java
 (50)
M 
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/functions/CleanupResources.java
 (38)
M 
azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceLiveTest.java
 (4)
M 
azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/compute/AzureTemplateBuilderLiveTest.java
 (4)
M 
azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/compute/extensions/AzureComputeImageExtensionLiveTest.java
 (4)

-- Patch Links --

https://github.com/jclouds/jclouds-labs/pull/326.patch
https://github.com/jclouds/jclouds-labs/pull/326.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/326