Commit Graph

58 Commits

Author SHA1 Message Date
Jeremy Daggett d3c1e2eab4 Use AutoService to generate service loader metadata 2015-01-09 11:22:12 -08:00
Adrian Cole 3980cd791b Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit 95cfc0d950.

Many conflicts due to duration between above commit and now
2014-10-24 10:45:58 -07:00
Jeremy Daggett e711275fb1 Prefer isEmpty() for collections rather than size() 2014-08-20 11:07:48 -07:00
Andrew Gaul 95cfc0d950 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:12:21 -07:00
Andrew Gaul 59462747e7 Reset StringBuilder instead of creating new ones
This avoids unneeded garbage, especially during XML parsing.  Replaced
with:

find -name \*.java | xargs sed -i 's/^\( *[^ ]*\) = new StringBuilder();$/\1.setLength(0);/'
2014-08-06 11:22:49 -07:00
Andrew Phillips e3d9851216 Up to 2.0.0-SNAPSHOT after the 1.8.0 release 2014-08-05 09:10:24 +02:00
Andrew Gaul 8fa209b15e Use more specific testng asserts where possible
These asserts yield more informative error messages.  Found with:

grep -rI 'assertTrue(.* =='
grep -rI 'assertTrue(.* !='
grep -rI 'assertTrue(.*\.equals('
2014-06-24 13:54:01 -07:00
Andrew Gaul 9cdd53b0b7 JCLOUDS-546: Remove Javadoc @author annotations
Annotations removed with:

find -name \*.java | xargs sed -i /@author/d

Empty Javadoc removed with multiple iterations of:

find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:44:54 -07:00
Andrew Bayer c1ee11d9bd Updating to 1.8.0-SNAPSHOT 2013-12-17 11:31:56 -08:00
Andrew Gaul 828d8790c2 Enforce no unused imports via Checkstyle
Removed with:

mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:27:43 -08:00
Andrew Gaul cb98a47173 Correct jcloud -> jclouds typos
Corrected with:

find -name pom.xml | xargs sed -i 's/jcloud\>/jclouds/'
2013-12-01 11:21:26 -08:00
Andrew Gaul f1fc63ab76 Add whitespace around keywords and braces 2013-09-30 09:39:29 -07:00
Andrew Gaul d8490f872d Enable some Xlint warnings
Also address a handful of warnings.
2013-09-04 19:45:44 -07:00
adriancole d17efa34a1 Revert "[JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider"
This reverts commit b021d743fd.
2013-05-17 15:10:56 -07:00
adriancole 834373354f Revert "[JCLOUDS-43] add scoped transaction support to ultradns-ws"
This reverts commit f88609d1dd.
2013-05-17 15:10:46 -07:00
adriancole ed2f18a1af JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format 2013-05-16 21:30:37 -07:00
adriancole f88609d1dd [JCLOUDS-43] add scoped transaction support to ultradns-ws 2013-05-15 12:26:09 -07:00
adriancole b021d743fd [JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider 2013-05-15 12:06:05 -07:00
Andrew Bayer 7923009eb5 JCLOUDS-37. Fix RAT violations in incubator-jclouds, master branch 2013-05-13 19:17:50 -07:00
Andrew Bayer 446ac67884 JCLOUDS-30. Switch to 2 space indents for POM files. 2013-05-13 12:04:43 -07:00
Andrew Bayer 259b04ff1c JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos. 2013-05-13 12:04:42 -07:00
adriancole 0d4e488a95 added code and tests for geo-based write ops in ultradns 2013-04-17 22:09:04 -07:00
Andrew Gaul fff2fa6e05 Address Checkstyle violations
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
adriancole 8773cda5c7 cleanup naming convention differences across ultradns apis 2013-04-16 11:47:41 -07:00
adriancole 8c18f3ba1b converted RegionToTerritories to a multimap and normalized use of IdAndName 2013-04-15 11:05:11 -07:00
adriancole a8ca5466ef corrected argument order on DirectionalRecordDetail of ultradns 2013-04-13 17:50:50 -07:00
adriancole dd11ab1d0e fixed toString on ultra domain objects 2013-04-10 11:43:07 -07:00
adriancole 4130db4f43 added ability to read directional groups in ultradns 2013-04-10 11:43:04 -07:00
adriancole ec439c65b7 added ability to read directional pools and records in ultradns 2013-04-10 11:43:03 -07:00
adriancole 0abfaf5184 added ability to read the regions available in ultradns 2013-04-10 11:43:03 -07:00
Adrian Cole 3c34aeb112 Merge pull request #1514 from jclouds/use-more-constants
use more constants in tests
2013-04-09 23:33:01 -07:00
adriancole 2e64f3e156 removed async api from ultradns-ws 2013-04-09 22:59:29 -07:00
adriancole 2855cacc6d use more constants in ultradns-ws tests 2013-04-09 21:34:23 -07:00
adriancole 053197fe61 deprecated all top-level Async apis and clients 2013-04-09 10:18:31 -07:00
adriancole 36dd831b84 moved all code off use of RestContext except CloudStackContext, which will use it until 1.7 2013-04-09 09:23:31 -07:00
adriancole a92cd40806 made it possible to replace a value in the ultradns record builder 2013-03-25 17:19:58 -07:00
adriancole 16b43b08db it is possible for an ultradns error to not include a message 2013-03-24 22:35:28 -07:00
adriancole 6ab744d674 addressed nits from issue #1453 2013-03-24 22:06:59 -07:00
adriancole d7221dc9fc specify weight when adding pool record support in ultradns 2013-03-24 22:06:55 -07:00
adriancole d9572151ae update pool record support in ultradns 2013-03-24 16:04:39 -07:00
adriancole 30a0bf7657 make error handling code in ultradns more readable 2013-03-24 15:12:24 -07:00
adriancole 43b2065947 rewrote ultradns TrafficControllerPoolApiLiveTest to validate metadata such as dname and record ttl 2013-03-24 15:10:19 -07:00
adriancole 5549eddf92 add ability to lookup traffic controller pool in ultradns by its dname 2013-03-24 15:09:53 -07:00
adriancole 6b14bec945 ultradns no longer throws an exception if you attempt to list zones of an unknown account 2013-03-24 15:09:53 -07:00
adriancole bc52b54945 renamed IDHandler in ultradns to TextHandler as it isn't limited to ids 2013-03-24 15:09:53 -07:00
adriancole 818a6f2c6f added predicates to ultradns which simplify common queries for traffic controller resources by id 2013-03-24 15:09:53 -07:00
adriancole 83ddeb10ab added ability to get the specification of an ultradns pool record by id 2013-03-24 15:09:47 -07:00
adriancole 179a0ea30a backfilled tests for case where traffic controller record in UltraDNS doesn't exist 2013-03-24 10:38:30 -07:00
adriancole eb1d4710ec create and delete traffic controller records in ultradns 2013-03-23 18:49:43 -07:00
adriancole a329feee7c create and delete traffic controller pools in ultradns 2013-03-23 17:17:38 -07:00