spring-configuration-metadata.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "groups": [
  3. {
  4. "name": "spring.datasource",
  5. "type": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties",
  6. "sourceType": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties"
  7. }
  8. ],
  9. "properties": [
  10. {
  11. "name": "spring.datasource.driver-class-name",
  12. "type": "java.lang.String",
  13. "description": "驱动类型",
  14. "sourceType": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties"
  15. },
  16. {
  17. "name": "spring.datasource.password",
  18. "type": "java.lang.String",
  19. "description": "密码",
  20. "sourceType": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties"
  21. },
  22. {
  23. "name": "spring.datasource.query-ds-sql",
  24. "type": "java.lang.String",
  25. "description": "查询数据源的SQL",
  26. "sourceType": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties",
  27. "defaultValue": "select * from gen_datasource_conf where del_flag = 0"
  28. },
  29. {
  30. "name": "spring.datasource.url",
  31. "type": "java.lang.String",
  32. "description": "jdbcurl",
  33. "sourceType": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties"
  34. },
  35. {
  36. "name": "spring.datasource.username",
  37. "type": "java.lang.String",
  38. "description": "用户名",
  39. "sourceType": "com.pig4cloud.pig.common.datasource.config.DataSourceProperties"
  40. }
  41. ],
  42. "hints": [],
  43. "ignored": {
  44. "properties": []
  45. }
  46. }