- Added AWSEC2CreateSecurityGroupIfNeeded, using
AWSSecurityGroupClient's ability to call
authorizeSecurityGroupInRegion with Iterable<IpPermission>

- Added a utility method,
ComputeServiceUtils.getPortRangesInList(int... ports), to get pairs of
start/end ports covering all ranges in a list of ports. Used above.
You can merge this Pull Request by running:

  git pull https://github.com/abayer/jclouds-1 jclouds-99

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/35

-- Commit Summary --

  * JCLOUDS-99. Enable use of Iterable<IpPermission> for aws-ec2

-- File Changes --

    M compute/src/main/java/org/jclouds/compute/util/ComputeServiceUtils.java 
(29)
    M 
compute/src/test/java/org/jclouds/compute/util/ComputeServiceUtilsTest.java (11)
    M 
providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/config/AWSEC2ComputeServiceDependenciesModule.java
 (4)
    A 
providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/loaders/AWSEC2CreateSecurityGroupIfNeeded.java
 (130)
    M 
providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/internal/BaseAWSEC2ComputeServiceExpectTest.java
 (23)
    A 
providers/aws-ec2/src/test/java/org/jclouds/aws/ec2/compute/loaders/AWSEC2CreateSecurityGroupIfNeededTest.java
 (99)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/35.patch
https://github.com/jclouds/jclouds/pull/35.diff

Reply via email to