From 61c8dd5ac07dfae43cfdf640b41a491847df7b1c Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Thu, 3 Jun 2021 12:28:21 -0700 Subject: [PATCH 1/2] Rename confidential ledger package --- eng/.docsettings.yml | 2 +- .../resources/spotbugs/spotbugs-exclude.xml | 2 +- eng/versioning/version_client.txt | 2 +- pom.xml | 6 ++--- .../CHANGELOG.md | 8 ------- .../CHANGELOG.md | 9 ++++++++ .../README.md | 22 +++++++++---------- .../pom.xml | 4 ++-- .../ConfidentialLedgerBaseClient.java | 2 +- .../ConfidentialLedgerClientBuilder.java | 2 +- ...entialLedgerIdentityServiceBaseClient.java | 2 +- .../confidentialledger/package-info.java | 2 +- .../src/main/java/module-info.java | 4 ++-- .../src/samples/README.md | 0 .../confidentialledger/GetLedgerEntries.java | 2 +- .../confidentialledger/ReadmeSamples.java | 2 +- .../ConfidentialLedgerBaseClientTests.java | 2 +- .../ConfidentialLedgerClientTestBase.java | 2 +- ...edgerBaseClientTests.getLedgerEntries.json | 0 .../swagger/README.md | 2 +- sdk/confidentialledger/ci.yml | 4 ++-- sdk/confidentialledger/pom.xml | 8 +++---- 22 files changed, 45 insertions(+), 44 deletions(-) delete mode 100644 sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md create mode 100644 sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md rename sdk/confidentialledger/{azure-data-confidentialledger => azure-security-confidentialledger}/README.md (90%) rename sdk/confidentialledger/{azure-data-confidentialledger => azure-security-confidentialledger}/pom.xml (97%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/main/java/com/azure/data => azure-security-confidentialledger/src/main/java/com/azure/security}/confidentialledger/ConfidentialLedgerBaseClient.java (99%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/main/java/com/azure/data => azure-security-confidentialledger/src/main/java/com/azure/security}/confidentialledger/ConfidentialLedgerClientBuilder.java (99%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/main/java/com/azure/data => azure-security-confidentialledger/src/main/java/com/azure/security}/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java (98%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/main/java/com/azure/data => azure-security-confidentialledger/src/main/java/com/azure/security}/confidentialledger/package-info.java (87%) rename sdk/confidentialledger/{azure-data-confidentialledger => azure-security-confidentialledger}/src/main/java/module-info.java (72%) rename sdk/confidentialledger/{azure-data-confidentialledger => azure-security-confidentialledger}/src/samples/README.md (100%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/samples/java/com/azure/data => azure-security-confidentialledger/src/samples/java/com/azure/security}/confidentialledger/GetLedgerEntries.java (98%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/samples/java/com/azure/data => azure-security-confidentialledger/src/samples/java/com/azure/security}/confidentialledger/ReadmeSamples.java (98%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/test/java/com/azure/data => azure-security-confidentialledger/src/test/java/com/azure/security}/confidentialledger/ConfidentialLedgerBaseClientTests.java (97%) rename sdk/confidentialledger/{azure-data-confidentialledger/src/test/java/com/azure/data => azure-security-confidentialledger/src/test/java/com/azure/security}/confidentialledger/ConfidentialLedgerClientTestBase.java (98%) rename sdk/confidentialledger/{azure-data-confidentialledger => azure-security-confidentialledger}/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json (100%) rename sdk/confidentialledger/{azure-data-confidentialledger => azure-security-confidentialledger}/swagger/README.md (94%) diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index 7969d2e86802c..da01b44b34666 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -128,7 +128,7 @@ known_content_issues: - ['sdk/communication/azure-communication-sms/swagger/README.md', '#3113'] - ['sdk/communication/azure-communication-identity/swagger/README.md', '#3113'] - ['sdk/communication/azure-communication-phonenumbers/swagger/README.md', '#3113'] - - ['sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md', '#3113'] + - ['sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md', '#3113'] - ['sdk/cosmos/changelog/README.md', '#3113'] - ['sdk/cosmos/faq/README.md', '#3113'] - ['sdk/cosmos/azure-cosmos-benchmark/README.md', '#3113'] diff --git a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml index b05c56ddaaf3c..426a165f96771 100755 --- a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml +++ b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml @@ -2486,7 +2486,7 @@ - + diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 02927e62a7db9..fa1ed0d1e9a7b 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -78,7 +78,6 @@ com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.2.0-beta.1;4.2.0-beta.1 com.azure:azure-cosmos-encryption;1.0.0-beta.5;1.0.0-beta.6 com.azure:azure-data-appconfiguration;1.1.12;1.2.0-beta.2 com.azure:azure-data-appconfiguration-perf;1.0.0-beta.1;1.0.0-beta.1 -com.azure:azure-data-confidentialledger;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-data-schemaregistry;1.0.0-beta.4;1.0.0-beta.5 com.azure:azure-data-schemaregistry-avro;1.0.0-beta.4;1.0.0-beta.5 com.azure:azure-data-tables;12.0.0-beta.7;12.0.0-beta.8 @@ -105,6 +104,7 @@ com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-search-documents;11.3.2;11.4.0-beta.3 com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-security-attestation;1.0.0-beta.1;1.0.0-beta.2 +com.azure:azure-security-confidentialledger;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-security-keyvault-administration;4.0.0-beta.7;4.0.0-beta.8 com.azure:azure-security-keyvault-certificates;4.1.8;4.2.0-beta.7 com.azure:azure-security-keyvault-jca;1.0.0-beta.7;1.0.0-beta.8 diff --git a/pom.xml b/pom.xml index 61ba25acd2c52..0524f27a56a10 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ sdk/communication/azure-communication-sms - sdk/confidentialledger/azure-data-confidentialledger + sdk/confidentialledger/azure-security-confidentialledger sdk/containerregistry/azure-containers-containerregistry @@ -367,7 +367,7 @@ Azure Confidential Ledger - com.azure.data.confidentialledger.* + com.azure.security.confidentialledger.* @@ -589,7 +589,7 @@ So, path for aggregate reports have to be defined relative to parent pom --> -maxLineLength 120 -snippetpath ${project.basedir}/sdk/appconfiguration/azure-data-appconfiguration/src/samples/java - -snippetpath ${project.basedir}/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java + -snippetpath ${project.basedir}/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java -snippetpath ${project.basedir}/sdk/containerregistry/azure-containers-containerregistry/src/samples/java -snippetpath ${project.basedir}/sdk/core/azure-core/src/samples/java -snippetpath ${project.basedir}/sdk/core/azure-core-amqp/src/samples/java diff --git a/sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md b/sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md deleted file mode 100644 index c940c9df4636b..0000000000000 --- a/sdk/confidentialledger/azure-data-confidentialledger/CHANGELOG.md +++ /dev/null @@ -1,8 +0,0 @@ -# Release History - -## 1.0.0-beta.2 (Unreleased) - - -## 1.0.0-beta.1 (2021-05-11) - -- Initial beta release for Confidential Ledger client library. diff --git a/sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md b/sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md new file mode 100644 index 0000000000000..fd5b97affb2ab --- /dev/null +++ b/sdk/confidentialledger/azure-security-confidentialledger/CHANGELOG.md @@ -0,0 +1,9 @@ +# Release History + +## 1.0.0-beta.2 (2021-06-08) + +- Rename package name from azure-data-confidentialledger to azure-security-confidentialledger + +## 1.0.0-beta.1 (2021-05-11) + +- Initial beta release for Confidential Ledger client library. diff --git a/sdk/confidentialledger/azure-data-confidentialledger/README.md b/sdk/confidentialledger/azure-security-confidentialledger/README.md similarity index 90% rename from sdk/confidentialledger/azure-data-confidentialledger/README.md rename to sdk/confidentialledger/azure-security-confidentialledger/README.md index e4ddf31fe3ae7..6444d4ea4000b 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/README.md +++ b/sdk/confidentialledger/azure-security-confidentialledger/README.md @@ -18,12 +18,12 @@ portfolio, Azure Confidential Ledger runs in SGX enclaves. It is built on Micros ### Include the Package -[//]: # ({x-version-update-start;com.azure:azure-data-confidentialledger;current}) +[//]: # ({x-version-update-start;com.azure:azure-security-confidentialledger;current}) ```xml com.azure - azure-data-confidentialledger - 1.0.0-beta.1 + azure-security-confidentialledger + 1.0.0-beta.2 ``` [//]: # ({x-version-update-end}) @@ -58,7 +58,7 @@ To use the [DefaultAzureCredential][DefaultAzureCredential] provider shown below Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET. ##### Example - + ```java ConfidentialLedgerIdentityServiceBaseClient identityServiceClient = new ConfidentialLedgerClientBuilder() .ledgerUri(new URL("")) @@ -140,16 +140,16 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m [ccf]: https://github.com/Microsoft/CCF [azure_confidential_computing]: https://azure.microsoft.com/solutions/confidential-compute [confidential_ledger_docs]: https://aka.ms/confidentialledger-servicedocs -[samples]: src/samples/java/com/azure/data/confidentialledger -[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-data-confidentialledger/src -[samples_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-data-confidentialledger/src/samples/ +[samples]: src/samples/java/com/azure/security/confidentialledger +[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-security-confidentialledger/src +[samples_code]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/confidentialledger/azure-security-confidentialledger/src/samples/ [azure_subscription]: https://azure.microsoft.com/free/ [product_documentation]: https://aka.ms/confidentialledger-servicedocs -[ledger_base_client_class]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/LedgerBaseClient.java +[ledger_base_client_class]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/LedgerBaseClient.java [azure_portal]: https://portal.azure.com [jdk_link]: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable -[package]: https://mvnrepository.com/artifact/com.azure/azure-data-confidentialledger -[samples_readme]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-data-confidentialledger/src/samples/README.md +[package]: https://mvnrepository.com/artifact/com.azure/azure-security-confidentialledger +[samples_readme]: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/confidentialledger/azure-security-confidentialledger/src/samples/README.md -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fconfidentialledger%2Fazure-data-confidentialledger%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fconfidentialledger%2Fazure-security-confidentialledger%2FREADME.png) diff --git a/sdk/confidentialledger/azure-data-confidentialledger/pom.xml b/sdk/confidentialledger/azure-security-confidentialledger/pom.xml similarity index 97% rename from sdk/confidentialledger/azure-data-confidentialledger/pom.xml rename to sdk/confidentialledger/azure-security-confidentialledger/pom.xml index f0dfcb2b74f9c..5351f5222b657 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/pom.xml +++ b/sdk/confidentialledger/azure-security-confidentialledger/pom.xml @@ -10,8 +10,8 @@ com.azure - azure-data-confidentialledger - 1.0.0-beta.2 + azure-security-confidentialledger + 1.0.0-beta.2 Microsoft Azure client library for Confidential Ledger This package contains Microsoft Azure Confidential Ledger client library. diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClient.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClient.java similarity index 99% rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClient.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClient.java index 7ef666eda1550..778c8721c1aad 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClient.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClient.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerClientBuilder.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerClientBuilder.java similarity index 99% rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerClientBuilder.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerClientBuilder.java index 61fff1330201e..14dad5677ee15 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerClientBuilder.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerClientBuilder.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.annotation.ServiceClientBuilder; import com.azure.core.credential.TokenCredential; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java similarity index 98% rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java index f705eb49fe4d8..7fe95ff059a02 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/ConfidentialLedgerIdentityServiceBaseClient.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/package-info.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/package-info.java similarity index 87% rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/package-info.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/package-info.java index 4d0a703718dbc..47f4a7b99b348 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/com/azure/data/confidentialledger/package-info.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/com/azure/security/confidentialledger/package-info.java @@ -6,4 +6,4 @@ * Package containing the classes for ConfidentialLedgerClient. The ConfidentialLedgerClient writes and retrieves ledger * entries against the Confidential Ledger service. */ -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/module-info.java b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/module-info.java similarity index 72% rename from sdk/confidentialledger/azure-data-confidentialledger/src/main/java/module-info.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/main/java/module-info.java index fdc105a6096a3..b9a5e06f0f8e8 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/main/java/module-info.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/main/java/module-info.java @@ -2,9 +2,9 @@ // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. -module com.azure.data.confidentialledger { +module com.azure.security.confidentialledger { requires transitive com.azure.core; requires transitive com.azure.core.experimental; - exports com.azure.data.confidentialledger; + exports com.azure.security.confidentialledger; } diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/README.md b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/README.md similarity index 100% rename from sdk/confidentialledger/azure-data-confidentialledger/src/samples/README.md rename to sdk/confidentialledger/azure-security-confidentialledger/src/samples/README.md diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/GetLedgerEntries.java b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/GetLedgerEntries.java similarity index 98% rename from sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/GetLedgerEntries.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/GetLedgerEntries.java index 3aa15a0dadf41..7a45582074bb3 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/GetLedgerEntries.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/GetLedgerEntries.java @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.experimental.http.DynamicResponse; import com.azure.core.http.HttpClient; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/ReadmeSamples.java b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/ReadmeSamples.java similarity index 98% rename from sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/ReadmeSamples.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/ReadmeSamples.java index 7dc8aa8291fba..008a1b62bd7ce 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/samples/java/com/azure/data/confidentialledger/ReadmeSamples.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/samples/java/com/azure/security/confidentialledger/ReadmeSamples.java @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.experimental.http.DynamicResponse; import com.azure.core.http.HttpClient; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClientTests.java b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClientTests.java similarity index 97% rename from sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClientTests.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClientTests.java index 5e7c5458be329..c1b6cfff8a5f9 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerBaseClientTests.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerBaseClientTests.java @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.experimental.http.DynamicResponse; import org.junit.jupiter.api.Test; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerClientTestBase.java b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerClientTestBase.java similarity index 98% rename from sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerClientTestBase.java rename to sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerClientTestBase.java index 32b09a6ef3896..85929ff8ebead 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/src/test/java/com/azure/data/confidentialledger/ConfidentialLedgerClientTestBase.java +++ b/sdk/confidentialledger/azure-security-confidentialledger/src/test/java/com/azure/security/confidentialledger/ConfidentialLedgerClientTestBase.java @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.data.confidentialledger; +package com.azure.security.confidentialledger; import com.azure.core.credential.TokenCredential; import com.azure.core.http.HttpClient; diff --git a/sdk/confidentialledger/azure-data-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json b/sdk/confidentialledger/azure-security-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json similarity index 100% rename from sdk/confidentialledger/azure-data-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json rename to sdk/confidentialledger/azure-security-confidentialledger/src/test/resources/session-records/ConfidentialLedgerBaseClientTests.getLedgerEntries.json diff --git a/sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md b/sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md similarity index 94% rename from sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md rename to sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md index 3d6a420248af1..05855e89bd456 100644 --- a/sdk/confidentialledger/azure-data-confidentialledger/swagger/README.md +++ b/sdk/confidentialledger/azure-security-confidentialledger/swagger/README.md @@ -6,7 +6,7 @@ input-file: - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/identityservice.json java: true output-folder: ../ -namespace: com.azure.data.confidentialledger +namespace: com.azure.security.confidentialledger generate-client-interfaces: false sync-methods: none license-header: MICROSOFT_MIT_SMALL diff --git a/sdk/confidentialledger/ci.yml b/sdk/confidentialledger/ci.yml index 03ae960555cf8..013eef2f081eb 100644 --- a/sdk/confidentialledger/ci.yml +++ b/sdk/confidentialledger/ci.yml @@ -27,6 +27,6 @@ extends: parameters: ServiceDirectory: confidentialledger Artifacts: - - name: azure-data-confidentialledger + - name: azure-security-confidentialledger groupId: com.azure - safeName: azuredataconfidentialledger + safeName: azuresecurityconfidentialledger diff --git a/sdk/confidentialledger/pom.xml b/sdk/confidentialledger/pom.xml index 697ad82aa9b89..17e27583b917e 100644 --- a/sdk/confidentialledger/pom.xml +++ b/sdk/confidentialledger/pom.xml @@ -12,14 +12,14 @@ coverage - azure-data-confidentialledger + azure-security-confidentialledger com.azure - azure-data-confidentialledger - 1.0.0-beta.2 + azure-security-confidentialledger + 1.0.0-beta.2 @@ -51,7 +51,7 @@ true - azure-data-confidentialledger + azure-security-confidentialledger From 825c6169cf210f4d97f92b2348cc9bacd6f6fb24 Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Fri, 4 Jun 2021 13:45:31 -0700 Subject: [PATCH 2/2] Use 1.0.0-beta.2 as dependency version --- eng/versioning/version_client.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index fa1ed0d1e9a7b..7c060b68a1591 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -104,7 +104,7 @@ com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-search-documents;11.3.2;11.4.0-beta.3 com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-security-attestation;1.0.0-beta.1;1.0.0-beta.2 -com.azure:azure-security-confidentialledger;1.0.0-beta.1;1.0.0-beta.2 +com.azure:azure-security-confidentialledger;1.0.0-beta.2;1.0.0-beta.2 com.azure:azure-security-keyvault-administration;4.0.0-beta.7;4.0.0-beta.8 com.azure:azure-security-keyvault-certificates;4.1.8;4.2.0-beta.7 com.azure:azure-security-keyvault-jca;1.0.0-beta.7;1.0.0-beta.8