You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
richie
e713b507a1
|
4 years ago | |
---|---|---|
lib | 6 years ago | |
screeshots | 6 years ago | |
src/main | 6 years ago | |
.gitignore | 4 years ago | |
build.gradle | 4 years ago | |
build.xml | 6 years ago | |
plugin.xml | 6 years ago | |
pom.xml | 6 years ago | |
readme.md | 6 years ago |
readme.md
通用OSS配置
插件依赖
当新插件需要使用OSS文件存储系统时,只需要依赖该插件即可,依赖方式如下: 在plugin.xml中添加
<dependence>
<item type="plugin" key="com.fr.plugin.oss.universal">
</dependence>
配置查看和更改
进入决策平台->系统管理菜单,切换到常规tab页,可以看到包含了OSS的配置界面,如下图所示
API接口
OssUniversalConfig config = com.fr.plugin.oss.universal.config.OssUniversalConfig.getInstance();
// 获取EndPoint
config.getEndPoint();
// 获取AccessKeyId
config.getAccessKeyId();
// 获取AccessKeySecret
config.getRealAccessKeySecret();
// 获取所有的可用Bucket信息
config.getArrayBuckets();