generated from micronaut-projects/micronaut-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
type: enhancementNew feature or requestNew feature or request
Description
Implement the ResourceLoader interface to get the objects using shorter URI in common format.
<object-storage-name>://path/to/file
- is the
ObjectStorage#getName
Then for configuration:
micronaut:
object-storage:
aws:
public-images:
bucket: public-images-bucketThe locator would be: public-images://path/to/file
[s3|os|gs|azb]:([cloud-provider-specifics]:)*//<storage-name>/path/to/file
Where for the cloud providers:
- AWS
- format:
s3://<bucket-name>/path/to/file - example:
s3://micronaut-object-storage/micronaut-buffer-netty-3.1.1.pom
- format:
- Azure
- format:
azb:<storage-account-name>://<container>/path/to/file - example:
azb:micronautpgressatest://micronaut-object-storate/micronaut-buffer-netty-3.1.1.pom
- format:
- Google Cloud
- format:
gs://<bucket-name>/path/to/file - example:
sgs//micronaut-object-storage/micronaut-buffer-netty-3.1.1.pom
- format:
- Oracle Cloud
- format:
os:<region>:<namespace>://<bucket-name>/path/to/file - example:
os:us-ashburn-1:cloudnative-devrel://micronaut-object-storate/micronaut-buffer-netty-3.1.1.pom
- format:
Metadata
Metadata
Assignees
Labels
type: enhancementNew feature or requestNew feature or request