chore(project): 添加项目配置文件和忽略规则

- 添加 Babel 配置文件支持 ES6+ 语法转换
- 添加 ESLint 忽略规则和配置文件
- 添加 Git 忽略规则文件
- 添加 Travis CI 配置文件
- 添加 1.4.2 版本变更日志文件
- 添加 Helm 图表辅助模板文件
- 添加 Helm 忽略规则文件
This commit is contained in:
2026-03-27 17:36:48 +08:00
commit c2453d6434
1703 changed files with 277582 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
## transaction log store, only used in seata-server
store {
## store mode: file、db、redis
mode = "file"
## file store property
file {
## store location dir
dir = "sessionStore"
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
maxBranchSessionSize = 16384
# globe session size , if exceeded throws exceptions
maxGlobalSessionSize = 512
# file buffer size , if exceeded allocate new buffer
fileWriteBufferCacheSize = 16384
# when recover batch read size
sessionReloadReadSize = 100
# async, sync
flushDiskMode = async
}
## database store property
db {
## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp)/HikariDataSource(hikari) etc.
datasource = "druid"
## mysql/oracle/postgresql/h2/oceanbase etc.
dbType = "mysql"
driverClassName = "com.mysql.jdbc.Driver"
## if using mysql to store the data, recommend add rewriteBatchedStatements=true in jdbc connection param
url = "jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true"
user = "mysql"
password = "mysql"
minConn = 5
maxConn = 100
globalTable = "global_table"
branchTable = "branch_table"
lockTable = "lock_table"
queryLimit = 100
maxWait = 5000
}
## redis store property
redis {
## redis mode: single、sentinel
mode = "single"
## single mode property
single {
host = "127.0.0.1"
port = "6379"
}
## sentinel mode property
sentinel {
masterName = ""
## such as "10.28.235.65:26379,10.28.235.65:26380,10.28.235.65:26381"
sentinelHosts = ""
}
password = ""
database = "0"
minConn = 1
maxConn = 10
maxTotal = 100
queryLimit = 100
}
}

View File

@@ -0,0 +1,33 @@
store.mode=file
store.file.dir=sessionStore
store.file.maxBranchSessionSize=16384
store.file.maxGlobalSessionSize=512
store.file.fileWriteBufferCacheSize=16384
store.file.sessionReloadReadSize=100
store.file.flushDiskMode=async
store.db.datasource=druid
store.db.dbType=mysql
store.db.driverClassName=com.mysql.jdbc.Driver
# if using mysql to store the data, recommend add rewriteBatchedStatements=true in jdbc connection param
store.db.url=jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
store.db.user=mysql
store.db.password=mysql
store.db.minConn=5
store.db.maxConn=100
store.db.globalTable=global_table
store.db.branchTable=branch_table
store.db.lockTable=lock_table
store.db.queryLimit=100
store.db.maxWait=5000
seata.store.redis.mode=single
seata.store.redis.single.host=127.0.0.1
seata.store.redis.single.port=6379
seata.store.redis.sentinel.masterName=
seata.store.redis.sentinel.sentinelHosts=
seata.store.redis.password=
seata.store.redis.database=0
seata.store.redis.minConn=1
seata.store.redis.maxConn=10
seata.store.redis.maxTotal=100
seata.store.redis.queryLimit=100

View File

@@ -0,0 +1,54 @@
## transaction log store, only used in seata-server
store:
## store mode: file、db、redis
mode: file
## file store property
file:
## store location dir
dir: sessionStore
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
maxBranchSessionSize: 16384
# globe session size , if exceeded throws exceptions
maxGlobalSessionSize: 512
# file buffer size , if exceeded allocate new buffer
fileWriteBufferCacheSize: 16384
# when recover batch read size
sessionReloadReadSize: 100
# async, sync
flushDiskMode: async
## database store property
db:
## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp)/HikariDataSource(hikari) etc.
datasource: druid
## mysql/oracle/postgresql/h2/oceanbase etc.
dbType: mysql
driverClassName: com.mysql.jdbc.Driver
## if using mysql to store the data, recommend add rewriteBatchedStatements=true in jdbc connection param
url: jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
user: mysql
password: mysql
minConn: 5
maxConn: 100
globalTable: global_table
branchTable: branch_table
lockTable: lock_table
queryLimit: 100
maxWait: 5000
## redis store property
redis:
mode: "single"
single:
host: "127.0.0.1"
port: "6379"
sentinel:
masterName: ""
sentinelHosts: ""
password: ""
database: "0"
minConn: 1
maxConn: 10
maxTotal: 100
queryLimit: 100

View File

