cuba-platform / cuba-aws Goto Github PK
View Code? Open in Web Editor NEWEnables using Amazon S3 as a file storage in CUBA applications
License: Apache License 2.0
Enables using Amazon S3 as a file storage in CUBA applications
License: Apache License 2.0
In platform 7.1 there was an ability to override required for AWS S3 app.properties in database.
Open Administration -> Project properties and expand 'cuba' category.
Since platform 7.2 in AWS addon this config has SourceType.APP
It seems the config should be "database" too for backward compatibility. Or there should be some instructions in the addon documentation/
Not sure about system variables or Java properties, But it seems it could be simply implemented for ~/.aws/credentials
.
~/.aws/credentials
file with some incorrect or outdated AIM keys in [default] profileapp.properties
define some existent bucket/regioncuba.amazonS3.region = us-west-1
cuba.amazonS3.bucket = cuba-the-best
Start the application
Open Administration -> External files. And try to upload\download something: ensure it does not work
Open Administration -> External files. And try to upload\download something: check if ot starts working
In a mechanism to renew AWS credentials was implemented in #4
Please Mention the bean in documentation as "keys rotation" is usual for amazon services
Duplicate of: jmix-projects/jmix-awsfs#5
When catching exceptions in saveStream/openStream methods, log the initial exception before throwing FileStorageException.
E.g. log.error("Error saving file to AWS", e)
Otherwise the useful information about the error (like "access denied") is lost.
Create information about Software Components file
https://doc.cuba-platform.com/manual-7.2/credits.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.