File System Configuration

Complete configuration items, default values, sample values, and enumeration descriptions for Lodsve Boot File System configuration.

type determines the actual Handler created; access keys should not be hardcoded.

Configuration itemsTypeDefault valueExample valueDescription
lodsve.file-system.typeFileSystemTypeEnumALIYUN_OSSMINIOStorage backend, see enumeration table.
lodsve.file-system.access-key-idStringNone${OBJECT_STORAGE_ACCESS_KEY}Access Key ID.
lodsve.file-system.access-key-secretStringNone${OBJECT_STORAGE_SECRET_KEY}Access Key Secret.
lodsve.file-system.default-expireLong600000600000Presigned URL validity period, in milliseconds.
lodsve.file-system.bucket-aclMap<String,Boolean>None{demo-public: true}Mapping of bucket names to public access flags.
lodsve.file-system.aliyun-oss.endpointStringNonehttps://oss-cn-hangzhou.aliyuncs.comAlibaba Cloud OSS Endpoint.
lodsve.file-system.aws-s3.regionRegionsDEFAULT_REGIONUS_EAST_1AWS SDK region enumeration.
lodsve.file-system.tencent-cos.regionStringNoneap-nanjingTencent COS area.
lodsve.file-system.tencent-cos.endpointStringNonehttps://cos.ap-nanjing.myqcloud.comTencent COS Endpoint.
lodsve.file-system.minio.endpointStringNonehttp://localhost:9000MinIO Endpoint.
lodsve.file-system.client.max-connectionsint10241024Maximum number of HTTP connections.
lodsve.file-system.client.socket-timeoutint5000050000Socket timeout in milliseconds.
lodsve.file-system.client.connection-timeoutint5000050000Connection establishment timeout, in milliseconds.
lodsve.file-system.client.connection-request-timeoutint05000Get the connection timeout from the connection pool, in milliseconds.
lodsve.file-system.client.idle-connection-timelong6000060000Idle connection closing threshold, in milliseconds.
lodsve.file-system.client.max-error-retryint33The maximum number of retries after a failed request.
lodsve.file-system.client.support-cnamebooleantruetrueWhether CNAME Endpoint is supported.
lodsve.file-system.client.sld-enabledbooleanfalsefalseWhether to enable second-level domain name access.
lodsve.file-system.client.protocolStringHTTPHTTPSProtocol enumeration: HTTP (clear text) or HTTPS (encrypted).
lodsve.file-system.client.user-agentStringaliyun-sdk-javamy-service/1.0HTTP User-Agent.

FileSystemTypeEnum

valuemeaning
AMAZON_S3Amazon S3.
ALIYUN_OSSAlibaba Cloud OSS.
TENCENT_COSTencent Cloud COS.
MINIOMinIO.

AWS SDK Regions

The project currently relies on AWS SDK 1.11.868, aws-s3.region can use all of the following enumeration values. DEFAULT_REGION indicates that the default region is selected by the SDK based on the running environment; other values in parentheses are the AWS region names. Please recheck the list after upgrading the AWS SDK.

valuemeaning
DEFAULT_REGIONSDK default region.
US_GOV_EAST_1AWS GovCloud (US-East).
US_EAST_1Eastern United States (N. Virginia).
US_EAST_2Eastern United States (Ohio).
US_WEST_1Western United States (Northern California).
US_WEST_2Western United States (Oregon).
EU_WEST_1Europe (Ireland).
EU_WEST_2Europe (London).
EU_WEST_3Europe (Paris).
EU_CENTRAL_1Europe (Frankfurt).
EU_NORTH_1Europe (Stockholm).
EU_SOUTH_1Europe (Milan).
AP_EAST_1Asia Pacific (Hong Kong).
AP_SOUTH_1Asia Pacific (Mumbai).
AP_SOUTHEAST_1Asia Pacific (Singapore).
AP_SOUTHEAST_2Asia Pacific (Sydney).
AP_NORTHEAST_1Asia Pacific (Tokyo).
AP_NORTHEAST_2Asia Pacific (Seoul).
SA_EAST_1South America (São Paulo).
CN_NORTH_1China (Beijing).
CN_NORTHWEST_1China (Ningxia).
CA_CENTRAL_1Canada (Central).
ME_SOUTH_1Middle East (Bahrain).
AF_SOUTH_1Africa (Cape Town).
Architecture diagram