You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

160 lines
5.3 KiB

2 years ago
  1. {
  2. "groups": [
  3. {
  4. "name": "dynamic",
  5. "type": "com.spring.datasource.properties.DynamicDataSourceProperties",
  6. "sourceType": "com.spring.datasource.properties.DynamicDataSourceProperties"
  7. },
  8. {
  9. "name": "gaotao.jwt",
  10. "type": "com.spring.modules.app.utils.JwtUtils",
  11. "sourceType": "com.spring.modules.app.utils.JwtUtils"
  12. },
  13. {
  14. "name": "spring.datasource.druid",
  15. "type": "com.spring.datasource.properties.DataSourceProperties",
  16. "sourceType": "com.spring.datasource.config.DynamicDataSourceConfig",
  17. "sourceMethod": "dataSourceProperties()"
  18. }
  19. ],
  20. "properties": [
  21. {
  22. "name": "dynamic.datasource",
  23. "type": "java.util.Map<java.lang.String,com.spring.datasource.properties.DataSourceProperties>",
  24. "sourceType": "com.spring.datasource.properties.DynamicDataSourceProperties"
  25. },
  26. {
  27. "name": "gaotao.jwt.expire",
  28. "type": "java.lang.Long",
  29. "sourceType": "com.spring.modules.app.utils.JwtUtils",
  30. "defaultValue": 0
  31. },
  32. {
  33. "name": "gaotao.jwt.header",
  34. "type": "java.lang.String",
  35. "sourceType": "com.spring.modules.app.utils.JwtUtils"
  36. },
  37. {
  38. "name": "gaotao.jwt.secret",
  39. "type": "java.lang.String",
  40. "sourceType": "com.spring.modules.app.utils.JwtUtils"
  41. },
  42. {
  43. "name": "spring.datasource.druid.driver-class-name",
  44. "type": "java.lang.String",
  45. "sourceType": "com.spring.datasource.properties.DataSourceProperties"
  46. },
  47. {
  48. "name": "spring.datasource.druid.filters",
  49. "type": "java.lang.String",
  50. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  51. "defaultValue": "stat,wall"
  52. },
  53. {
  54. "name": "spring.datasource.druid.initial-size",
  55. "type": "java.lang.Integer",
  56. "description": "Druid默认参数",
  57. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  58. "defaultValue": 2
  59. },
  60. {
  61. "name": "spring.datasource.druid.max-active",
  62. "type": "java.lang.Integer",
  63. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  64. "defaultValue": 10
  65. },
  66. {
  67. "name": "spring.datasource.druid.max-evictable-idle-time-millis",
  68. "type": "java.lang.Long",
  69. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  70. "defaultValue": 0
  71. },
  72. {
  73. "name": "spring.datasource.druid.max-open-prepared-statements",
  74. "type": "java.lang.Integer",
  75. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  76. "defaultValue": -1
  77. },
  78. {
  79. "name": "spring.datasource.druid.max-wait",
  80. "type": "java.lang.Long",
  81. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  82. "defaultValue": 0
  83. },
  84. {
  85. "name": "spring.datasource.druid.min-evictable-idle-time-millis",
  86. "type": "java.lang.Long",
  87. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  88. "defaultValue": 0
  89. },
  90. {
  91. "name": "spring.datasource.druid.min-idle",
  92. "type": "java.lang.Integer",
  93. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  94. "defaultValue": -1
  95. },
  96. {
  97. "name": "spring.datasource.druid.password",
  98. "type": "java.lang.String",
  99. "sourceType": "com.spring.datasource.properties.DataSourceProperties"
  100. },
  101. {
  102. "name": "spring.datasource.druid.pool-prepared-statements",
  103. "type": "java.lang.Boolean",
  104. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  105. "defaultValue": false
  106. },
  107. {
  108. "name": "spring.datasource.druid.share-prepared-statements",
  109. "type": "java.lang.Boolean",
  110. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  111. "defaultValue": false
  112. },
  113. {
  114. "name": "spring.datasource.druid.test-on-borrow",
  115. "type": "java.lang.Boolean",
  116. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  117. "defaultValue": false
  118. },
  119. {
  120. "name": "spring.datasource.druid.test-on-return",
  121. "type": "java.lang.Boolean",
  122. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  123. "defaultValue": false
  124. },
  125. {
  126. "name": "spring.datasource.druid.test-while-idle",
  127. "type": "java.lang.Boolean",
  128. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  129. "defaultValue": true
  130. },
  131. {
  132. "name": "spring.datasource.druid.time-between-eviction-runs-millis",
  133. "type": "java.lang.Long",
  134. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  135. "defaultValue": 0
  136. },
  137. {
  138. "name": "spring.datasource.druid.url",
  139. "type": "java.lang.String",
  140. "sourceType": "com.spring.datasource.properties.DataSourceProperties"
  141. },
  142. {
  143. "name": "spring.datasource.druid.username",
  144. "type": "java.lang.String",
  145. "sourceType": "com.spring.datasource.properties.DataSourceProperties"
  146. },
  147. {
  148. "name": "spring.datasource.druid.validation-query",
  149. "type": "java.lang.String",
  150. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  151. "defaultValue": "select 1"
  152. },
  153. {
  154. "name": "spring.datasource.druid.validation-query-timeout",
  155. "type": "java.lang.Integer",
  156. "sourceType": "com.spring.datasource.properties.DataSourceProperties",
  157. "defaultValue": -1
  158. }
  159. ],
  160. "hints": []
  161. }