All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.spring-configuration-metadata.json Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
{
  "groups": [
    {
      "name": "plugin",
      "type": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration"
    }
  ],
  "properties": [
    {
      "name": "plugin.runMode",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "运行模式. 开发环境: development、dev; 生产/部署 环境: deployment、prod",
      "defaultValue": "dev"
    },
    {
      "name": "plugin.enable",
      "type": "java.lang.Boolean",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "是否启用插件功能",
      "defaultValue": true
    },
    {
      "name": "plugin.pluginPath",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "插件的路径. 开发环境下配置为插件模块上级目录; 生产环境下配置到插件jar包存放目录。建议配置绝对路径",
      "defaultValue": "/plugins"
    },
    {
      "name": "plugin.pluginConfigFilePath",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "插件对应的配置文件存放目录, 只作用于生产环境下",
      "defaultValue": "/plugin-config"
    },
    {
      "name": "plugin.pluginRestPathPrefix",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "统一配置访问插件rest接口前缀",
      "defaultValue": "/plugins"
    },
    {
      "name": "plugin.pluginRestPathPrefix",
      "type": "java.lang.Boolean",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "是否启用插件id作为rest接口前缀",
      "defaultValue": true
    },
    {
      "name": "plugin.enableSwaggerRefresh",
      "type": "java.lang.Boolean",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "是否启用Swagger刷新机制",
      "defaultValue": true
    },
    {
      "name": "plugin.backupPath",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "卸载插件后, 备份插件的目录"
    },
    {
      "name": "plugin.uploadTempPath",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "上传的插件所存储的临时目录"
    },
    {
      "name": "plugin.version",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "当前主程序的版本号, 用于校验插件是否可安装。插件中可通过插件配置信息 requires 来指定可安装的主程序版本。如果为: 0.0.0 的话, 表示不校验",
      "defaultValue": "0.0.0"
    },
    {
      "name": "plugin.exactVersionAllowed",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "是否完全匹配版本。设置为true表示插件设置的requires的版本号完全匹配version版本号才可允许插件安装, 即: requires=x.y.z; 设置为false表示插件设置的requires的版本号小于等于version值, 插件就可安装, 即requires<=x.y.z",
      "defaultValue": false
    },
    {
      "name": "plugin.stopDependents",
      "type": "java.lang.String",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "停止插件时, 是否停止当前插件依赖的插件",
      "defaultValue": false
    },
    {
      "name": "plugin.enablePluginIds",
      "type": "java.util.Set",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "启用的插件id"
    },
    {
      "name": "plugin.disablePluginIds",
      "type": "java.util.Set",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "禁用的插件id, 禁用后系统不会启动该插件, 如果禁用所有插件, 则Set集合中设置一个字符: *"
    },
    {
      "name": "plugin.sortInitPluginIds",
      "type": "java.util.Set",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "设置初始化时插件启动的顺序"
    },
    {
      "name": "plugin.enableWebSocket",
      "type": "java.lang.Boolean",
      "sourceType": "com.gitee.starblues.integration.AutoIntegrationConfiguration",
      "description": "是否启用webSocket的功能. 默认禁用",
      "defaultValue": false
    }
  ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy