application.properties 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. #--UTF-8 file--
  2. #\u5DE5\u4F5C\u7A7A\u95F4\u4E3B\u76EE\u5F55\uFF0C\u53EF\u5728\u7CFB\u7EDF\u73AF\u5883\u53D8\u91CF\u4E2D\u8BBE\u7F6E\u6B64\u9879\u4EE5\u4FEE\u6539\u5DE5\u4F5C\u7A7A\u95F4\u4E3B\u76EE\u5F55
  3. DataGearWorkspace=${user.home}/.datagear
  4. #\u91CD\u8BBE\u5BC6\u7801\u521B\u5EFA\u6821\u9A8C\u6587\u4EF6\u7684\u76EE\u5F55
  5. directory.resetPasswordCheckFile=${user.home}
  6. #\u9A71\u52A8\u7A0B\u5E8F\u7BA1\u7406\u4E3B\u76EE\u5F55
  7. directory.driver=${DataGearWorkspace}/driver
  8. #\u7CFB\u7EDF\u4F7F\u7528\u7684derby\u6570\u636E\u5E93\u4E3B\u76EE\u5F55
  9. directory.derby=${DataGearWorkspace}/derby
  10. #\u4E34\u65F6\u6587\u4EF6\u76EE\u5F55
  11. directory.temp=${DataGearWorkspace}/temp
  12. #\u56FE\u8868\u63D2\u4EF6\u4E3B\u76EE\u5F55
  13. directory.chartPlugin=${DataGearWorkspace}/chartPlugin
  14. #\u770B\u677F\u4E3B\u76EE\u5F55
  15. directory.dashboard=${DataGearWorkspace}/dashboard
  16. #\u770B\u677F\u5168\u5C40\u8D44\u6E90\u4E3B\u76EE\u5F55
  17. directory.dashboardGlobalRes=${DataGearWorkspace}/dashboardGlobalRes
  18. #\u770B\u677F\u6A21\u677F\u5185\u5F15\u7528\u5168\u5C40\u8D44\u6E90\u7684URL\u524D\u7F00\uFF0C\u4E3B\u8981\u7528\u4E8E\u6807\u8BC6\u770B\u7248\u5185\u7684\u5168\u5C40\u8D44\u6E90
  19. #\u5E94\u4E0D\u4EE5'/'\u5F00\u5934\u4E14\u4EE5'/'\u7ED3\u5C3E\uFF0C\u7559\u7A7A\u8868\u793A\u4E0D\u8BBE\u524D\u7F00
  20. dashboardGlobalResUrlPrefix=global/
  21. #\u6570\u636E\u96C6\u6587\u4EF6\u4E3B\u76EE\u5F55
  22. directory.dataSet=${DataGearWorkspace}/dataSet
  23. #\u6570\u636E\u7F16\u8F91\u754C\u9762\u81EA\u5B9A\u4E49URL\u6784\u5EFA\u5668\u811A\u672C\u6587\u4EF6
  24. schemaUrlBuilderScriptFile=${DataGearWorkspace}/db_url_builder.js
  25. #\u5DF2\u8F7D\u5165\u8FC7\u7684\u56FE\u8868\u63D2\u4EF6\u4E0A\u6B21\u4FEE\u6539\u65F6\u95F4\u4FE1\u606F\u5B58\u50A8\u6587\u4EF6
  26. builtinChartPluginLastModifiedFile=${DataGearWorkspace}/builtinChartPluginLastModified
  27. #\u662F\u5426\u7981\u7528\u533F\u540D\u7528\u6237\u529F\u80FD\uFF0C\u7981\u7528\u540E\uFF0C\u533F\u540D\u7528\u6237\u5C06\u4E0D\u80FD\u4F7F\u7528\u7CFB\u7EDF\u529F\u80FD
  28. #\u53EF\u9009\u503C\uFF1Atrue \u8868\u793A\u7981\u7528\uFF1Bfalse \u8868\u793A\u4E0D\u7981\u7528
  29. disableAnonymous=false
  30. #\u662F\u5426\u7981\u7528\u6CE8\u518C\u529F\u80FD
  31. #\u53EF\u9009\u503C\uFF1Atrue \u8868\u793A\u7981\u7528\uFF1Bfalse \u8868\u793A\u4E0D\u7981\u7528
  32. disableRegister=false
  33. #\u662F\u5426\u7981\u7528\u68C0\u6D4B\u65B0\u7248\u672C\u529F\u80FD
  34. #\u53EF\u9009\u503C\uFF1Atrue \u8868\u793A\u7981\u7528\uFF1Bfalse \u8868\u793A\u4E0D\u7981\u7528
  35. disableDetectNewVersion=false
  36. #\u9ED8\u8BA4\u89D2\u8272\uFF0C\u53EF\u9009\u503C\uFF1AROLE_DATA_ADMIN\u3001ROLE_DATA_ANALYST
  37. #ROLE_DATA_ADMIN \u6570\u636E\u7BA1\u7406\u5458\uFF0C\u53EF\u4EE5\u7BA1\u7406\u6570\u636E\u6E90\u3001\u6570\u636E\u96C6\u3001\u56FE\u8868\u3001\u770B\u677F
  38. #ROLE_DATA_ANALYST \u6570\u636E\u5206\u6790\u5458\uFF0C\u4EC5\u53EF\u67E5\u770B\u6570\u636E\u6E90\u3001\u6570\u636E\u96C6\u3001\u56FE\u8868\u3001\u770B\u677F\uFF0C\u5C55\u793A\u56FE\u8868\u548C\u770B\u677F
  39. #\u9ED8\u8BA4\u89D2\u8272\uFF1A\u6CE8\u518C\u7528\u6237
  40. defaultRole.register=ROLE_DATA_ADMIN
  41. #\u9ED8\u8BA4\u89D2\u8272\uFF1A\u7BA1\u7406\u5458\u6DFB\u52A0\u7528\u6237
  42. defaultRole.add=ROLE_DATA_ADMIN
  43. #\u9ED8\u8BA4\u89D2\u8272\uFF1A\u533F\u540D\u7528\u6237
  44. defaultRole.anonymous=ROLE_DATA_ADMIN
  45. #\u6E05\u7406\u4E34\u65F6\u76EE\u5F55
  46. #\u53EF\u5220\u9664\u7684\u8FC7\u671F\u6587\u4EF6\u5206\u949F\u6570
  47. cleanTempDirectory.expiredMinutes=1440
  48. #\u6267\u884C\u6E05\u7406\u65F6\u95F4\u95F4\u9694
  49. cleanTempDirectory.interval=0 0/10 * * * ?
  50. #\u6570\u636E\u5E93
  51. #datasource.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
  52. #datasource.url=jdbc:derby:${directory.derby};create=true
  53. #datasource.username=
  54. #datasource.password=
  55. #mysql\u914D\u7F6E
  56. #datasource.driverClassName=com.mysql.cj.jdbc.Driver
  57. #datasource.url=jdbc:mysql://localhost:3306/newdg?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  58. #datasource.username=root
  59. ##datasource.password=123456
  60. #datasource.password=rootroot
  61. #\u8FBE\u68A6
  62. datasource.driverClassName=dm.jdbc.driver.DmDriver
  63. datasource.url=jdbc:dm://localhost:5236/DATAGEAR?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  64. datasource.username=DATAGEAR
  65. #datasource.password=123456
  66. datasource.password=DATAGEAR123
  67. #datasource.driverClassName=com.mysql.cj.jdbc.Driver
  68. #datasource.url=jdbc:mysql://localhost:3306/newdg?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  69. #datasource.username=root
  70. #datasource.password=123456
  71. #\u6570\u636E\u5E93\u65B9\u8A00\uFF0C\u53EF\u9009\u9879\uFF1Aderby\u3001mysql\u3001oracle\u3001postgresql\u3001default\uFF0C\u7559\u7A7A\u5219\u8868\u793A\u81EA\u52A8\u5224\u65AD
  72. datasourceDialect=mysql
  73. #\u670D\u52A1\u5C42\u7F13\u5B58\u914D\u7F6E\uFF1A
  74. #\u662F\u5426\u7981\u7528\u7F13\u5B58\uFF1Atrue \u7981\u7528\uFF1Bfalse \u542F\u7528
  75. service.cache.disabled=false
  76. #\u7F13\u5B58\u914D\u7F6E\u9879
  77. #maximumSize \u7F13\u5B58\u5BB9\u91CF\uFF0C\u9ED8\u8BA41000
  78. #expireAfterAccess \u8FC7\u671F\u65F6\u95F4\uFF0C\u9ED8\u8BA43\u5929\uFF08\u8DE8\u5468\u672B\uFF09
  79. service.cache.spec=maximumSize=1000,expireAfterAccess=3d
  80. #\u770B\u677F\u5206\u4EAB\u5BC6\u7801\u52A0\u5BC6\u914D\u7F6E\uFF1A
  81. #\u6CE8\u610F\uFF1A\u4FEE\u6539\u8FD9\u4E24\u9879\u914D\u7F6E\u4F1A\u5BFC\u81F4\u7CFB\u7EDF\u5185\u6240\u6709\u8BBE\u7F6E\u5206\u4EAB\u5BC6\u7801\u7684\u770B\u677F\u5728\u8BBF\u95EE\u65F6\u6821\u9A8C\u5BC6\u7801\u5931\u8D25\uFF0C\u9700\u767B\u5F55\u7CFB\u7EDF\u91CD\u65B0\u8BBE\u7F6E\u6240\u6709\u770B\u677F\u5206\u4EAB\u5BC6\u7801\uFF01\uFF01\uFF01
  82. #\u5BC6\u94A5\uFF0C\u9ED8\u8BA4\u4E3A"DataGear"\u7684base64\u7F16\u7801\u503C
  83. dashboardSharePassword.crypto.secretKey=RGF0YUdlYXI=
  84. #\u76D0\u503C\uFF0C\u5E94\u4EC5\u5305\u542B0-9\u3001a-f\u3001A-F\u5B57\u7B26\u3001\u4E14\u957F\u5EA6\u4E3A\u5076\u6570\u7684\u5B57\u7B26\u4E32\uFF0C\u9ED8\u8BA4\u4E3A"DataGear"\u7684hex\u7F16\u7801\u503C
  85. dashboardSharePassword.crypto.salt=4461746147656172
  86. #\u770B\u677F\u8BBF\u95EE\u5BC6\u7801\u5141\u8BB8\u586B\u9519\u6B21\u6570\uFF0C-1\u8868\u793A\u4E0D\u9650\u5236
  87. dashboardSharePassword.authFailThreshold=5
  88. #\u770B\u677F\u8BBF\u95EE\u5BC6\u7801\u5141\u8BB8\u586B\u9519\u6B21\u6570\u7684\u9650\u5B9A\u5206\u949F\u6570
  89. dashboardSharePassword.authFailPastMinutes=60
  90. #Spring Boot\u914D\u7F6E
  91. #-----------------------------------------
  92. #\u5185\u5D4C\u670D\u52A1\u7AEF\u53E3\u53F7
  93. server.port=50401
  94. server.servlet.session.cookie.name=qinnamin
  95. lab2=https://blog.csdn.net/weixin_41129148/article/details/121208602
  96. #lab2=http://49.235.67.21/bdm/#/metaData-term
  97. #-----------------------------------------