spring-configuration-metadata.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "groups": [
  3. {
  4. "name": "jt.tenant",
  5. "type": "com.jt.cloud.framework.tenant.config.TenantProperties",
  6. "sourceType": "com.jt.cloud.framework.tenant.config.TenantProperties"
  7. }
  8. ],
  9. "properties": [
  10. {
  11. "name": "jt.tenant.enable",
  12. "type": "java.lang.Boolean",
  13. "description": "是否开启",
  14. "sourceType": "com.jt.cloud.framework.tenant.config.TenantProperties",
  15. "defaultValue": true
  16. },
  17. {
  18. "name": "jt.tenant.ignore-caches",
  19. "type": "java.util.Set<java.lang.String>",
  20. "description": "需要忽略多租户的 Spring Cache 缓存 即默认所有缓存都开启多租户的功能,所以记得添加对应的 tenant_id 字段哟",
  21. "sourceType": "com.jt.cloud.framework.tenant.config.TenantProperties"
  22. },
  23. {
  24. "name": "jt.tenant.ignore-tables",
  25. "type": "java.util.Set<java.lang.String>",
  26. "description": "需要忽略多租户的表 即默认所有表都开启多租户的功能,所以记得添加对应的 tenant_id 字段哟",
  27. "sourceType": "com.jt.cloud.framework.tenant.config.TenantProperties"
  28. },
  29. {
  30. "name": "jt.tenant.ignore-urls",
  31. "type": "java.util.Set<java.lang.String>",
  32. "description": "需要忽略多租户的请求 默认情况下,每个请求需要带上 tenant-id 的请求头。但是,部分请求是无需带上的,例如说短信回调、支付回调等 Open API!",
  33. "sourceType": "com.jt.cloud.framework.tenant.config.TenantProperties"
  34. },
  35. {
  36. "name": "jt.tenant.ignore-visit-urls",
  37. "type": "java.util.Set<java.lang.String>",
  38. "description": "需要忽略跨(切换)租户访问的请求 原因是:某些接口,访问的是个人信息,在跨租户是获取不到的!",
  39. "sourceType": "com.jt.cloud.framework.tenant.config.TenantProperties"
  40. }
  41. ],
  42. "hints": []
  43. }