-
Notifications
You must be signed in to change notification settings - Fork 4
Store the container name of cloud in UFile domain #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
} | ||
|
||
String getContainer() { | ||
containerName(Holders.flatConfig["fileuploader.groups.${fileGroup}.container"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change the method name to fix the codeclimate issue of Code readability confusion
as fieldName containerName
is a good fit here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review done some changes suggested
grails-app/services/com/causecode/fileuploader/FileUploaderService.groovy
Outdated
Show resolved
Hide resolved
dateCreated bindable: false | ||
lastUpdated bindable: false | ||
envName bindable: false | ||
containerName nullable: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also add min-length validations to it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
Problem
Solution / Approach
containerName
in the UFile domain.Test Procedures
containerName
.