基于pigx的分布式架构
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.

103 lines
3.5 KiB

11 months ago
  1. {
  2. "groups": [
  3. {
  4. "name": "file",
  5. "type": "com.pig4cloud.pig.common.file.core.FileProperties",
  6. "sourceType": "com.pig4cloud.pig.common.file.core.FileProperties"
  7. },
  8. {
  9. "name": "local",
  10. "type": "com.pig4cloud.pig.common.file.local.LocalFileProperties",
  11. "sourceType": "com.pig4cloud.pig.common.file.local.LocalFileProperties"
  12. },
  13. {
  14. "name": "oss",
  15. "type": "com.pig4cloud.pig.common.file.oss.OssProperties",
  16. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  17. }
  18. ],
  19. "properties": [
  20. {
  21. "name": "file.bucket-name",
  22. "type": "java.lang.String",
  23. "description": "默认的存储桶名称",
  24. "sourceType": "com.pig4cloud.pig.common.file.core.FileProperties",
  25. "defaultValue": "local"
  26. },
  27. {
  28. "name": "file.local",
  29. "type": "com.pig4cloud.pig.common.file.local.LocalFileProperties",
  30. "description": "本地文件配置信息",
  31. "sourceType": "com.pig4cloud.pig.common.file.core.FileProperties"
  32. },
  33. {
  34. "name": "file.oss",
  35. "type": "com.pig4cloud.pig.common.file.oss.OssProperties",
  36. "description": "oss 文件配置信息",
  37. "sourceType": "com.pig4cloud.pig.common.file.core.FileProperties"
  38. },
  39. {
  40. "name": "local.base-path",
  41. "type": "java.lang.String",
  42. "description": "默认路径",
  43. "sourceType": "com.pig4cloud.pig.common.file.local.LocalFileProperties"
  44. },
  45. {
  46. "name": "local.enable",
  47. "type": "java.lang.Boolean",
  48. "description": "是否开启",
  49. "sourceType": "com.pig4cloud.pig.common.file.local.LocalFileProperties",
  50. "defaultValue": false
  51. },
  52. {
  53. "name": "oss.access-key",
  54. "type": "java.lang.String",
  55. "description": "Access key就像用户ID,可以唯一标识你的账户",
  56. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  57. },
  58. {
  59. "name": "oss.app-id",
  60. "type": "java.lang.String",
  61. "description": "应用ID",
  62. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  63. },
  64. {
  65. "name": "oss.custom-domain",
  66. "type": "java.lang.String",
  67. "description": "自定义域名",
  68. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  69. },
  70. {
  71. "name": "oss.endpoint",
  72. "type": "java.lang.String",
  73. "description": "对象存储服务的URL",
  74. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  75. },
  76. {
  77. "name": "oss.max-connections",
  78. "type": "java.lang.Integer",
  79. "description": "最大线程数,默认: 100",
  80. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties",
  81. "defaultValue": 100
  82. },
  83. {
  84. "name": "oss.path-style-access",
  85. "type": "java.lang.Boolean",
  86. "description": "true path-style nginx 反向代理和S3默认支持 pathStyle {http:\/\/endpoint\/bucketname} false supports virtual-hosted-style 阿里云等需要配置为 virtual-hosted-style 模式{http:\/\/bucketname.endpoint}",
  87. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties",
  88. "defaultValue": true
  89. },
  90. {
  91. "name": "oss.region",
  92. "type": "java.lang.String",
  93. "description": "区域",
  94. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  95. },
  96. {
  97. "name": "oss.secret-key",
  98. "type": "java.lang.String",
  99. "description": "Secret key是你账户的密码",
  100. "sourceType": "com.pig4cloud.pig.common.file.oss.OssProperties"
  101. }
  102. ],
  103. "hints": []
  104. }