I'll squash commits after we consider PR is ready to be merged. We've not fixed tests yet, so they'll fail for now if you don't have any IP subscriptions. Will fix that in the next few days. You can merge this Pull Request by running:
git pull https://github.com/cloudsigma/jclouds-labs cloudsigma2-subscription-calc-fix Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds-labs/pull/41 -- Commit Summary -- * Add CalcSubscription domain method * Change listSubscriptionsCalculator() to calculateSubscriptions() method * Add SubscriptionCalculator domain object * Add subscription calculator expect & live tests -- File Changes -- M cloudsigma2/src/main/java/org/jclouds/cloudsigma2/CloudSigma2Api.java (25) A cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/CalcSubscription.java (249) A cloudsigma2/src/main/java/org/jclouds/cloudsigma2/domain/SubscriptionCalculator.java (75) M cloudsigma2/src/main/java/org/jclouds/cloudsigma2/functions/internal/ParseSubscriptions.java (22) M cloudsigma2/src/test/java/org/jclouds/cloudsigma2/CloudSigma2ApiExpectTest.java (80) M cloudsigma2/src/test/java/org/jclouds/cloudsigma2/CloudSigma2ApiLiveTest.java (61) A cloudsigma2/src/test/resources/subscriptioncalculator-request.json (1) A cloudsigma2/src/test/resources/subscriptioncalculator.json (35) -- Patch Links -- https://github.com/jclouds/jclouds-labs/pull/41.patch https://github.com/jclouds/jclouds-labs/pull/41.diff
