Browse Source

Merge pull request #6 in PG/plugin-repository-hdfs from ~RINOUX/plugin-repository-hdfs:master to master

* commit '3b8baf10a80cca467b3d5ba4ba91f473239a2496':
  interface mod
  no message
  无JIRA任务 displayName和jartime
release/10.0
rinoux 6 years ago
parent
commit
eb1fd32b7f
  1. 6
      plugin.xml
  2. 21
      src/com/fr/plugin/hdfs/repository/decision/HDFSFileServerOption.java

6
plugin.xml

@ -4,11 +4,11 @@
<name><![CDATA[HDFS资源仓库]]></name>
<active>yes</active>
<hidden>no</hidden>
<version>1.0</version>
<version>1.1</version>
<env-version>10.0</env-version>
<jartime>2018-03-13</jartime>
<jartime>2018-12-27</jartime>
<vendor>rinoux</vendor>
<description><![CDATA[描述]]></description>
<description><![CDATA[支持接入hadoop分布式hdfs文件系统。在单机或web集群场景下,可选择设置文件服务器为HDFS,保证模板等资源文件分布式存储,实现高可用。]]></description>
<change-notes><![CDATA[无]]></change-notes>
<!--主包-->
<main-package>com.fr.plugin</main-package>

21
src/com/fr/plugin/hdfs/repository/decision/HDFSFileServerOption.java

@ -1,30 +1,13 @@
package com.fr.plugin.hdfs.repository.decision;
import com.fr.decision.fun.SystemOptionProvider;
import com.fr.decision.fun.impl.AbstractSystemOptionProvider;
import com.fr.decision.fun.impl.AbstractWebResourceProvider;
import com.fr.decision.web.MainComponent;
import com.fr.stable.fun.mark.API;
import com.fr.web.struct.Atom;
/**
* Created by rinoux on 2018/11/26.
*/
@API(level = SystemOptionProvider.CURRENT_LEVEL)
public class HDFSFileServerOption extends AbstractSystemOptionProvider {
@Override
public String id() {
return "hdfs_file_server";
}
@Override
public String displayName() {
return null;
}
@Override
public int sortIndex() {
return 2;
}
public class HDFSFileServerOption extends AbstractWebResourceProvider {
@Override
public Atom attach() {

Loading…
Cancel
Save