Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-12 Thread Ignasi Barrera
Merged to [master](http://git-wip-us.apache.org/repos/asf/jclouds/commit/566ac233) and [2.1.x](http://git-wip-us.apache.org/repos/asf/jclouds/commit/2bddbd51). Thanks @danielestevez! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-12 Thread Ignasi Barrera
Closed #1225. -- 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/pull/1225#event-1730748311

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Ignasi Barrera
nacx approved this pull request. -- 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/pull/1225#pullrequestreview-136029939

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
Removed previous solution and added the optional/nullable resourcegroup parameter as solution! -- 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/pull/1225#issuecomment-403970005

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
danielestevez commented on this pull request. > @SelectJson("value") @GET @Fallback(EmptyListOnNotFoundOr404.class) List list(); + @Named("networkinterfacecard:list_all") + @Path("/providers/Microsoft.Network/networkInterfaces") + @SelectJson("value") + @GET +

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Ignasi Barrera
nacx commented on this pull request. > @SelectJson("value") @GET @Fallback(EmptyListOnNotFoundOr404.class) List list(); + @Named("networkinterfacecard:list_all") + @Path("/providers/Microsoft.Network/networkInterfaces") + @SelectJson("value") + @GET +

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
danielestevez commented on this pull request. > @SelectJson("value") @GET @Fallback(EmptyListOnNotFoundOr404.class) List list(); + @Named("networkinterfacecard:list_all") + @Path("/providers/Microsoft.Network/networkInterfaces") + @SelectJson("value") + @GET +

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Ignasi Barrera
nacx commented on this pull request. > @SelectJson("value") @GET @Fallback(EmptyListOnNotFoundOr404.class) List list(); + @Named("networkinterfacecard:list_all") + @Path("/providers/Microsoft.Network/networkInterfaces") + @SelectJson("value") + @GET +

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
@danielestevez pushed 3 commits. ebf4a1c Addresses comments on tests 4ce685a Removes resourceGroup parameter from NetworkInterfaceCardApi ca677c6 Removes resourceGroup parameter from PublicIPAddressApi -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
danielestevez commented on this pull request. > @SelectJson("value") @GET @Fallback(EmptyListOnNotFoundOr404.class) List list(); + @Named("networkinterfacecard:list_all") + @Path("/providers/Microsoft.Network/networkInterfaces") + @SelectJson("value") + @GET +

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
danielestevez commented on this pull request. > @@ -119,6 +119,16 @@ public void listPublicIPAddresses() { assertTrue(ipList.size() > 0); } + @Test(groups = "live", dependsOnMethods = "createPublicIPAddress") + public void listAllPublicIPAddresses() { same :) -- You are

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
danielestevez commented on this pull request. > @@ -105,6 +105,12 @@ public void listNetworkInterfaceCards() { assertTrue(nicList.contains(api().get(nicName))); } + @Test(dependsOnMethods = "createNetworkInterfaceCard") + public void listAllNetworkInterfaceCards() { Good

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-10 Thread Daniel Estévez
danielestevez commented on this pull request. > + String path = String + .format("/subscriptions/%s/providers/Microsoft.Network/networkInterfaces?%s", subscriptionid, apiVersion); + + assertSent(server, "GET", path); + assertTrue(nicList.size() == 3); +

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-09 Thread Ignasi Barrera
nacx commented on this pull request. Thanks @danielestevez! > @@ -105,6 +105,12 @@ public void listNetworkInterfaceCards() { assertTrue(nicList.contains(api().get(nicName))); } + @Test(dependsOnMethods = "createNetworkInterfaceCard") + public void listAllNetworkInterfaceCards()

[jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-09 Thread Daniel Estévez
You can view, comment on, or merge this pull request online at: https://github.com/jclouds/jclouds/pull/1225 -- Commit Summary -- * Adds listAll to PublicIPAddressAPI * Adds listAll to NetworkInterfaceCardApi -- File Changes -- M