Comments (2)
Thanks for filing this issue @MichaelVonB.
I believe you're running into this problem as there aren't any includes set in the listBlobs
call. This document goes over the REST API details on how to include additional information in the response BlobItem
:
And here is an example of the updated Java code:
BlobContainerClient blobContainerClient = blobServiceClient.getBlobContainerClient("my-blob-container-client");
List<Map<String, String>> metaDataList = blobContainerClient.listBlobs(new ListBlobsOptions().setDetails(new BlobListDetails().setRetrieveMetadata(true)), null).stream()
.map(BlobItem::getMetadata)
.toList();
And here is a test we run that validates the behavior:
from azure-sdk-for-java.
Thank you for your quick supply. This fixed the issue. My bad i missed this.
For local development we are using azurite and there metadata are always populated regardless of ListBlobsOptions so we never searched in that direction.
from azure-sdk-for-java.
Related Issues (20)
- [BUG] Encountering "java.lang.IllegalStateException: block()/blockFirst()/blockLast() are blocking, which is not supported in thread parallel-3" during delete operation after upgrading to latest Cosmos SDK and Spring Boot 3 HOT 1
- Just a blank issue for sanity testing HOT 2
- OpenSsl:154 - Failed to load netty-tcnative;OpenSslEngine will be unavailable, java.lang.illegalArgumentException: Failed to load any of given libraries :[netty_tcnative_windows_x86_64, netty_tcnative_x86_64, netty-tcnative HOT 4
- Make it so that `Response` contents can be lazily deserialized where necessary. HOT 2
- azure-ai-openai missing method to call GPT-4-turbo vision HOT 1
- [BUG] com.azure.core.http.HttpClient resolves proxy's DNS name only once and caches the IP address forever regardless of TTL. HOT 4
- [BUG] Android java - azure-storage-blob - blobClient.getProperties().getLastModified() - Wrong number of arguments; expected 1, got 0 HOT 2
- [OpenAI] Create a policy to route the AOAI and OAI API calls
- [BUG] Java OpenAI EmbeddingsOptions requires setUser be called with non-null value HOT 3
- [BUG] OpenAI beta6 using datasources - error: Unrecognized request argument supplied: dataSources
- [FEATURE REQ] eng, move SDK automation out of eng/mgmt folder HOT 1
- [BUG] CriteriaType ARRAY_CONTAINS does not support the 3rd parameter of the function in azure-spring-data-cosmos HOT 1
- [BUG] When prompt trigger the content filter, the serialized object with returned JSON is incorrect HOT 9
- [BUG] java.lang.IllegalStateException: block()/blockFirst()/blockLast() are blocking, which is not supported in thread reactor-http-epoll-1, when using uploadWithResponse method of BlobClient HOT 5
- Azure Key Vault- How to use AzureCliCredential first when using spring.cloud.azure.keyvault.secret.property-sources[0].endpoint HOT 6
- [OpenAI] Investigate the error message POJO that works for both AOAI and OAI HOT 2
- [BUG] Spring presents Bean selection issues when passwordless and resource-manager are used together. HOT 2
- Test Issue, please ignore HOT 1
- Test issue HOT 1
- Setup of JMS message listener invoker failed for destination 'queue-name' - trying to recover. Cause: Local transactions cannot span multiple top-level entities such as queue or topic. TrackingId:some_tracking_id, SystemTracker:gateway5, Timestamp:2024-02-29T21:57:11 [condition = amqp:not-allowed] HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.