spring-configuration-metadata.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. },
  28. {
  29. "name": "oss.custom-domain",
  30. "type": "java.lang.String",
  31. "description": "自定义域名",
  32. "sourceType": "net.yyc.common.oss.OssProperties"
  33. },
  34. {
  35. "name": "oss.endpoint",
  36. "type": "java.lang.String",
  37. "description": "对象存储服务的URL",
  38. "sourceType": "net.yyc.common.oss.OssProperties"
  39. },
  40. {
  41. "name": "oss.path-style-access",
  42. "type": "java.lang.Boolean",
  43. "description": "true path-style nginx 反向代理和S3默认支持 pathStyle {http:\/\/endpoint\/bucketname} false supports virtual-hosted-style 阿里云等需要配置为 virtual-hosted-style 模式{http:\/\/bucketname.endpoint}",
  44. "sourceType": "net.yyc.common.oss.OssProperties"
  45. },
  46. {
  47. "name": "oss.region",
  48. "type": "java.lang.String",
  49. "description": "区域",
  50. "sourceType": "net.yyc.common.oss.OssProperties"
  51. },
  52. {
  53. "name": "oss.secret-key",
  54. "type": "java.lang.String",
  55. "description": "Secret key是你账户的密码",
  56. "sourceType": "net.yyc.common.oss.OssProperties"
  57. }
  58. ],
  59. "hints": []
  60. }