You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by danbroudy <no...@github.com> on 2014/11/25 02:56:28 UTC
[jclouds-labs-google] Added ForwardingRule to AggregatedListApi (#99)
You can merge this Pull Request by running:
git pull https://github.com/GoogleCloudPlatform/jclouds-labs-google forwardingRuleAggregated
Or you can view, comment on it, or merge it online at:
https://github.com/jclouds/jclouds-labs-google/pull/99
-- Commit Summary --
* Added ForwardingRule to AggregatedListApi
-- File Changes --
M google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/features/AggregatedListApi.java (51)
M google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/AggregatedListApiLiveTest.java (18)
M google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/AggregatedListApiMockTest.java (20)
A google-compute-engine/src/test/resources/aggregated_forwarding_rule_list.json (60)
A google-compute-engine/src/test/resources/aggregated_forwarding_rule_list_empty.json (55)
-- Patch Links --
https://github.com/jclouds/jclouds-labs-google/pull/99.patch
https://github.com/jclouds/jclouds-labs-google/pull/99.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-labs-google-pull-requests #313](https://jclouds.ci.cloudbees.com/job/jclouds-labs-google-pull-requests/313/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64298808
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-labs-google #1784](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/1784/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64445358
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by danbroudy <no...@github.com>.
Updated. Thanks for reviewing!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64444561
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by Adrian Cole <no...@github.com>.
> @@ -111,4 +112,21 @@ public void globalOperations() {
> }
> assertEquals(count, 2);
> }
> +
> + public void forwardingRules() {
> + Iterator<ListPage<ForwardingRule>> pageIterator = api().forwardingRules(maxResults(1));
> + // make sure that in spite of having only one result per page we get at
> + // least two results
> + int count = 0;
> + for (; count < 2 && pageIterator.hasNext();) {
> + ListPage<ForwardingRule> result = pageIterator.next();
> + if (!result.isEmpty()) {
> + count++;
> + }
> + }
> + if (count < 2) {
> + throw new SkipException("Not enough global operations");
not enough forwarding rules
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99/files#r20874258
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by Adrian Cole <no...@github.com>.
cool LG after small change
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64427345
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-labs-google-pull-requests #314](https://jclouds.ci.cloudbees.com/job/jclouds-labs-google-pull-requests/314/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64444794
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by BuildHive <no...@github.com>.
[jclouds » jclouds-labs-google #1783](https://buildhive.cloudbees.com/job/jclouds/job/jclouds-labs-google/1783/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64299268
Re: [jclouds-labs-google] Added ForwardingRule to AggregatedListApi
(#99)
Posted by Adrian Cole <no...@github.com>.
merged!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/99#issuecomment-64451025