application72.yml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. ###############################################################################################################
  2. server:
  3. port: 8080
  4. tomcat:
  5. basedir: /mnt/harddisk/saga/tomcatTemp
  6. spring:
  7. application:
  8. name: revit-algorithm
  9. mvc:
  10. favicon:
  11. enabled: true
  12. jmx:
  13. default-domain: revit-algorithm
  14. datasource:
  15. name: revit-algorithm
  16. type: com.alibaba.druid.pool.DruidDataSource
  17. driver-class-name: org.postgresql.Driver
  18. url: jdbc:postgresql://192.168.0.72:5432/datacenter
  19. # url: jdbc:postgresql://192.168.20.250:5432/postgres
  20. # url: jdbc:postgresql://47.94.89.44:5432/datacenter
  21. username: postgres
  22. password: cGVyc2FneV8yMDIwcXdlIUAj
  23. jackson:
  24. date-format: yyyy-MM-dd HH:mm:ss
  25. time-zone: Asia/Shanghai
  26. default-property-inclusion: non_null
  27. # 首字母大写
  28. property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy
  29. # 以下划线分隔全小写的单词
  30. #property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy
  31. mapper:
  32. # 属性按字母顺序输出
  33. sort_properties_alphabetically: true
  34. jms:
  35. pub-sub-domain: true
  36. template:
  37. delivery-mode: non_persistent
  38. receive-timeout: 1000
  39. time-to-live: 36000
  40. qos-enabled: true
  41. default-destination: model.manage
  42. servlet:
  43. multipart:
  44. max-request-size: 90MB # 限制上传的多个文件的总大小
  45. max-file-size: 90MB # 限制单个文件的最大值
  46. activemq:
  47. broker-url: failover:(tcp://192.168.0.72:61616)
  48. in-memory: true
  49. pool:
  50. enabled: false
  51. user: admin
  52. password: admin
  53. non-blocking-redelivery: true
  54. mybatis:
  55. typeAliasesPackage: cn.sagacloud.server.algorithm.models
  56. #logging:
  57. # pattern:
  58. # console: "%red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{10}) - %cyan(%msg%n)"
  59. # level:
  60. # - ".=info"
  61. # - "cn.sagacloud=debug"
  62. # - "org.springframework=info"
  63. # - "com.sybotan=debug"
  64. # - "org.apache.activemq=debug"
  65. properties:
  66. #文件服务器配置
  67. fileService:
  68. # 基本属性
  69. #url: http://api.sagacloud.cn/dp-auxiliary/image-service/ # http://47.93.33.207:28888/image-service/ #http://adm.sagacloud.cn/image-service/
  70. url: http://47.93.33.207:8888/image-service/
  71. systemId: revit
  72. secret: 63afbef6906c342b
  73. dir: model
  74. baseGraph: base
  75. report: report
  76. export: export
  77. # 配置文件引用的属性
  78. suffixWithSecret: ?systemId=${properties.fileService.systemId}&secret=${properties.fileService.secret}
  79. suffix: ?systemId=${properties.fileService.systemId}
  80. # 程序中会用到的
  81. uploadPath: ${properties.fileService.url}common/file_upload${properties.fileService.suffixWithSecret}&overwrite=true&key=${properties.fileService.dir}/
  82. baseGraphPath: ${properties.fileService.url}common/file_upload${properties.fileService.suffixWithSecret}&overwrite=true&key=${properties.fileService.baseGraph}/
  83. reportPath: ${properties.fileService.url}common/file_upload${properties.fileService.suffixWithSecret}&overwrite=true&key=${properties.fileService.report}/
  84. exportPath: ${properties.fileService.url}common/file_upload${properties.fileService.suffixWithSecret}&overwrite=true&key=${properties.fileService.export}/
  85. downloadPath: ${properties.fileService.url}common/file_get${properties.fileService.suffix}&key=${properties.fileService.dir}/
  86. reportDownloadPath: ${properties.fileService.url}common/file_get${properties.fileService.suffix}&key=${properties.fileService.report}/
  87. exportDownloadPath: ${properties.fileService.url}common/file_get${properties.fileService.suffix}&key=${properties.fileService.export}/
  88. renamePath: ${properties.fileService.url}common/file_key_change${properties.fileService.suffixWithSecret}
  89. deletePath: ${properties.fileService.url}common/files_delete${properties.fileService.suffixWithSecret}
  90. registerMultipartUpload: ${properties.fileService.url}common/register_multipart_upload${properties.fileService.suffixWithSecret}&overwrite=true&key=${properties.fileService.dir}/
  91. mergeMultipartUpload: ${properties.fileService.url}common/merge_multipart${properties.fileService.suffixWithSecret}&uploadId=
  92. scheduler:
  93. url: http://192.168.0.72:8080/scheduler/
  94. createTask: ${properties.scheduler.url}task/create
  95. queryTask: ${properties.scheduler.url}task/query
  96. queryTaskResult: ${properties.scheduler.url}result/query
  97. createDownload: ${properties.scheduler.url}download/create
  98. datacenter:
  99. url: http://192.168.0.72:8080/datacenter/
  100. # 设备相关接口
  101. equipCreate: ${properties.datacenter.url}object/equip/create
  102. equipDelete: ${properties.datacenter.url}object/equip/delete
  103. equipQuery: ${properties.datacenter.url}object/equip/query
  104. equipUpdate: ${properties.datacenter.url}object/equip/update
  105. # 元空间相关接口
  106. ispaceCreate: ${properties.datacenter.url}object/ispace/create
  107. ispaceDelete: ${properties.datacenter.url}object/ispace/delete
  108. ispaceQuery: ${properties.datacenter.url}object/ispace/query
  109. ispaceUpdate: ${properties.datacenter.url}object/ispace/update
  110. # 部件相关接口
  111. componentCreate: ${properties.datacenter.url}object/component/create
  112. componentDelete: ${properties.datacenter.url}object/component/delete
  113. componentQuery: ${properties.datacenter.url}object/component/query
  114. componentUpdate: ${properties.datacenter.url}object/component/update
  115. # 楼层相关接口
  116. floorCreate: ${properties.datacenter.url}object/floor/create
  117. floorQuery: ${properties.datacenter.url}object/floor/query
  118. floorUpdate: ${properties.datacenter.url}object/floor/update
  119. # 绑定楼层接口
  120. floorBind: ${properties.datacenter.url}rel/update/equip-ispace
  121. # 资产接口
  122. propertyQuery: ${properties.datacenter.url}object/property/query
  123. propertyUpdate: ${properties.datacenter.url}object/property/update
  124. # 同步构件接口
  125. windowCreate: ${properties.datacenter.url}window/create_ignore
  126. vwallCreate: ${properties.datacenter.url}vwall/create_ignore
  127. doorCreate: ${properties.datacenter.url}door/create_ignore
  128. message:
  129. url: http://192.168.0.72:8080/message-center/
  130. # 发送消息接口
  131. createPath: ${properties.message.url}message/create