@@ -0,0 +1,91 @@
registry {
# file,nacos,eureka,redis,zk,consul,etcd3,sofa
type = "file"
nacos {
application = "seata-server"
serverAddr = "127.0.0.1:8848"
group = "SEATA_GROUP"
namespace = ""
cluster = "default"
username = ""
password = ""
}
eureka {
serviceUrl = "http://localhost:8761/eureka"
application = "default"
weight = "1"
}
redis {
serverAddr = "localhost:6379"
db = 0
password = ""
cluster = "default"
timeout = 0
}
zk {
cluster = "default"
serverAddr = "127.0.0.1:2181"
sessionTimeout = 6000
connectTimeout = 2000
username = ""
password = ""
}
consul {
cluster = "default"
serverAddr = "127.0.0.1:8500"
}
etcd3 {
cluster = "default"
serverAddr = "http://localhost:2379"
}
sofa {
serverAddr = "127.0.0.1:9603"
application = "default"
region = "DEFAULT_ZONE"
datacenter = "DefaultDataCenter"
cluster = "default"
group = "SEATA_GROUP"
addressWaitTime = "3000"
}
file {
name = "file.conf"
}
}
config {
# file、nacos 、apollo、zk、consul、etcd3
type = "file"
nacos {
serverAddr = "127.0.0.1:8848"
namespace = ""
group = "SEATA_GROUP"
username = ""
password = ""
dataId = "seataServer.properties"
}
consul {
serverAddr = "127.0.0.1:8500"
}
apollo {
appId = "seata-server"
apolloMeta = "http://192.168.1.204:8801"
namespace = "application"
apolloAccesskeySecret = ""
}
zk {
serverAddr = "127.0.0.1:2181"
sessionTimeout = 6000
connectTimeout = 2000
username = ""
password = ""
nodePath = "/seata/seata.properties"
}
etcd3 {
serverAddr = "http://localhost:2379"
}
file {
name = "file.conf"
}
}

View File

@@ -0,0 +1,54 @@
registry.type=file
registry.nacos.application=seata-server
registry.nacos.serverAddr=127.0.0.1:8848
registry.nacos.group=SEATA_GROUP
registry.nacos.namespace=
registry.nacos.cluster=default
registry.nacos.username=
registry.nacos.password=
registry.eureka.serviceUrl=http://localhost:8761/eureka
registry.eureka.application=default
registry.eureka.weight=1
registry.redis.serverAddr=localhost:6379
registry.redis.db=0
registry.redis.password=
registry.redis.cluster=default
registry.redis.timeout=0
registry.zk.cluster=default
registry.zk.serverAddr=127.0.0.1:2181
registry.zk.sessionTimeout=6000
registry.zk.connectTimeout=2000
registry.zk.username=
registry.zk.password=
registry.consul.cluster=default
registry.consul.serverAddr=127.0.0.1:8500
registry.etcd3.cluster=default
registry.etcd3.serverAddr=http://localhost:2379
registry.sofa.serverAddr=127.0.0.1:9603
registry.sofa.application=default
registry.sofa.region=DEFAULT_ZONE
registry.sofa.datacenter=DefaultDataCenter
registry.sofa.cluster=default
registry.sofa.group=SEATA_GROUP
registry.sofa.addressWaitTime=3000
registry.file.name=file.properties
config.type=file
config.nacos.serverAddr=127.0.0.1:8848
config.nacos.namespace=
config.nacos.group=SEATA_GROUP
config.nacos.username=
config.nacos.password=
config.nacos.dataId=seataServer.properties
config.consul.serverAddr=127.0.0.1:8500
config.apollo.appId=seata-server
config.apollo.apolloMeta=http://192.168.1.204:8801
config.apollo.namespace=application
config.apollo.apolloAccesskeySecret=
config.zk.serverAddr=127.0.0.1:2181
config.zk.sessionTimeout=6000
config.zk.connectTimeout=2000
config.zk.username=
config.zk.password=
config.zk.nodePath=/seata/seata.properties
config.etcd3.serverAddr=http://localhost:2379
config.file.name=file.properties

View File

@@ -0,0 +1,91 @@
registry:
# file,nacos,eureka,redis,zk,consul,etcd3,sofa
type: file
nacos:
application: seata-server
serverAddr: 127.0.0.1:8848
group: SEATA_GROUP
namespace:
cluster: default
username:
password:
eureka:
serviceUrl: http://localhost:8761/eureka
application: default
weight: 1
redis:
serverAddr: localhost:6379
db: 0
password:
cluster: default
timeout: 0
zk:
cluster: default
serverAddr: 127.0.0.1:2181
sessionTimeout: 6000
connectTimeout: 2000
username:
password:
consul:
cluster: default
serverAddr: 127.0.0.1:8500
etcd3:
cluster: default
serverAddr: http://localhost:2379
sofa:
serverAddr: 127.0.0.1:9603
application: default
region: DEFAULT_ZONE
datacenter: DefaultDataCenter
cluster: default
group: SEATA_GROUP
addressWaitTime: 3000
file:
name: file.yml
config:
# file、nacos 、apollo、zk、consul、etcd3
type: file
nacos:
serverAddr: 127.0.0.1:8848
namespace:
group: SEATA_GROUP
username:
password:
dataId: seataServer.properties
consul:
serverAddr: 127.0.0.1:8500
apollo:
appId: seata-server
apolloMeta: http://192.168.1.204:8801
namespace: application
apolloAccesskeySecret:
zk:
serverAddr: 127.0.0.1:2181
sessionTimeout: 6000
connectTimeout: 2000
username:
password:
nodePath: /seata/seata.properties
etcd3:
serverAddr: http://localhost:2379
file:
name: file.yml