spring-configuration-metadata.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "groups": [
  3. {
  4. "name": "oss",
  5. "type": "net.yyc.common.oss.OssProperties",
  6. "sourceType": "net.yyc.common.oss.OssProperties"
  7. }
  8. ],
  9. "properties": [
  10. {
  11. "name": "oss.access-key",
  12. "type": "java.lang.String",
  13. "description": "Access key就像用户ID,可以唯一标识你的账户",
  14. "sourceType": "net.yyc.common.oss.OssProperties"
  15. },
  16. {
  17. "name": "oss.app-id",
  18. "type": "java.lang.String",
  19. "description": "应用ID",
  20. "sourceType": "net.yyc.common.oss.OssProperties"
  21. },
  22. {
  23. "name": "oss.bucket-name",
  24. "type": "java.lang.String",
  25. "description": "默认的存储桶名称",
  26. "sourceType": "net.yyc.common.oss.OssProperties",
  27. "defaultValue": "payerp"
  28. },
  29. {
  30. "name": "oss.custom-domain",
  31. "type": "java.lang.String",
  32. "description": "自定义域名",
  33. "sourceType": "net.yyc.common.oss.OssProperties"
  34. },
  35. {
  36. "name": "oss.endpoint",
  37. "type": "java.lang.String",
  38. "description": "对象存储服务的URL",
  39. "sourceType": "net.yyc.common.oss.OssProperties"
  40. },
  41. {
  42. "name": "oss.path-style-access",
  43. "type": "java.lang.Boolean",
  44. "description": "true path-style nginx 反向代理和S3默认支持 pathStyle {http:\/\/endpoint\/bucketname} false supports virtual-hosted-style 阿里云等需要配置为 virtual-hosted-style 模式{http:\/\/bucketname.endpoint}",
  45. "sourceType": "net.yyc.common.oss.OssProperties",
  46. "defaultValue": true
  47. },
  48. {
  49. "name": "oss.region",
  50. "type": "java.lang.String",
  51. "description": "区域",
  52. "sourceType": "net.yyc.common.oss.OssProperties"
  53. },
  54. {
  55. "name": "oss.secret-key",
  56. "type": "java.lang.String",
  57. "description": "Secret key是你账户的密码",
  58. "sourceType": "net.yyc.common.oss.OssProperties"
  59. }
  60. ],
  61. "hints": []
  62. }