xiachuang 2 mēneši atpakaļ
vecāks
revīzija
d43100081d

+ 149 - 0
superdesk-app-services-plugins/superdesk-app-services-plugins-test.properties

@@ -0,0 +1,149 @@
+#use local config
+spring.profiles.active=simple
+
+spring.application.name=superdesk-app-services-plugins
+server.port=8175
+server.servlet.context-path=/
+server.error.whitelabel.enabled=false
+
+#mybatis
+mybatis.type-aliases-package=cn.superdesk.app.plugins.dao.entity
+mybatis.mapper-locations=classpath*:mapper/*Mapper.xml
+mybatis.configuration.map-underscore-to-camel-case=true
+mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
+
+eureka.instance.instanceId=${spring.cloud.client.ip-address}:${spring.application.name}-1.0.0:${server.port}
+eureka.instance.metadataMap.nodeId=${client.nodeId}
+
+# spring-kafka
+spring.kafka.bootstrap-servers=127.0.0.1:9092
+
+# topic
+# 发送微信模板消息topic
+superdesk.kafka.topic.notify.wxTemplateMessage=superdesk-notify-wxTemplateMessage
+
+info.app.name=@project.artifactId@
+info.app.version=@project.version@
+
+#spring
+spring.jackson.time-zone=GMT+8
+spring.http.encoding.charset=UTF-8
+spring.http.encoding.force=true
+spring.http.encoding.enabled=true
+server.tomcat.uri-encoding=UTF-8
+
+# 配置文件说明
+#- mode
+#       standalone 单机模式
+#       sentinel   哨兵模式(主从)
+#       cluster    集群模式
+#       shard      分片模式
+#- servers
+#       redis server列表,多个','隔开
+#       sentinel 模式要配置哨兵地址
+#- group
+#       即多套redis配置的支持。如果你的服务里面用到了多组缓存就必须指定组名,组名不能重复,不指定缺省为[default]。
+#- database
+#       默认为 0
+#- password
+#       redis设置了密码就配置
+superdesk.cache.mode=standalone
+#superdesk.cache.groupName=default
+superdesk.cache.servers=172.18.223.211:6379
+superdesk.cache.password=
+superdesk.cache.database=1
+
+superdesk.cache.maxPoolSize=10000
+superdesk.cache.maxPoolIdle=10
+superdesk.cache.minPoolIdle=1
+superdesk.cache.maxPoolWaitMillis=10000
+
+
+auth.crypt.key=U48Y4F1AwUADW24mLVIZtih3gt9bvW0
+
+swagger.enable=false
+
+#datasource
+db.group.size=1
+db.shard.size=1000
+db.driverClass=com.mysql.jdbc.Driver
+db.initialSize=2
+db.minIdle=1
+db.maxActive=50
+db.maxWait=60000
+db.timeBetweenEvictionRunsMillis=60000
+db.minEvictableIdleTimeMillis=300000
+db.testOnBorrow=true
+db.testOnReturn=false
+
+master.db.url=jdbc:mysql://172.18.223.211:53307/super_service_new_bak?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useSSL=false&useAffectedRows=true
+master.db.username=root
+master.db.password=service_newbak2019
+
+#mybatis
+superdesk.mybatis.crudDriver=mapper3
+#superdesk.mybatis.dbType=Mysql
+superdesk.mybatis.cacheEnabled=true
+#superdesk.mybatis.cacheEnabled=false
+superdesk.mybatis.dynamicExpire=false
+superdesk.mybatis.cacheExpireSeconds=3600
+#superdesk.mybatis.rwRouteEnabled=false
+superdesk.mybatis.paginationEnabled=true
+
+#eureka
+eureka.instance.preferIpAddress=true
+eureka.client.service-url.defaultZone=http://superdesk:superdesk2019@172.18.223.211:19991/eureka/
+eureka.client.registry-fetch-interval-seconds=5
+eureka.instance.lease-expiration-duration-in-seconds=30
+eureka.instance.lease-renewal-interval-in-seconds=10
+
+#hystrix
+hystrix.command.default.execution.timeout.enabled=true
+hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
+
+#ribbon
+ribbon.eureka.enabled=true
+ribbon.ServerListRefreshInterval=2000
+ribbon.ConnectTimeout = 20000
+ribbon.ReadTimeout = 100000
+ribbon.OkToRetryOnAllOperations=false
+ribbon.MaxAutoRetriesNextServer=0
+ribbon.MaxAutoRetries = 0
+
+#spring
+#spring
+spring.servlet.multipart.max-file-size=1Mb
+spring.servlet.multipart.max-request-size=1Mb
+#spring.servlet.multipart.location=C:/Users/Administrator/AppData/Local/superdesk-app-services-common
+
+#loadbalancer
+spring.cloud.loadbalancer.retry.enabled=false
+
+#test attachment address
+attachment.root=/data/merge/storage/attachment
+#test template address
+template.root=/data/merge/storage/template
+#test
+clientNo=dev
+
+### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
+xxl.job.admin.addresses=http://172.18.223.211:8168/superdesk/jobadmin
+
+### xxl-job, access token
+xxl.job.accessToken=6f970743bfccc4633cffa89791f1392d
+
+### xxl-job executor appname
+xxl.job.executor.appname=superdesk-plugins-job-executor
+### xxl-job executor registry-address: default use address to registry , otherwise use ip:port if address is null
+xxl.job.executor.address=
+### xxl-job executor server-info
+xxl.job.executor.ip=
+xxl.job.executor.port=18087
+### xxl-job executor log-path
+xxl.job.executor.logpath=/data/applogs/xxl-job/jobhandler/plugins
+### xxl-job executor log-retention-days
+xxl.job.executor.logretentiondays=30
+xxl.devMode=false
+
+
+tfbd.comp-id=27