Alibaba-Cloud-Object-Storage
Introductions
Alibaba-Cloud-Object-Storage is implementation of Storage project interfaces, based on Alibaba Cloud Object Storage Service(OSS) . It provides convenient data storage services for Spring Boot projects, including generate get, put, and remove urls to provide client access to avoid local IO.
Download
Grab via Maven:
<dependency>
<groupId>cn.dustlight.storage</groupId>
<artifactId>alibaba-cloud-object-storage</artifactId>
<version>0.0.6</version>
</dependency>
Configurations
application.yaml:
dustlight:
storage:
alibaba:
oss:
access-key-id: YOUR_ACCESS_KEY_ID
secret-access-key: YOUR_SECRET_ACCESS_KEY
bucket: YOUR_BUCKET_NAME
endpoint: YOUR_BUCKET_ENDPOINT
Or
application.properties:
dustlight.storage.alibaba.oss.access-key-id=YOUR_ACCESS_KEY_ID
dustlight.storage.alibaba.oss.secret-access-key=YOUR_SECRET_ACCESS_KEY
dustlight.storage.alibaba.oss.bucket=YOUR_BUCKET_NAME
dustlight.storage.alibaba.oss.endpoint=YOUR_BUCKET_ENDPOINT
Use
See the wiki for full instructions.
Get Help
To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else, email hansin@dustlight.cn.