Add / Clarify Use of Table Storage in Containers

Open
#846 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, java, spring-boot

Research direction

Start with docs-ref-conceptual/spring-framework/configure-spring-boot-starter-java-app-with-azure-storage.md and compare it with the linked Spring Boot Starter for Azure Storage page. Clarify the Maven dependencies and property-based blob access, then add a table-storage example for a Spring Boot app running in an Azure Container Instance. Document whether DynamicTableEntity is supported in that environment.

Written by the indexing model from the issue text.

Description

(1) The maven plugin specified for accessing blob storage is subtly different from the maven plugin specified for a "standard" spring-boot Azure; (2) the syntax of accessing a blob through a property is very different from creating/uploading a blob using Java 8.0 azure storage libraries (get a storage account reference, get a table reference, etc.); and (2) there is not direct information in the example about accessing tables; the link at the bottom of the page goes to the standard Javadoc for the Azure storage library, yet my use of those libraries is not working in the Azure Container Instance (Windows).

In short - extremely confusing, thus frustrating.

The maven dependency for the blob access example is:

`<groupId>com.microsoft.azure</groupId>

<artifactId>spring-azure-starter-storage</artifactId>

<version>1.0.0.M2</version>`

The maven for "standard" spring-boot application is:

`<groupId>com.microsoft.azure</groupId>

<artifactId>azure-storage-spring-boot-starter</artifactId>`

Having the same words in different order is hard on the eyes and comprehension. Are both required? Are references to the java storage library required (I am almost certain they are, but may be superseded by the spring storage references).

Please provide an example which accesses table storage from a spring-boot app that can also run in an Azure container instance. I would also like to know whether the DynamicTableEntity class is supported in Containers (since the app I have uses DTEs and works locally but not in a container, I am concerned that may be the problem).
Thanks


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Dominant language
Python
Stars
66
Forks
284
Avg merge
4m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MicrosoftDocs/azure-docs-sdk-java

All issues in MicrosoftDocs/azure-docs-sdk-java

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.