diff options
author | Pat Long <pllong@arista.com> | 2020-04-23 13:52:22 -0400 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-05-10 11:29:27 +0200 |
commit | d27dceb3844415510e5bad54ace67add7c75e293 (patch) | |
tree | a06aa3485129d2847eed2f4e079d420e81bc189c /org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal | |
parent | f30e48914e72efe2ac0d28140e07aa8d647de4f8 (diff) | |
download | jgit-d27dceb3844415510e5bad54ace67add7c75e293.tar.gz jgit-d27dceb3844415510e5bad54ace67add7c75e293.zip |
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 <pllong@arista.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal')
-rw-r--r-- | org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal/LfsServerText.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; |