mirror of https://github.com/apache/jclouds.git
Fixed rename of files
This commit is contained in:
parent
e4c32bc00b
commit
fa51a2734c
|
@ -22,7 +22,7 @@ import java.net.URI;
|
||||||
|
|
||||||
import org.jclouds.http.HttpRequest;
|
import org.jclouds.http.HttpRequest;
|
||||||
import org.jclouds.http.HttpResponse;
|
import org.jclouds.http.HttpResponse;
|
||||||
import org.jclouds.openstack.keystone.v2_0.config.KeyStoneAuthenticationModule;
|
import org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule;
|
||||||
import org.jclouds.rest.BaseRestClientExpectTest;
|
import org.jclouds.rest.BaseRestClientExpectTest;
|
||||||
|
|
||||||
import com.google.common.collect.ImmutableMultimap;
|
import com.google.common.collect.ImmutableMultimap;
|
||||||
|
@ -60,7 +60,7 @@ public class BaseKeyStoneRestClientExpectTest<S> extends BaseRestClientExpectTes
|
||||||
/**
|
/**
|
||||||
* in case you need to override anything
|
* in case you need to override anything
|
||||||
*/
|
*/
|
||||||
public static class TestKeyStoneAuthenticationModule extends KeyStoneAuthenticationModule {
|
public static class TestKeyStoneAuthenticationModule extends KeystoneAuthenticationModule {
|
||||||
@Override
|
@Override
|
||||||
protected void configure() {
|
protected void configure() {
|
||||||
super.configure();
|
super.configure();
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jclouds.http.annotation.ClientError;
|
||||||
import org.jclouds.http.annotation.Redirection;
|
import org.jclouds.http.annotation.Redirection;
|
||||||
import org.jclouds.http.annotation.ServerError;
|
import org.jclouds.http.annotation.ServerError;
|
||||||
import org.jclouds.http.handlers.BackoffLimitedRetryHandler;
|
import org.jclouds.http.handlers.BackoffLimitedRetryHandler;
|
||||||
import org.jclouds.openstack.keystone.v2_0.config.KeyStoneAuthenticationModule;
|
import org.jclouds.openstack.keystone.v2_0.config.KeystoneAuthenticationModule;
|
||||||
import org.jclouds.openstack.keystone.v2_0.domain.Access;
|
import org.jclouds.openstack.keystone.v2_0.domain.Access;
|
||||||
import org.jclouds.openstack.keystone.v2_0.domain.Service;
|
import org.jclouds.openstack.keystone.v2_0.domain.Service;
|
||||||
import org.jclouds.openstack.nova.v1_1.NovaAsyncClient;
|
import org.jclouds.openstack.nova.v1_1.NovaAsyncClient;
|
||||||
|
@ -61,13 +61,13 @@ public class NovaRestClientModule extends RestClientModule<NovaClient, NovaAsync
|
||||||
.put(ServerClient.class, ServerAsyncClient.class)//
|
.put(ServerClient.class, ServerAsyncClient.class)//
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
private final KeyStoneAuthenticationModule authModule;
|
private final KeystoneAuthenticationModule authModule;
|
||||||
|
|
||||||
public NovaRestClientModule() {
|
public NovaRestClientModule() {
|
||||||
this(new KeyStoneAuthenticationModule());
|
this(new KeystoneAuthenticationModule());
|
||||||
}
|
}
|
||||||
|
|
||||||
public NovaRestClientModule(KeyStoneAuthenticationModule authModule) {
|
public NovaRestClientModule(KeystoneAuthenticationModule authModule) {
|
||||||
super(NovaClient.class, NovaAsyncClient.class, DELEGATE_MAP);
|
super(NovaClient.class, NovaAsyncClient.class, DELEGATE_MAP);
|
||||||
this.authModule = authModule;
|
this.authModule = authModule;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue