Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Azure Tables into sdk/tables/azure-data-tables #11682

Merged
merged 9 commits into from
Jun 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ known_content_issues:
- ['sdk/cosmos/faq/README.md', '#3113']
- ['sdk/cosmos/azure-cosmos-benchmark/README.md', '#3113']
- ['sdk/cosmos/azure-cosmos-examples/README.md', '#3113']
- ['sdk/cosmos/azure-cosmos-table/swagger/README.md', '#3113']
- ['sdk/cosmos/azure-cosmos/README.md', '#3113']
- ['sdk/e2e/README.md', '#3113']
- ['sdk/eventgrid/microsoft-azure-eventgrid/README.md', '#3113']
Expand All @@ -143,8 +142,9 @@ known_content_issues:
- ['sdk/storage/microsoft-azure-storage-blob/README.md', '#3113']
- ['sdk/storage/microsoft-azure-storage-blob/swagger/README.md', '#3113']
- ['sdk/storage/README.md', '#3113']
- ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#3113']
- ['sdk/tables/azure-data-tables/swagger/README.md', '#3113']
- ['sdk/template/azure-sdk-template/README.md','has other required sections']
- ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#3113']

package_indexing_exclusion_list:
- azure-loganalytics-sample
Expand Down
67 changes: 34 additions & 33 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,30 +91,35 @@
<artifactId>azure-core-tracing-opentelemetry</artifactId>
<version>1.0.0-beta.5</version> <!-- {x-version-update;com.azure:azure-core-tracing-opentelemetry;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.0.1-beta.4</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-data-appconfiguration</artifactId>
<version>1.2.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-appconfiguration;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.1.0-beta.5</version> <!-- {x-version-update;com.azure:azure-identity;current} -->
<artifactId>azure-data-schemaregistry</artifactId>
Copy link
Member Author

@conniey conniey Jun 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these are alphabetise changes where I cut and paste the dependencies into the right alphabetical order. The one that matters is line 116 - 117.

I know I should do cosmetic changes in another PR.. but I can't unsee it. :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Thank you!

<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-schemaregistry;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.1.0-beta.3</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<artifactId>azure-data-schemaregistry-avro</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-schemaregistry-avro;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<artifactId>azure-data-tables</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-tables;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.0-beta.3</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<artifactId>azure-identity</artifactId>
<version>1.1.0-beta.5</version> <!-- {x-version-update;com.azure:azure-identity;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -131,6 +136,26 @@
<artifactId>azure-messaging-servicebus</artifactId>
<version>7.0.0-beta.3</version> <!-- {x-version-update;com.azure:azure-messaging-servicebus;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-search-documents</artifactId>
<version>1.0.0-beta.4</version> <!-- {x-version-update;com.azure:azure-search-documents;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.1.0-beta.3</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.0-beta.3</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-common</artifactId>
Expand Down Expand Up @@ -172,36 +197,12 @@
<artifactId>azure-storage-queue</artifactId>
<version>12.6.0-beta.1</version> <!-- {x-version-update;com.azure:azure-storage-queue;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-search-documents</artifactId>
<version>1.0.0-beta.4</version> <!-- {x-version-update;com.azure:azure-search-documents;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.0.1-beta.4</version> <!-- {x-version-update;com.azure:azure-cosmos;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos-table</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos-table;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-sdk-template</artifactId>
<version>1.0.4-beta.20</version> <!-- {x-version-update;com.azure:azure-sdk-template;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-data-schemaregistry</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-schemaregistry;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-data-schemaregistry-avro</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-schemaregistry-avro;current} -->
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-spring-boot</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.4;1.0.0-beta.5
com.azure:azure-cosmos;4.0.1-beta.3;4.0.1-beta.4
com.azure:azure-cosmos-examples;4.0.1-beta.1;4.0.1-beta.1
com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1
com.azure:azure-cosmos-table;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-data-appconfiguration;1.1.1;1.2.0-beta.1
com.azure:azure-data-schemaregistry;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-data-schemaregistry-avro;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-data-tables;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-e2e;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-identity;1.0.6;1.1.0-beta.5
com.azure:azure-identity-perf;1.0.0-beta.1;1.0.0-beta.1
Expand Down
38 changes: 0 additions & 38 deletions sdk/cosmos/azure-cosmos-table/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions sdk/cosmos/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ stages:
groupId: com.azure
safeName: azurecosmos
AdditionalModules:
- name: azure-cosmos-table
groupId: com.azure
safeName: azurecosmostable
- name: azure-cosmos-examples
groupId: com.azure
- name: azure-cosmos-benchmark
Expand Down
1 change: 0 additions & 1 deletion sdk/cosmos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<module>azure-cosmos</module>
<module>azure-cosmos-benchmark</module>
<module>azure-cosmos-examples</module>
<module>azure-cosmos-table</module>
</modules>

</project>
59 changes: 59 additions & 0 deletions sdk/tables/azure-data-tables/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Azure Tables client library for Java
Azure Storage Tables client library is a service that stores structured NoSQL data in the cloud, providing a
key/attribute store with a schemaless design. Tables storage gives developers flexibility and scalability with all the
best parts of Azure cloud.

[Source code][source_code] | [Package (Maven)][package] | [API reference documentation][api_documentation]
| [Product documentation][azconfig_docs] | [Samples][samples]

## Getting started

### Prerequisites

- Java Development Kit (JDK) with version 8 or above
- [Azure Subscription][azure_subscription]

### Include the Package

[//]: # ({x-version-update-start;com.azure:tables:azure-data-tables;current})
```xml
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-data-tables</artifactId>
<version>1.0.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})

## Key concepts

## Examples
Use the client library for Tables to:
- manages tables
- edit and access table contents

## Troubleshooting

## Next steps

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a [Contributor License Agreement (CLA)][cla] declaring that you have the right to, and actually do, grant us the rights to use your contribution.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [[email protected]][coc_contact] with any additional questions or comments.

<!-- Links -->
[api_documentation]: https://aka.ms/java-docs
[azure_subscription]: https://azure.microsoft.com/free
[cla]: https://cla.microsoft.com
[coc_contact]: mailto:[email protected]
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
[coc]: https://opensource.microsoft.com/codeofconduct/
[package]: https://search.maven.org/artifact/com.azure/azure-data-tables
[samples_readme]: src/samples/README.md
[samples]: src/samples/java/com/azure/data/tables
[source_code]: src

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Ftables%2Fazure-data-tables%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ Licensed under the MIT License.
</parent>

<groupId>com.azure</groupId>
<artifactId>azure-cosmos-table</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-cosmos-table;current} -->
<artifactId>azure-data-tables</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-data-tables;current} -->
<name>Microsoft Azure SDK for Azure Table</name>
<description>This package contains the Microsoft Azure Cosmos Table client library.</description>
<packaging>jar</packaging>
<description>This package contains the Microsoft Azure Table storage client library.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<distributionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.cosmos.table.implementation;
package com.azure.data.tables.implementation;

import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.cosmos.table.implementation;
package com.azure.data.tables.implementation;

import com.azure.core.annotation.ServiceClientBuilder;
import com.azure.core.http.HttpPipeline;
Expand All @@ -13,7 +13,7 @@

/** A builder for creating a new instance of the AzureTable type. */
@ServiceClientBuilder(serviceClients = {AzureTableImpl.class})
public final class AzureTableBuilder {
public final class AzureTableImplBuilder {
/*
* The URL of the service account or table that is the targe of the desired
* operation.
Expand All @@ -24,9 +24,9 @@ public final class AzureTableBuilder {
* Sets The URL of the service account or table that is the targe of the desired operation.
*
* @param url the url value.
* @return the AzureTableBuilder.
* @return the AzureTableImplBuilder.
*/
public AzureTableBuilder url(String url) {
public AzureTableImplBuilder url(String url) {
this.url = url;
return this;
}
Expand All @@ -40,9 +40,9 @@ public AzureTableBuilder url(String url) {
* Sets Specifies the version of the operation to use for this request.
*
* @param version the version value.
* @return the AzureTableBuilder.
* @return the AzureTableImplBuilder.
*/
public AzureTableBuilder version(String version) {
public AzureTableImplBuilder version(String version) {
this.version = version;
return this;
}
Expand All @@ -56,9 +56,9 @@ public AzureTableBuilder version(String version) {
* Sets The HTTP pipeline to send requests through.
*
* @param pipeline the pipeline value.
* @return the AzureTableBuilder.
* @return the AzureTableImplBuilder.
*/
public AzureTableBuilder pipeline(HttpPipeline pipeline) {
public AzureTableImplBuilder pipeline(HttpPipeline pipeline) {
this.pipeline = pipeline;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.cosmos.table.implementation;
package com.azure.data.tables.implementation;

import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.ExpectedResponses;
Expand All @@ -18,11 +18,11 @@
import com.azure.core.annotation.UnexpectedResponseExceptionType;
import com.azure.core.http.rest.RestProxy;
import com.azure.core.util.Context;
import com.azure.cosmos.table.implementation.models.ServicesGetPropertiesResponse;
import com.azure.cosmos.table.implementation.models.ServicesGetStatisticsResponse;
import com.azure.cosmos.table.implementation.models.ServicesSetPropertiesResponse;
import com.azure.cosmos.table.implementation.models.TableServiceErrorException;
import com.azure.cosmos.table.implementation.models.TableServiceProperties;
import com.azure.data.tables.implementation.models.ServicesGetPropertiesResponse;
import com.azure.data.tables.implementation.models.ServicesGetStatisticsResponse;
import com.azure.data.tables.implementation.models.ServicesSetPropertiesResponse;
import com.azure.data.tables.implementation.models.TableServiceErrorException;
import com.azure.data.tables.implementation.models.TableServiceProperties;
import reactor.core.publisher.Mono;

/** An instance of this class provides access to all the operations defined in Services. */
Expand Down
Loading