|
@@ -15,13 +15,17 @@ public class FssProperty {
|
|
|
|
|
|
public static String FSS_REGION_ID;
|
|
|
|
|
|
+ public static String FSS_ENDPOINT;
|
|
|
+
|
|
|
+ public static String FSS_INTERNAL_ENDPOINT;
|
|
|
+
|
|
|
public static String FSS_ACCESS_KEY_ID;
|
|
|
|
|
|
public static String FSS_ACCESS_KEY_SECRET;
|
|
|
|
|
|
public static String FSS_URL_PREFIX;
|
|
|
|
|
|
- @Value("${examcloud.fss.type}")
|
|
|
+ @Value("${examcloud.fss.type:}")
|
|
|
public void fssType(FssType fssType) {
|
|
|
FSS_TYPE = fssType;
|
|
|
}
|
|
@@ -36,6 +40,16 @@ public class FssProperty {
|
|
|
FSS_REGION_ID = fssRegionId;
|
|
|
}
|
|
|
|
|
|
+ @Value("${examcloud.fss.endpoint:}")
|
|
|
+ public void fssEndpoint(String fssEndpoint) {
|
|
|
+ FSS_ENDPOINT = fssEndpoint;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Value("${examcloud.fss.internalEndpoint:}")
|
|
|
+ public void fssInternalEndpoint(String fssInternalEndpoint) {
|
|
|
+ FSS_INTERNAL_ENDPOINT = fssInternalEndpoint;
|
|
|
+ }
|
|
|
+
|
|
|
@Value("${examcloud.fss.accessKeyId:}")
|
|
|
public void fssAccessKeyId(String fssAccessKeyId) {
|
|
|
FSS_ACCESS_KEY_ID = fssAccessKeyId;
|