-
Notifications
You must be signed in to change notification settings - Fork 4
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
TDRD 88: Add file name path parameter to call to draft metadata checks step function #3899
Conversation
…tionalarchives/tdr-transfer-frontend into TDRD-88-add-file-name-query-parameter
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.
Looks good. Just a minor comment. Thanks
@@ -49,15 +49,16 @@ class DraftMetadataUploadController @Inject() ( | |||
val successPage = routes.DraftMetadataChecksController.draftMetadataChecksPage(consignmentId) | |||
val token = request.asInstanceOf[Request[AnyContent]].token | |||
val uploadBucket = s"${applicationConfig.draft_metadata_s3_bucket_name}" | |||
val uploadKey = s"$consignmentId/draft-metadata.csv" | |||
val uploadFileName = "draft-metadata.csv" | |||
val uploadKey = s"$consignmentId/$uploadFileName" |
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.
I think it is best to add a property in application.base.conf
file and use it here.
draftMetadata {
fileName = "draft-metadata.csv"
}
…tionalarchives/tdr-transfer-frontend into TDRD-88-add-file-name-query-parameter
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.
Looks good. Thanks
No description provided.