spring-configuration-metadata.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "groups": [
  3. {
  4. "name": "hnqz.xsequence.db",
  5. "type": "net.yyc.common.sequence.properties.SequenceDbProperties",
  6. "sourceType": "net.yyc.common.sequence.properties.SequenceDbProperties"
  7. },
  8. {
  9. "name": "hnqz.xsequence.redis",
  10. "type": "net.yyc.common.sequence.properties.SequenceRedisProperties",
  11. "sourceType": "net.yyc.common.sequence.properties.SequenceRedisProperties"
  12. },
  13. {
  14. "name": "hnqz.xsequence.snowflake",
  15. "type": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties",
  16. "sourceType": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties"
  17. }
  18. ],
  19. "properties": [
  20. {
  21. "name": "hnqz.xsequence.db.biz-name",
  22. "type": "java.lang.String",
  23. "description": "业务名称",
  24. "sourceType": "net.yyc.common.sequence.properties.SequenceDbProperties",
  25. "defaultValue": "hnqz"
  26. },
  27. {
  28. "name": "hnqz.xsequence.db.retry-times",
  29. "type": "java.lang.Integer",
  30. "description": "重试次数",
  31. "sourceType": "net.yyc.common.sequence.properties.SequenceDbProperties",
  32. "defaultValue": 1
  33. },
  34. {
  35. "name": "hnqz.xsequence.db.step",
  36. "type": "java.lang.Integer",
  37. "description": "获取range步长[可选,默认:1000]",
  38. "sourceType": "net.yyc.common.sequence.properties.SequenceDbProperties",
  39. "defaultValue": 1000
  40. },
  41. {
  42. "name": "hnqz.xsequence.db.step-start",
  43. "type": "java.lang.Long",
  44. "description": "序列号分配起始值[可选:默认:0]",
  45. "sourceType": "net.yyc.common.sequence.properties.SequenceDbProperties",
  46. "defaultValue": 0
  47. },
  48. {
  49. "name": "hnqz.xsequence.db.table-name",
  50. "type": "java.lang.String",
  51. "description": "表名称",
  52. "sourceType": "net.yyc.common.sequence.properties.SequenceDbProperties",
  53. "defaultValue": "hnqz_sequence"
  54. },
  55. {
  56. "name": "hnqz.xsequence.redis.biz-name",
  57. "type": "java.lang.String",
  58. "description": "业务名称",
  59. "sourceType": "net.yyc.common.sequence.properties.SequenceRedisProperties",
  60. "defaultValue": "hnqz"
  61. },
  62. {
  63. "name": "hnqz.xsequence.redis.step",
  64. "type": "java.lang.Integer",
  65. "description": "获取range步长[可选,默认:1000]",
  66. "sourceType": "net.yyc.common.sequence.properties.SequenceRedisProperties",
  67. "defaultValue": 1000
  68. },
  69. {
  70. "name": "hnqz.xsequence.redis.step-start",
  71. "type": "java.lang.Long",
  72. "description": "序列号分配起始值[可选:默认:0]",
  73. "sourceType": "net.yyc.common.sequence.properties.SequenceRedisProperties",
  74. "defaultValue": 0
  75. },
  76. {
  77. "name": "hnqz.xsequence.snowflake.biz-name",
  78. "type": "java.lang.String",
  79. "description": "业务名称",
  80. "sourceType": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties",
  81. "defaultValue": "hnqz"
  82. },
  83. {
  84. "name": "hnqz.xsequence.snowflake.datacenter-id",
  85. "type": "java.lang.Long",
  86. "description": "数据中心ID,值的范围在[0,31]之间,一般可以设置机房的IDC[必选]",
  87. "sourceType": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties",
  88. "defaultValue": 0
  89. },
  90. {
  91. "name": "hnqz.xsequence.snowflake.step",
  92. "type": "java.lang.Integer",
  93. "description": "获取range步长[可选,默认:1000]",
  94. "sourceType": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties",
  95. "defaultValue": 1000
  96. },
  97. {
  98. "name": "hnqz.xsequence.snowflake.step-start",
  99. "type": "java.lang.Long",
  100. "description": "序列号分配起始值[可选:默认:0]",
  101. "sourceType": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties",
  102. "defaultValue": 0
  103. },
  104. {
  105. "name": "hnqz.xsequence.snowflake.worker-id",
  106. "type": "java.lang.Long",
  107. "description": "工作机器ID,值的范围在[0,31]之间,一般可以设置机器编号[必选]",
  108. "sourceType": "net.yyc.common.sequence.properties.SequenceSnowflakeProperties",
  109. "defaultValue": 0
  110. }
  111. ],
  112. "hints": []
  113. }