From d27dceb3844415510e5bad54ace67add7c75e293 Mon Sep 17 00:00:00 2001 From: Pat Long Date: Thu, 23 Apr 2020 13:52:22 -0400 Subject: Allow for using custom s3 host with lfs server By default, it will generate hostname using the aws region passed to the constructor. This will allow for easier testing, since you can just spin up a local minio (or other s3-compatible storage service) instance and point the application at that for the storage mechanism. It will also allow for storing lfs objects on-prem. Change-Id: I2566b1fcce58f3d306ddd23a8da702ef5a451c7b Signed-off-by: Pat Long Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java | 1 + 1 file changed, 1 insertion(+) (limited to 'org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal') diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java index bed485f605..56d59bb540 100644 --- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java +++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java @@ -33,6 +33,7 @@ public class LfsServerText extends TranslationBundle { /***/ public String undefinedS3AccessKey; /***/ public String undefinedS3Bucket; /***/ public String undefinedS3Region; + /***/ public String undefinedS3Hostname; /***/ public String undefinedS3SecretKey; /***/ public String undefinedS3StorageClass; /***/ public String unparsableEndpoint; -- cgit v1.2.3