jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] [azure-arm] add supports to port ranges to addNetworkSecurityGroup (#300)
Date Wed, 13 Jul 2016 21:23:12 GMT
> @@ -323,6 +326,43 @@ private void addNetworkSecurityGroup() {
>  
>     }
>  
> +   // Helper function for simplifying an array of ports to a list of ranges FirewallOptions
expects.
> +   public static List<String> simplifyPorts(int[] ports){

Add the corresponding unit tests that verify this method works for the different types of
input ports: isolated ones, contiguous, etc.

---
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/300/files/bbfa9982d1d1f2674fa45fd24ba89db1f39f0831#r70711516
Mime
View raw message