第一版华为obs的starter完成
This commit is contained in:
48
target/classes/META-INF/spring-configuration-metadata.json
Normal file
48
target/classes/META-INF/spring-configuration-metadata.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"groups": [
|
||||
{
|
||||
"name": "huawei",
|
||||
"type": "com.njcn.huawei.obs.config.HuaweiObsProperties",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties"
|
||||
},
|
||||
{
|
||||
"name": "huawei.obs",
|
||||
"type": "com.njcn.huawei.obs.config.HuaweiObsProperties$Obs",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties",
|
||||
"sourceMethod": "getObs()"
|
||||
}
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"name": "huawei.access-key",
|
||||
"type": "java.lang.String",
|
||||
"description": "华为云访问请求ak",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties"
|
||||
},
|
||||
{
|
||||
"name": "huawei.obs.bucket",
|
||||
"type": "java.lang.String",
|
||||
"description": "华为云OBS的桶名称",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties$Obs"
|
||||
},
|
||||
{
|
||||
"name": "huawei.obs.endpoint",
|
||||
"type": "java.lang.String",
|
||||
"description": "华为云OBS的终端节点访问路径",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties$Obs"
|
||||
},
|
||||
{
|
||||
"name": "huawei.obs.expire",
|
||||
"type": "java.lang.Long",
|
||||
"description": "文件对应url的生命周期,单位为秒",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties$Obs"
|
||||
},
|
||||
{
|
||||
"name": "huawei.security-key",
|
||||
"type": "java.lang.String",
|
||||
"description": "华为云访问请求sk",
|
||||
"sourceType": "com.njcn.huawei.obs.config.HuaweiObsProperties"
|
||||
}
|
||||
],
|
||||
"hints": []
|
||||
}
|
||||
5
target/classes/META-INF/spring.factories
Normal file
5
target/classes/META-INF/spring.factories
Normal file
@@ -0,0 +1,5 @@
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
com.njcn.huawei.obs.config.HuaweiObsProperties,\
|
||||
com.njcn.huawei.obs.util.OBSUtil
|
||||
|
||||
|
||||
Reference in New Issue
Block a user