Skip to content

App error handling and AWS client refactor

Compare
Choose a tag to compare
@andyhd andyhd released this 23 Oct 12:39
a0e4bde
  • Add logging and error handling for Github repo listing
  • Prevent creating App with already registered Github repo
  • Improve create app form validation and errors
  • Validate app customer email addresses
  • Handle Auth0 errors adding and removing customers
  • Set default choice on create app form
  • Refactor AWS client code to use boto3 Resource API
  • Remove redundant AWSClient class
  • Remove redundant IAMRole class (replaced by boto3 Role resource class)
  • Refactor S3AccessPolicy class to operate on boto3 RolePolicy objects - also fixes bug which removes all resources from policy
  • Refactor AppS3Bucket, PolicyS3Bucket and UserS3Bucket to loosen coupling with S3AccessPolicy and ManagedS3AccessPolicy
  • Refactor cluster module to follow @xoen's cluster.App example
  • Test with moto
  • Remove the unused write_to_cluster feature flag