spring-configuration-metadata.json 3.1 KB

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