GithubHelp home page GithubHelp logo

cuba-aws's People

Contributors

basicus avatar gglcrash avatar glebshalyganov avatar knstvk avatar soraksh avatar

Watchers

 avatar  avatar  avatar  avatar

cuba-aws's Issues

Amazon connection properties could not be stored in database anymore

  • Platform version: 7.2-SNAPSHOT

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.
image

Since platform 7.2 in AWS addon this config has SourceType.APP
image

It seems the config should be "database" too for backward compatibility. Or there should be some instructions in the addon documentation/

Ability to renew aws credentials without application restart

Not sure about system variables or Java properties, But it seems it could be simply implemented for ~/.aws/credentials.

Environment

  • Platform version: 7.2-beta1

Description of the bug or enhancement

  • Minimal reproducible example
  1. Create ~/.aws/credentials file with some incorrect or outdated AIM keys in [default] profile

image

  1. in app.properties define some existent bucket/region
    do not define credentials there! This will activate default credentials provider
cuba.amazonS3.region = us-west-1
cuba.amazonS3.bucket = cuba-the-best
  1. Start the application

  2. Open Administration -> External files. And try to upload\download something: ensure it does not work

  3. Then correct ~/.aws/credentials
    image

  4. Open Administration -> External files. And try to upload\download something: check if ot starts working

  • Expected behavior
    The credentials are renewed - read from ~/.aws/credentials.

  • Actual behavior
    The credentials are renewed only after the application re-start.
    image

Describe securty keys renew mechanism

Environment

  • Platform version: 7.2-SNAPSHOT

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

Clarify 'cuba.amazonS3.region' in readme.md

When creating a bucket using amazon web interface the region is displayed as on the screenshot:

image

In readme.md the Region is defined in another format:
```cuba.amazonS3.region = us-west-1``
image

It is absolutely unclear for a not experienced user which value to define in this setting

Log full AWS exceptions

Duplicate of: jmix-projects/jmix-awsfs#5

Environment

  • Platform version: 7.2.x
  • Addon version: 1.0.1

Description of the bug or enhancement

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.