spring-configuration-metadata.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "groups": [
  3. {
  4. "name": "aqpt.sequence",
  5. "type": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties",
  6. "sourceType": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties"
  7. },
  8. {
  9. "name": "config.jwt",
  10. "type": "com.zhyc.xps.common.config.JwtConfig",
  11. "sourceType": "com.zhyc.xps.common.config.JwtConfig"
  12. }
  13. ],
  14. "properties": [
  15. {
  16. "name": "aqpt.sequence.clock",
  17. "type": "java.lang.Boolean",
  18. "description": "是否解决高并发下获取时间戳的性能问题",
  19. "sourceType": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties",
  20. "defaultValue": false
  21. },
  22. {
  23. "name": "aqpt.sequence.data-center-id",
  24. "type": "java.lang.Integer",
  25. "description": "数据中心编号,取值范围为0 ~ 3",
  26. "sourceType": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties",
  27. "defaultValue": 1
  28. },
  29. {
  30. "name": "aqpt.sequence.random-sequence",
  31. "type": "java.lang.Boolean",
  32. "description": "毫秒内的随机序列",
  33. "sourceType": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties",
  34. "defaultValue": false
  35. },
  36. {
  37. "name": "aqpt.sequence.time-offset-milliseconds",
  38. "type": "java.lang.Long",
  39. "description": "允许时间回拨的毫秒量",
  40. "sourceType": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties",
  41. "defaultValue": 5
  42. },
  43. {
  44. "name": "aqpt.sequence.worker-id",
  45. "type": "java.lang.Integer",
  46. "description": "工作机器编号,取值范围为0 ~ 255",
  47. "sourceType": "com.zhyc.xps.common.utils.IdGenerator.sequence.AqptSequenceProperties",
  48. "defaultValue": 1
  49. },
  50. {
  51. "name": "config.jwt.expire",
  52. "type": "java.lang.Long",
  53. "sourceType": "com.zhyc.xps.common.config.JwtConfig",
  54. "defaultValue": 0
  55. },
  56. {
  57. "name": "config.jwt.header",
  58. "type": "java.lang.String",
  59. "sourceType": "com.zhyc.xps.common.config.JwtConfig"
  60. },
  61. {
  62. "name": "config.jwt.secret",
  63. "type": "java.lang.String",
  64. "sourceType": "com.zhyc.xps.common.config.JwtConfig"
  65. },
  66. {
  67. "name": "config.jwt.token-head",
  68. "type": "java.lang.String",
  69. "sourceType": "com.zhyc.xps.common.config.JwtConfig"
  70. }
  71. ],
  72. "hints": []
  73. }