From 9a37bcd3e133491cb1a4e7ba7469b28aba845b37 Mon Sep 17 00:00:00 2001 From: Andre Rodrigues Date: Mon, 23 Dec 2013 17:47:03 +0100 Subject: [PATCH] Update wrappers --- .../windowsazure/management/AffinityGroupOperations.java | 2 +- .../management/AffinityGroupOperationsImpl.java | 2 +- .../windowsazure/management/LocationOperations.java | 2 +- .../windowsazure/management/LocationOperationsImpl.java | 2 +- .../management/ManagementCertificateOperations.java | 2 +- .../management/ManagementCertificateOperationsImpl.java | 2 +- .../microsoft/windowsazure/management/ManagementClient.java | 3 +-- .../windowsazure/management/ManagementClientImpl.java | 6 +++--- .../windowsazure/management/SubscriptionOperations.java | 2 +- .../windowsazure/management/SubscriptionOperationsImpl.java | 2 +- 10 files changed, 12 insertions(+), 13 deletions(-) diff --git a/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperations.java b/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperations.java index 4f9ccedb3a3ba..f688e6577945a 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperations.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperations.java @@ -22,11 +22,11 @@ package com.microsoft.windowsazure.management; import com.microsoft.windowsazure.core.OperationResponse; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.AffinityGroupCreateParameters; import com.microsoft.windowsazure.management.models.AffinityGroupGetResponse; import com.microsoft.windowsazure.management.models.AffinityGroupListResponse; import com.microsoft.windowsazure.management.models.AffinityGroupUpdateParameters; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URISyntaxException; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperationsImpl.java b/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperationsImpl.java index eee7b9bca8309..6269a922e768d 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperationsImpl.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/AffinityGroupOperationsImpl.java @@ -24,11 +24,11 @@ import com.microsoft.windowsazure.core.OperationResponse; import com.microsoft.windowsazure.core.ServiceOperations; import com.microsoft.windowsazure.core.pipeline.apache.CustomHttpDelete; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.AffinityGroupCreateParameters; import com.microsoft.windowsazure.management.models.AffinityGroupGetResponse; import com.microsoft.windowsazure.management.models.AffinityGroupListResponse; import com.microsoft.windowsazure.management.models.AffinityGroupUpdateParameters; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/LocationOperations.java b/management/src/main/java/com/microsoft/windowsazure/management/LocationOperations.java index 1585f2812e1d7..d46141adc8cc7 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/LocationOperations.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/LocationOperations.java @@ -21,8 +21,8 @@ package com.microsoft.windowsazure.management; -import com.microsoft.windowsazure.management.models.LocationsListResponse; import com.microsoft.windowsazure.exception.ServiceException; +import com.microsoft.windowsazure.management.models.LocationsListResponse; import java.io.IOException; import java.text.ParseException; import java.util.concurrent.Future; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/LocationOperationsImpl.java b/management/src/main/java/com/microsoft/windowsazure/management/LocationOperationsImpl.java index d5a9a648b9c5a..0480e2cda0ce5 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/LocationOperationsImpl.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/LocationOperationsImpl.java @@ -22,8 +22,8 @@ package com.microsoft.windowsazure.management; import com.microsoft.windowsazure.core.ServiceOperations; -import com.microsoft.windowsazure.management.models.LocationsListResponse; import com.microsoft.windowsazure.exception.ServiceException; +import com.microsoft.windowsazure.management.models.LocationsListResponse; import java.io.IOException; import java.io.InputStream; import java.text.ParseException; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperations.java b/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperations.java index 46a5b2d8bd5be..e7f7e4f00add2 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperations.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperations.java @@ -22,10 +22,10 @@ package com.microsoft.windowsazure.management; import com.microsoft.windowsazure.core.OperationResponse; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.ManagementCertificateCreateParameters; import com.microsoft.windowsazure.management.models.ManagementCertificateGetResponse; import com.microsoft.windowsazure.management.models.ManagementCertificateListResponse; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URISyntaxException; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperationsImpl.java b/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperationsImpl.java index 3c91e7c7d8d17..47360aac7d2dd 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperationsImpl.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/ManagementCertificateOperationsImpl.java @@ -24,10 +24,10 @@ import com.microsoft.windowsazure.core.OperationResponse; import com.microsoft.windowsazure.core.ServiceOperations; import com.microsoft.windowsazure.core.pipeline.apache.CustomHttpDelete; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.ManagementCertificateCreateParameters; import com.microsoft.windowsazure.management.models.ManagementCertificateGetResponse; import com.microsoft.windowsazure.management.models.ManagementCertificateListResponse; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/ManagementClient.java b/management/src/main/java/com/microsoft/windowsazure/management/ManagementClient.java index a1f087fd24b4e..9859842201968 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/ManagementClient.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/ManagementClient.java @@ -22,10 +22,9 @@ package com.microsoft.windowsazure.management; import com.microsoft.windowsazure.core.FilterableService; -import com.microsoft.windowsazure.core.ServiceClient; import com.microsoft.windowsazure.credentials.SubscriptionCloudCredentials; -import com.microsoft.windowsazure.management.models.OperationStatusResponse; import com.microsoft.windowsazure.exception.ServiceException; +import com.microsoft.windowsazure.management.models.OperationStatusResponse; import java.io.IOException; import java.net.URI; import java.util.concurrent.Future; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/ManagementClientImpl.java b/management/src/main/java/com/microsoft/windowsazure/management/ManagementClientImpl.java index f83f0f020c0cd..0969c0e8955cf 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/ManagementClientImpl.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/ManagementClientImpl.java @@ -21,11 +21,11 @@ package com.microsoft.windowsazure.management; -import com.microsoft.windowsazure.credentials.SubscriptionCloudCredentials; import com.microsoft.windowsazure.core.ServiceClient; +import com.microsoft.windowsazure.credentials.SubscriptionCloudCredentials; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.OperationStatus; import com.microsoft.windowsazure.management.models.OperationStatusResponse; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.io.InputStream; import java.net.URI; @@ -142,7 +142,7 @@ private ManagementClientImpl(HttpClientBuilder httpBuilder, ExecutorService exec * @param baseUri The URI used as the base for all Service Management * requests. */ - public ManagementClientImpl(HttpClientBuilder httpBuilder, ExecutorService executorService, @Named(ManagementConfiguration.SUBSCRIPTION_CLOUD_CREDENTIALS) SubscriptionCloudCredentials credentials, @Named(ManagementConfiguration.URI) URI baseUri) + public ManagementClientImpl(HttpClientBuilder httpBuilder, ExecutorService executorService, SubscriptionCloudCredentials credentials, URI baseUri) { this(httpBuilder, executorService); if (credentials == null) diff --git a/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperations.java b/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperations.java index e52ae01715078..772d50e2cbf8d 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperations.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperations.java @@ -22,10 +22,10 @@ package com.microsoft.windowsazure.management; import com.microsoft.windowsazure.core.OperationResponse; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.SubscriptionGetResponse; import com.microsoft.windowsazure.management.models.SubscriptionListOperationsParameters; import com.microsoft.windowsazure.management.models.SubscriptionListOperationsResponse; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.net.URISyntaxException; import java.text.ParseException; diff --git a/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperationsImpl.java b/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperationsImpl.java index 79641b2923654..f449a551a47b8 100644 --- a/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperationsImpl.java +++ b/management/src/main/java/com/microsoft/windowsazure/management/SubscriptionOperationsImpl.java @@ -23,11 +23,11 @@ import com.microsoft.windowsazure.core.OperationResponse; import com.microsoft.windowsazure.core.ServiceOperations; +import com.microsoft.windowsazure.exception.ServiceException; import com.microsoft.windowsazure.management.models.SubscriptionGetResponse; import com.microsoft.windowsazure.management.models.SubscriptionListOperationsParameters; import com.microsoft.windowsazure.management.models.SubscriptionListOperationsResponse; import com.microsoft.windowsazure.management.models.SubscriptionStatus; -import com.microsoft.windowsazure.exception.ServiceException; import java.io.IOException; import java.io.InputStream; import java.net.InetAddress;