chore(project): 添加项目配置文件和忽略规则
- 添加 Babel 配置文件支持 ES6+ 语法转换 - 添加 ESLint 忽略规则和配置文件 - 添加 Git 忽略规则文件 - 添加 Travis CI 配置文件 - 添加 1.4.2 版本变更日志文件 - 添加 Helm 图表辅助模板文件 - 添加 Helm 忽略规则文件
This commit is contained in:
132
script/client/spring/application.properties
Normal file
132
script/client/spring/application.properties
Normal file
@@ -0,0 +1,132 @@
|
||||
#
|
||||
# Copyright 1999-2019 Seata.io Group.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
seata.enabled=true
|
||||
seata.excludes-for-auto-proxying=firstClassNameForExclude,secondClassNameForExclude
|
||||
seata.application-id=applicationName
|
||||
seata.tx-service-group=my_test_tx_group
|
||||
seata.enable-auto-data-source-proxy=true
|
||||
seata.data-source-proxy-mode=AT
|
||||
seata.use-jdk-proxy=false
|
||||
seata.client.rm.async-commit-buffer-limit=10000
|
||||
seata.client.rm.report-retry-count=5
|
||||
seata.client.rm.table-meta-check-enable=false
|
||||
seata.client.rm.report-success-enable=false
|
||||
seata.client.rm.saga-branch-register-enable=false
|
||||
seata.client.rm.saga-json-parser=fastjson
|
||||
seata.client.rm.saga-retry-persist-mode-update=false
|
||||
seata.client.rm.saga-compensate-persist-mode-update=false
|
||||
seata.client.rm.lock.retry-interval=10
|
||||
seata.client.rm.lock.retry-times=30
|
||||
seata.client.rm.lock.retry-policy-branch-rollback-on-conflict=true
|
||||
seata.client.tm.commit-retry-count=5
|
||||
seata.client.tm.rollback-retry-count=5
|
||||
seata.client.tm.default-global-transaction-timeout=60000
|
||||
seata.client.tm.degrade-check=false
|
||||
seata.client.tm.degrade-check-allow-times=10
|
||||
seata.client.tm.degrade-check-period=2000
|
||||
seata.client.undo.data-validation=true
|
||||
seata.client.undo.log-serialization=jackson
|
||||
seata.client.undo.only-care-update-columns=true
|
||||
seata.client.undo.log-table=undo_log
|
||||
seata.client.undo.compress.enable=true
|
||||
seata.client.undo.compress.type=zip
|
||||
seata.client.undo.compress.threshold=64k
|
||||
seata.client.load-balance.type=RandomLoadBalance
|
||||
seata.client.load-balance.virtual-nodes=10
|
||||
seata.log.exception-rate=100
|
||||
seata.service.vgroup-mapping.my_test_tx_group=default
|
||||
seata.service.grouplist.default=127.0.0.1:8091
|
||||
seata.service.enable-degrade=false
|
||||
seata.service.disable-global-transaction=false
|
||||
seata.transport.shutdown.wait=3
|
||||
seata.transport.thread-factory.boss-thread-prefix=NettyBoss
|
||||
seata.transport.thread-factory.worker-thread-prefix=NettyServerNIOWorker
|
||||
seata.transport.thread-factory.server-executor-thread-prefix=NettyServerBizHandler
|
||||
seata.transport.thread-factory.share-boss-worker=false
|
||||
seata.transport.thread-factory.client-selector-thread-prefix=NettyClientSelector
|
||||
seata.transport.thread-factory.client-selector-thread-size=1
|
||||
seata.transport.thread-factory.client-worker-thread-prefix=NettyClientWorkerThread
|
||||
seata.transport.thread-factory.worker-thread-size=default
|
||||
seata.transport.thread-factory.boss-thread-size=1
|
||||
seata.transport.type=TCP
|
||||
seata.transport.server=NIO
|
||||
seata.transport.heartbeat=true
|
||||
seata.transport.serialization=seata
|
||||
seata.transport.compressor=none
|
||||
seata.transport.enable-client-batch-send-request=true
|
||||
|
||||
seata.config.type=file
|
||||
|
||||
seata.config.consul.server-addr=127.0.0.1:8500
|
||||
seata.config.consul.acl-token=
|
||||
|
||||
seata.config.apollo.apollo-meta=http://192.168.1.204:8801
|
||||
seata.config.apollo.apollo-accesskey-secret=
|
||||
seata.config.apollo.app-id=seata-server
|
||||
seata.config.apollo.namespace=application
|
||||
|
||||
seata.config.etcd3.server-addr=http://localhost:2379
|
||||
|
||||
seata.config.nacos.namespace=
|
||||
seata.config.nacos.server-addr=127.0.0.1:8848
|
||||
seata.config.nacos.group=SEATA_GROUP
|
||||
seata.config.nacos.username=
|
||||
seata.config.nacos.password=
|
||||
|
||||
seata.config.zk.server-addr=127.0.0.1:2181
|
||||
seata.config.zk.session-timeout=6000
|
||||
seata.config.zk.connect-timeout=2000
|
||||
seata.config.zk.username=
|
||||
seata.config.zk.password=
|
||||
|
||||
seata.config.custom.name=
|
||||
|
||||
seata.registry.type=file
|
||||
|
||||
seata.registry.consul.server-addr=127.0.0.1:8500
|
||||
|
||||
seata.registry.etcd3.server-addr=http://localhost:2379
|
||||
|
||||
seata.registry.eureka.weight=1
|
||||
seata.registry.eureka.service-url=http://localhost:8761/eureka
|
||||
|
||||
seata.registry.nacos.application=seata-server
|
||||
seata.registry.nacos.server-addr=127.0.0.1:8848
|
||||
seata.registry.nacos.group=SEATA_GROUP
|
||||
seata.registry.nacos.namespace=
|
||||
seata.registry.nacos.username=
|
||||
seata.registry.nacos.password=
|
||||
|
||||
seata.registry.redis.server-addr=localhost:6379
|
||||
seata.registry.redis.db=0
|
||||
seata.registry.redis.password=
|
||||
seata.registry.redis.timeout=0
|
||||
|
||||
seata.registry.sofa.server-addr=127.0.0.1:9603
|
||||
seata.registry.sofa.region=DEFAULT_ZONE
|
||||
seata.registry.sofa.datacenter=DefaultDataCenter
|
||||
seata.registry.sofa.group=SEATA_GROUP
|
||||
seata.registry.sofa.address-wait-time=3000
|
||||
seata.registry.sofa.application=default
|
||||
|
||||
seata.registry.zk.server-addr=127.0.0.1:2181
|
||||
seata.registry.zk.session-timeout=6000
|
||||
seata.registry.zk.connect-timeout=2000
|
||||
seata.registry.zk.username=
|
||||
seata.registry.zk.password=
|
||||
|
||||
seata.registry.custom.name=
|
||||
133
script/client/spring/application.yml
Normal file
133
script/client/spring/application.yml
Normal file
@@ -0,0 +1,133 @@
|
||||
seata:
|
||||
enabled: true
|
||||
application-id: applicationName
|
||||
tx-service-group: my_test_tx_group
|
||||
enable-auto-data-source-proxy: true
|
||||
data-source-proxy-mode: AT
|
||||
use-jdk-proxy: false
|
||||
excludes-for-auto-proxying: firstClassNameForExclude,secondClassNameForExclude
|
||||
client:
|
||||
rm:
|
||||
async-commit-buffer-limit: 10000
|
||||
report-retry-count: 5
|
||||
table-meta-check-enable: false
|
||||
report-success-enable: false
|
||||
saga-branch-register-enable: false
|
||||
saga-json-parser: fastjson
|
||||
saga-retry-persist-mode-update: false
|
||||
saga-compensate-persist-mode-update: false
|
||||
lock:
|
||||
retry-interval: 10
|
||||
retry-times: 30
|
||||
retry-policy-branch-rollback-on-conflict: true
|
||||
tm:
|
||||
commit-retry-count: 5
|
||||
rollback-retry-count: 5
|
||||
default-global-transaction-timeout: 60000
|
||||
degrade-check: false
|
||||
degrade-check-period: 2000
|
||||
degrade-check-allow-times: 10
|
||||
undo:
|
||||
data-validation: true
|
||||
log-serialization: jackson
|
||||
log-table: undo_log
|
||||
only-care-update-columns: true
|
||||
compress:
|
||||
enable: true
|
||||
type: zip
|
||||
threshold: 64k
|
||||
load-balance:
|
||||
type: RandomLoadBalance
|
||||
virtual-nodes: 10
|
||||
service:
|
||||
vgroup-mapping:
|
||||
my_test_tx_group: default
|
||||
grouplist:
|
||||
default: 127.0.0.1:8091
|
||||
enable-degrade: false
|
||||
disable-global-transaction: false
|
||||
transport:
|
||||
shutdown:
|
||||
wait: 3
|
||||
thread-factory:
|
||||
boss-thread-prefix: NettyBoss
|
||||
worker-thread-prefix: NettyServerNIOWorker
|
||||
server-executor-thread-prefix: NettyServerBizHandler
|
||||
share-boss-worker: false
|
||||
client-selector-thread-prefix: NettyClientSelector
|
||||
client-selector-thread-size: 1
|
||||
client-worker-thread-prefix: NettyClientWorkerThread
|
||||
worker-thread-size: default
|
||||
boss-thread-size: 1
|
||||
type: TCP
|
||||
server: NIO
|
||||
heartbeat: true
|
||||
serialization: seata
|
||||
compressor: none
|
||||
enable-client-batch-send-request: true
|
||||
config:
|
||||
type: file
|
||||
consul:
|
||||
server-addr: 127.0.0.1:8500
|
||||
apollo:
|
||||
apollo-meta: http://192.168.1.204:8801
|
||||
app-id: seata-server
|
||||
namespace: application
|
||||
apollo-accesskey-secret: ""
|
||||
etcd3:
|
||||
server-addr: http://localhost:2379
|
||||
nacos:
|
||||
namespace: ""
|
||||
server-addr: 127.0.0.1:8848
|
||||
group: SEATA_GROUP
|
||||
username: ""
|
||||
password: ""
|
||||
zk:
|
||||
server-addr: 127.0.0.1:2181
|
||||
session-timeout: 6000
|
||||
connect-timeout: 2000
|
||||
username: ""
|
||||
password: ""
|
||||
custom:
|
||||
name: ""
|
||||
registry:
|
||||
type: file
|
||||
file:
|
||||
name: file.conf
|
||||
consul:
|
||||
server-addr: 127.0.0.1:8500
|
||||
acl-token: ""
|
||||
etcd3:
|
||||
server-addr: http://localhost:2379
|
||||
eureka:
|
||||
weight: 1
|
||||
service-url: http://localhost:8761/eureka
|
||||
nacos:
|
||||
application: seata-server
|
||||
server-addr: 127.0.0.1:8848
|
||||
group : "SEATA_GROUP"
|
||||
namespace: ""
|
||||
username: ""
|
||||
password: ""
|
||||
redis:
|
||||
server-addr: localhost:6379
|
||||
db: 0
|
||||
password: ""
|
||||
timeout: 0
|
||||
sofa:
|
||||
server-addr: 127.0.0.1:9603
|
||||
region: DEFAULT_ZONE
|
||||
datacenter: DefaultDataCenter
|
||||
group: SEATA_GROUP
|
||||
address-wait-time: 3000
|
||||
application: default
|
||||
zk:
|
||||
server-addr: 127.0.0.1:2181
|
||||
session-timeout: 6000
|
||||
connect-timeout: 2000
|
||||
username: ""
|
||||
password: ""
|
||||
custom:
|
||||
name: ""
|
||||
log:
|
||||
exception-rate: 100
|
||||
Reference in New Issue
Block a user