- Mock-Webserver v2.2.0 - Vendor, defined dependency bcprov-jdk15on > Previously, the dependency got excluded; otherwise, it conflicted with the existing bouncy castle version used in JClouds.
- Mock-Webserver v3.14.9 - The vendor does not define a bouncy castle dependency anymore; instead, it moved to the okhttp-tls module.
- Introduce the okhttp-tls module for tests in the core module. The following APIs (Docker, Elastic-Stack) and providers Softlayer extend their respective MockTest from BaseMockWebServerTest. The mock base test is located in the test jar of JClouds core module.
- Due to conflicting bouncy castle classes in the classpath, those which get loaded from the okhttp-tls module, and those defined in JClouds bouncy castle module, the bouncy castle dependency of okhttp-tls has to get skipped for the two APIs and providers mentioned.
Side note:
The JClouds GAE driver module also requires the new okhttp-tls dependency because of the following chain of inheritance.
Different from the situation above, the bouncy castle classes of the okhttp-tls got not excluded.
GaeHttpCommandExecutorServiceIntegrationTest -> BaseHttpCommandExecutorServiceIntegrationTest -> BaseMockWebServerTest
The reason for this is unknown to me.
This makes dependencies consistent and eliminates warnings of the
form:
$M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found
Reference:
https://github.com/google/auto/tree/master/service#download
- Function which tells to GCE to reset Windows password
- InstanceApiLiveTest for windows
- Unit test for decrypting windows password
- fixed compile errors
* Documented why we implicitly lookup project name using project id; corrected README, pom, ApiMetadata and added tests.
* Introduced jclouds.google-compute-engine.project-name property used to adjust the project commands affect.
* Flattened quasi-generated pagination classes into package-private members of their callers.
* Removed invalid fallbacks for lists. List responses are empty; they don't return 4xx!
* Adjusted test configuration to allow bearer token properly.
* Rewrites Metadata to have the same shape as in json, avoid really complicated json parser.
* Rewrites GoogleComputeEngineServiceAdapter.createNodeWithGroupEncodedIntoName to use less network requests.
* Removes untested aspects of TemplateOptions, except additional disks.
* Removes complexity around location by using aggregate apis, which removes custom location module
* Switches to uris as ids, which removes the InstanceInZone and MachineTypeInZone class
* Stop using metadata to temporarily store jclouds image id as it is reachable via disks[0].source -> disk.sourceImage
* Starts using MWS, which makes it possible to read the offline tests for compute service
* Reduces newlines needed in tests by switching mock project name to "party"
Note - there is no GoogleComputEngineSecurityGroupExtensionExpectTest,
due to it being more or less redundant given that we're not making any
new API calls.
Does not include aggregated list method calls, due to those calls not
working with service accounts.
Does not include image insert or deprecate due to the extremely
complex system for creating images in GCE, which makes writing tests
for that a pain. Will come in a later commit.