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

Use DNS for S3 storage + set storage root directory in application.yml #51

Merged
merged 14 commits into from
Nov 26, 2024

Conversation

etiennehomer
Copy link
Collaborator

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines

Does this PR already have an issue describing the problem?
No

What is the current behavior?
We use the IP to connect to s3-storage.

What is the new behavior (if this is a feature change)?
We now use the DNS as we do for other technical containers.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Signed-off-by: Etienne Homer <[email protected]>
@etiennehomer etiennehomer changed the title Use DNS for S3 storage Use DNS for S3 storage + set storage root directory in application.yml Nov 22, 2024
@@ -172,7 +173,7 @@ public String getOriginalFilename(UUID caseUuid) {
return getCaseMetaDataEntity(caseUuid).getOriginalFilename();
}

// key format is "gsi-cases/UUID/path/to/file"
// key format is "cases/UUID/path/to/file"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// key format is "cases/UUID/path/to/file"
// key format is "<rootDirectory>/UUID/path/to/file"

Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
@@ -11,15 +11,15 @@ spring:
aws:
s3:
path-style-access-enabled: true
endpoint: http://172.17.0.1:19000
endpoint: http://s3-storage:9000
Copy link
Collaborator

@jonenst jonenst Nov 22, 2024

Choose a reason for hiding this comment

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

Suggested change
endpoint: http://s3-storage:9000
# classic minio port, useful default for exploring
endpoint: http://s3-storage:9000

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
@etiennehomer etiennehomer merged commit eb9d24a into main Nov 26, 2024
4 checks passed
@etiennehomer etiennehomer deleted the use_dns_for_s3_storage branch November 26, 2024 14:00
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