From ad83aa6852ed69475f2844263cc66223fa14b017 Mon Sep 17 00:00:00 2001 From: Antonio Goncalves Date: Mon, 14 Nov 2022 14:11:47 +0100 Subject: [PATCH] Rename package according to Quarkiverse naming standards --- .../blob/deployment/DevServicesConfig.java | 2 +- .../DevServicesStorageBlobProcessor.java | 2 +- .../deployment/StorageBlobBuildTimeConfig.java | 2 +- .../blob/deployment/StorageBlobProcessor.java | 4 ++-- .../blob/deployment/StorageBlobDevModeTest.java | 11 +++++------ .../blob/deployment/StorageBlobResource.java | 2 +- .../storage/blob/deployment/StorageBlobTest.java | 16 +++++++--------- .../blob/deployment/StorageBlobTestResource.java | 2 +- .../storage/blob/runtime/StorageBlobConfig.java | 2 +- .../StorageBlobServiceClientProducer.java | 8 ++++---- .../storage/blob/it/StorageBlobResource.java | 12 ++++++------ .../storage/blob/it/StorageBlobResourceIT.java | 2 +- .../storage/blob/it/StorageBlobResourceTest.java | 2 +- 13 files changed, 32 insertions(+), 35 deletions(-) rename extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/DevServicesConfig.java (97%) rename extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/DevServicesStorageBlobProcessor.java (99%) rename extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/StorageBlobBuildTimeConfig.java (91%) rename extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/StorageBlobProcessor.java (92%) rename extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/StorageBlobDevModeTest.java (95%) rename extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/StorageBlobResource.java (91%) rename extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/StorageBlobTest.java (93%) rename extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/{azure => }/storage/blob/deployment/StorageBlobTestResource.java (95%) rename extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/runtime/StorageBlobConfig.java (85%) rename extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/runtime/StorageBlobServiceClientProducer.java (88%) rename integration-tests/src/main/java/io/quarkiverse/azureservices/{azure => }/storage/blob/it/StorageBlobResource.java (96%) rename integration-tests/src/test/java/io/quarkiverse/azureservices/{azure => }/storage/blob/it/StorageBlobResourceIT.java (71%) rename integration-tests/src/test/java/io/quarkiverse/azureservices/{azure => }/storage/blob/it/StorageBlobResourceTest.java (88%) diff --git a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/DevServicesConfig.java b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/DevServicesConfig.java similarity index 97% rename from extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/DevServicesConfig.java rename to extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/DevServicesConfig.java index 87bb65c5..afb67fed 100644 --- a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/DevServicesConfig.java +++ b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/DevServicesConfig.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; +package io.quarkiverse.azureservices.storage.blob.deployment; import java.util.Objects; import java.util.Optional; diff --git a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/DevServicesStorageBlobProcessor.java b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/DevServicesStorageBlobProcessor.java similarity index 99% rename from extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/DevServicesStorageBlobProcessor.java rename to extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/DevServicesStorageBlobProcessor.java index 287354fd..fbbd087e 100644 --- a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/DevServicesStorageBlobProcessor.java +++ b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/DevServicesStorageBlobProcessor.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; +package io.quarkiverse.azureservices.storage.blob.deployment; import static io.quarkus.runtime.LaunchMode.DEVELOPMENT; diff --git a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobBuildTimeConfig.java b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobBuildTimeConfig.java similarity index 91% rename from extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobBuildTimeConfig.java rename to extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobBuildTimeConfig.java index 2a2b7eab..b95e8301 100644 --- a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobBuildTimeConfig.java +++ b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobBuildTimeConfig.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; +package io.quarkiverse.azureservices.storage.blob.deployment; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigRoot; diff --git a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobProcessor.java b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobProcessor.java similarity index 92% rename from extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobProcessor.java rename to extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobProcessor.java index f6d826d7..309b733b 100644 --- a/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobProcessor.java +++ b/extensions/storage-blob/deployment/src/main/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobProcessor.java @@ -1,9 +1,9 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; +package io.quarkiverse.azureservices.storage.blob.deployment; import org.jboss.jandex.ClassInfo; import org.jboss.jandex.DotName; -import io.quarkiverse.azureservices.azure.storage.blob.runtime.StorageBlobServiceClientProducer; +import io.quarkiverse.azureservices.storage.blob.runtime.StorageBlobServiceClientProducer; import io.quarkus.arc.deployment.AdditionalBeanBuildItem; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; diff --git a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobDevModeTest.java b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobDevModeTest.java similarity index 95% rename from extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobDevModeTest.java rename to extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobDevModeTest.java index ce866241..c06b2f2d 100644 --- a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobDevModeTest.java +++ b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobDevModeTest.java @@ -1,7 +1,8 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; - -import java.util.function.Supplier; +package io.quarkiverse.azureservices.storage.blob.deployment; +import io.quarkus.test.QuarkusDevModeTest; +import io.quarkus.test.common.QuarkusTestResource; +import io.restassured.RestAssured; import org.hamcrest.Matchers; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.StringAsset; @@ -9,9 +10,7 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; -import io.quarkus.test.QuarkusDevModeTest; -import io.quarkus.test.common.QuarkusTestResource; -import io.restassured.RestAssured; +import java.util.function.Supplier; @QuarkusTestResource(StorageBlobTestResource.class) public class StorageBlobDevModeTest { diff --git a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobResource.java b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobResource.java similarity index 91% rename from extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobResource.java rename to extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobResource.java index bad8e034..152067e2 100644 --- a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobResource.java +++ b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobResource.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; +package io.quarkiverse.azureservices.storage.blob.deployment; import javax.inject.Inject; import javax.ws.rs.GET; diff --git a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobTest.java b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobTest.java similarity index 93% rename from extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobTest.java rename to extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobTest.java index d2073dfc..0eac90ea 100644 --- a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobTest.java +++ b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobTest.java @@ -1,19 +1,17 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; - -import static org.junit.jupiter.api.Assertions.assertNotNull; - -import javax.enterprise.inject.Instance; -import javax.inject.Inject; +package io.quarkiverse.azureservices.storage.blob.deployment; +import com.azure.storage.blob.BlobServiceClient; +import io.quarkus.test.QuarkusUnitTest; +import io.quarkus.test.common.QuarkusTestResource; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; -import com.azure.storage.blob.BlobServiceClient; +import javax.enterprise.inject.Instance; +import javax.inject.Inject; -import io.quarkus.test.QuarkusUnitTest; -import io.quarkus.test.common.QuarkusTestResource; +import static org.junit.jupiter.api.Assertions.assertNotNull; @QuarkusTestResource(StorageBlobTestResource.class) public class StorageBlobTest { diff --git a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobTestResource.java b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobTestResource.java similarity index 95% rename from extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobTestResource.java rename to extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobTestResource.java index cf4c96b2..61183b1f 100644 --- a/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/deployment/StorageBlobTestResource.java +++ b/extensions/storage-blob/deployment/src/test/java/io/quarkiverse/azureservices/storage/blob/deployment/StorageBlobTestResource.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.deployment; +package io.quarkiverse.azureservices.storage.blob.deployment; import java.util.Map; diff --git a/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/runtime/StorageBlobConfig.java b/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/storage/blob/runtime/StorageBlobConfig.java similarity index 85% rename from extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/runtime/StorageBlobConfig.java rename to extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/storage/blob/runtime/StorageBlobConfig.java index aabc5a48..75b8b811 100644 --- a/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/runtime/StorageBlobConfig.java +++ b/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/storage/blob/runtime/StorageBlobConfig.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.runtime; +package io.quarkiverse.azureservices.storage.blob.runtime; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigPhase; diff --git a/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/runtime/StorageBlobServiceClientProducer.java b/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/storage/blob/runtime/StorageBlobServiceClientProducer.java similarity index 88% rename from extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/runtime/StorageBlobServiceClientProducer.java rename to extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/storage/blob/runtime/StorageBlobServiceClientProducer.java index 4806c899..d5bdd3ab 100644 --- a/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/runtime/StorageBlobServiceClientProducer.java +++ b/extensions/storage-blob/runtime/src/main/java/io/quarkiverse/azureservices/storage/blob/runtime/StorageBlobServiceClientProducer.java @@ -1,11 +1,11 @@ -package io.quarkiverse.azureservices.azure.storage.blob.runtime; - -import javax.enterprise.inject.Produces; -import javax.inject.Inject; +package io.quarkiverse.azureservices.storage.blob.runtime; import com.azure.storage.blob.BlobServiceClient; import com.azure.storage.blob.BlobServiceClientBuilder; +import javax.enterprise.inject.Produces; +import javax.inject.Inject; + public class StorageBlobServiceClientProducer { @Inject diff --git a/integration-tests/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResource.java b/integration-tests/src/main/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResource.java similarity index 96% rename from integration-tests/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResource.java rename to integration-tests/src/main/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResource.java index a5cf6880..cf4d72c2 100644 --- a/integration-tests/src/main/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResource.java +++ b/integration-tests/src/main/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResource.java @@ -14,18 +14,18 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.quarkiverse.azureservices.azure.storage.blob.it; - -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.ws.rs.GET; -import javax.ws.rs.Path; +package io.quarkiverse.azureservices.storage.blob.it; import com.azure.core.util.BinaryData; import com.azure.storage.blob.BlobClient; import com.azure.storage.blob.BlobContainerClient; import com.azure.storage.blob.BlobServiceClient; +import javax.enterprise.context.ApplicationScoped; +import javax.inject.Inject; +import javax.ws.rs.GET; +import javax.ws.rs.Path; + @Path("/azure-storage-blob") @ApplicationScoped public class StorageBlobResource { diff --git a/integration-tests/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResourceIT.java b/integration-tests/src/test/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResourceIT.java similarity index 71% rename from integration-tests/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResourceIT.java rename to integration-tests/src/test/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResourceIT.java index 48ff2073..a6d23c51 100644 --- a/integration-tests/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResourceIT.java +++ b/integration-tests/src/test/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResourceIT.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.it; +package io.quarkiverse.azureservices.storage.blob.it; import io.quarkus.test.junit.QuarkusIntegrationTest; diff --git a/integration-tests/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResourceTest.java b/integration-tests/src/test/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResourceTest.java similarity index 88% rename from integration-tests/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResourceTest.java rename to integration-tests/src/test/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResourceTest.java index 5e5cb397..61b139aa 100644 --- a/integration-tests/src/test/java/io/quarkiverse/azureservices/azure/storage/blob/it/StorageBlobResourceTest.java +++ b/integration-tests/src/test/java/io/quarkiverse/azureservices/storage/blob/it/StorageBlobResourceTest.java @@ -1,4 +1,4 @@ -package io.quarkiverse.azureservices.azure.storage.blob.it; +package io.quarkiverse.azureservices.storage.blob.it; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.is;