Skip to content
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

Pivotal ID # 185645993: Kotlin AWS S3 Client #882

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

Juan-EBI
Copy link
Contributor

@Juan-EBI Juan-EBI commented Sep 18, 2024

Copy link
Contributor

@jhoanmanuelms jhoanmanuelms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Just a couple of questions

@@ -208,4 +211,8 @@ private class PmcLoader(
bioStudiesUrl = properties.bioStudiesUrl,
submissionId = submissionId,
)

private companion object {
const val JOB_MINUTES = 48 * 60
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why 48 minutes? Maybe we should add documentation to explain this

x.txt Outdated
@@ -0,0 +1,7004 @@
Starting a Gradle Daemon, 1 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this file was commited by mistake?

import uk.ac.ebi.fire.client.integration.web.FireS3Client
import java.io.File
import java.nio.file.Files
import java.nio.file.StandardCopyOption

class S3Client(
class S3JClient(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you considering adding a feature flag in another PR to choose between one client or the other? Otherwise, we could delete this class since, after this change, it will only be used by tests

Copy link
Contributor

@jhoanmanuelms jhoanmanuelms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Juan-EBI Juan-EBI merged commit b13a444 into master Sep 23, 2024
1 check passed
@Juan-EBI Juan-EBI deleted the feature/pivotal-185645993 branch September 23, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants