Skip to content

Commit

Permalink
Merge pull request #9 from wizpanda/fixes
Browse files Browse the repository at this point in the history
Added a field to mark stored file for deletion, using AWS S3 v4 Signature
  • Loading branch information
sagrawal31 committed Oct 5, 2018
2 parents 70f0d02 + a0a71ce commit 92dd4f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}
}

version "0.1.1"
version "0.1.2"
group "com.wizpanda.plugins"

apply plugin: "eclipse"
Expand Down
2 changes: 2 additions & 0 deletions grails-app/domain/com/wizpanda/file/StoredFile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import grails.util.Holders

class StoredFile {

boolean markedForDeletion

String originalName
String name
String url
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AmazonS3UploaderService extends UploaderService {
* TODO https://github.com/aws/aws-sdk-java/issues/740
* TODO Planned to be released in https://github.com/jclouds/jclouds/pull/678
*/
//System.setProperty("com.amazonaws.services.s3.enableV4", "true")
System.setProperty("com.amazonaws.services.s3.enableV4", "true")
}

@Override
Expand Down

0 comments on commit 92dd4f3

Please sign in to comment.