调整客户端获取方式
This commit is contained in:
@@ -93,12 +93,11 @@ public class HuaweiObsProperties implements InitializingBean {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void afterPropertiesSet() {
|
public void afterPropertiesSet() {
|
||||||
Assert.hasText(accessKey, "华为云accessKey信息必填!!");
|
Assert.hasText(accessKey, "huawei-accessKey undefined!!");
|
||||||
Assert.hasText(securityKey, "华为云securityKey信息必填!!");
|
Assert.hasText(securityKey, "huawei-securityKey undefined!!");
|
||||||
Assert.notNull(getObs(),"obs相关信息必填!!");
|
Assert.hasText(getObs().bucket, "obs bucket undefined!!");
|
||||||
Assert.hasText(getObs().bucket, "obs桶信息必填!!");
|
Assert.hasText(getObs().endpoint, "obs endpoint undefined!!");
|
||||||
Assert.hasText(getObs().endpoint, "obs终端节点访问路径必填!!");
|
Assert.notNull(getObs().expire, "obs expire undefined!!");
|
||||||
Assert.notNull(getObs().expire, "obs_url生命周期必填!!");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#Generated by Maven
|
#Generated by Maven
|
||||||
#Sat Sep 23 14:16:08 CST 2023
|
#Fri Oct 27 14:57:08 CST 2023
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
groupId=com.njcn
|
groupId=com.njcn
|
||||||
artifactId=huawei-obs-springboot-starter
|
artifactId=huawei-obs-springboot-starter
|
||||||
|
|||||||
Reference in New Issue
Block a user