grkvlt/jclouds — comment on commit 2bd1f15f29b7f9b94cd34c1dbccdd48c3290608c
File:  line 0
By jclouds:

I'm generally not a fan of getStandardRequest. While it does compress lines of code, it obfuscates what's going on and also is very likely to incur ordering problems (ex. methods with very large number of parameters).

The point of the expect tests are to unveil the expected behavior in as clear terms possible, where there's a clear relationship between what you see and what the server responds to or with. Moreover, I don't want others to have to learn the "vcloud" http request building dsl in order to troubleshoot this.

It is reasons like this is why you see me declaring httprequests in-tact and not creating methods like this. In fact, I would prefer string literals, if there were a nice way to do this in java.

Please undo this and revert back to inline declaration of http requests for now.