测试数据库更新
This commit is contained in:
parent
b0a009c0f5
commit
f1ac4f67b5
@ -5,7 +5,7 @@
|
|||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
//"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB386;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
|
//"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB386;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
|
||||||
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
||||||
},
|
},
|
||||||
"Hangfire": {
|
"Hangfire": {
|
||||||
"Redis": {
|
"Redis": {
|
||||||
|
|||||||
@ -1,37 +1,41 @@
|
|||||||
{
|
{
|
||||||
"App": {
|
|
||||||
"SelfUrl": "http://localhost:44315",
|
|
||||||
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.10.104:4200"
|
|
||||||
},
|
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"Default": "Host=47.110.53.196;Port=35432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
||||||
},
|
},
|
||||||
"Hangfire": {
|
"IoTDBOptions": {
|
||||||
"Redis": {
|
"UserName": "root",
|
||||||
"Host": "47.110.53.196:30712,password=1q3J@BGf!yhTaD46nS#",
|
"Password": "Lixiao@1980",
|
||||||
"DB": "2"
|
//"TreeModelClusterList": [ "192.168.111.174:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
||||||
}
|
//"TableModelClusterList": [ "192.168.111.174:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
||||||
|
"TreeModelClusterList": [ "192.168.111.174:30710" ],
|
||||||
|
"TableModelClusterList": [ "192.168.111.174:30710" ],
|
||||||
|
"PoolSize": 32,
|
||||||
|
"DataBaseName": "jisheiotdata",
|
||||||
|
"OpenDebugMode": false,
|
||||||
|
"UseTableSessionPoolByDefault": false
|
||||||
},
|
},
|
||||||
"Redis": {
|
"FreeRedisOptions": {
|
||||||
"Configuration": "47.110.53.196:30712,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5"
|
"ConnectionString": "192.168.111.42:30712,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14",
|
||||||
|
"UseDistributedCache": true
|
||||||
},
|
},
|
||||||
"Kafka": {
|
"ServerApplicationOptions": {
|
||||||
"BootstrapServers": "47.110.62.104:9094,47.110.53.196:9094,47.110.60.222:9094",
|
"ServerTagName": "JiSheCollectBus10",
|
||||||
"EnableFilter": true,
|
"FirstCollectionTime": "2025-04-28 15:07:00",
|
||||||
"EnableAuthorization": false,
|
"AutomaticVerificationTime": "16:07:00",
|
||||||
"SaslUserName": "lixiao",
|
"AutomaticTerminalVersionTime": "17:07:00",
|
||||||
"SaslPassword": "lixiao@1980",
|
"AutomaticTelematicsModuleTime": "17:30:00",
|
||||||
"KafkaReplicationFactor": 3,
|
"AutomaticDayFreezeTime": "02:30:00",
|
||||||
"NumPartitions": 30,
|
"AutomaticMonthFreezeTime": "03:30:00",
|
||||||
"TaskThreadCount": -1
|
"DefaultProtocolPlugin": "T37612012ProtocolPlugin",
|
||||||
|
"VerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
||||||
|
"DistributedMessage": 2
|
||||||
},
|
},
|
||||||
"Pulsar": {
|
"Pulsar": {
|
||||||
"ServiceUrl": "pulsar://47.110.53.196:9093", //pulsar+ssl://iot-north-mq.heclouds.com:6651 ,pulsar://47.110.53.196:26974
|
"ServiceUrl": "pulsar://47.110.60.222:9093",
|
||||||
"WebUrl": "http://47.110.53.196:9094",
|
"WebUrl": "http://47.110.60.222:9094",
|
||||||
"UserName": "admin",
|
"UserName": "admin",
|
||||||
"TenantName": "1YMVZZkAkRArjxSD8457",
|
"TenantName": "1YMVZZkAkRArjxSD8457",
|
||||||
"Namespace": "OneNET",
|
"Namespace": "OneNET",
|
||||||
"MessageTTL": 3600,
|
|
||||||
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
|
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
|
||||||
"PulsarSubscriptionCustomName": "sub",
|
"PulsarSubscriptionCustomName": "sub",
|
||||||
"EnableTls": false,
|
"EnableTls": false,
|
||||||
@ -44,78 +48,10 @@
|
|||||||
"DefaultPartitions": 16,
|
"DefaultPartitions": 16,
|
||||||
"DefaultBundles": 16,
|
"DefaultBundles": 16,
|
||||||
"EnableAutoCreation": true, //开启自动创建Topic
|
"EnableAutoCreation": true, //开启自动创建Topic
|
||||||
"TopicMode": "Static", //Dynamic、Static 主题模式
|
"TopicMode": "Static", //Dynamic 主题模式
|
||||||
"EnableTopicTypeFilter": true, //允许Topic类型过滤
|
"EnableTopicTypeFilter": true, //允许Topic类型过滤
|
||||||
"AllowedTopicTypes": [ "Static" ], //允许的Topic类型
|
"AllowedTopicTypes": [ "Static" ], //允许的Topic类型
|
||||||
"AllowedClusters": [ "pulsar-cluster-1" ], //允许的集群
|
"AllowedClusters": [ "pulsar-cluster-1" ], //允许的集群
|
||||||
"AdminRoles": [ "admin" ],
|
"AdminRoles": [ "admin" ]
|
||||||
"EnableConsumerIdleCleanup": true,
|
|
||||||
"ConsumerIdleCleanupMinutes": 120,
|
|
||||||
"EnableProducerIdleCleanup": true,
|
|
||||||
"ProducerIdleCleanupMinutes": 60
|
|
||||||
},
|
|
||||||
"IoTDBOptions": {
|
|
||||||
"UserName": "root",
|
|
||||||
"Password": "Li#xiao@198!0",
|
|
||||||
//"TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
|
||||||
//"TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
|
|
||||||
"TreeModelClusterList": [ "47.110.53.196:30710" ],
|
|
||||||
"TableModelClusterList": [ "47.110.53.196:30710" ],
|
|
||||||
"PoolSize": 32,
|
|
||||||
"DataBaseName": "jisheiotdata",
|
|
||||||
"OpenDebugMode": true,
|
|
||||||
"UseTableSessionPoolByDefault": false,
|
|
||||||
"BatchInsertSize": 1000
|
|
||||||
},
|
|
||||||
"ServerApplicationOptions": {
|
|
||||||
"ServerTagName": "JiSheCollectBus12",
|
|
||||||
"FirstCollectionTime": "2025-04-28 15:07:00",
|
|
||||||
"AutomaticVerificationTime": "16:07:00",
|
|
||||||
"AutomaticTerminalVersionTime": "17:07:00",
|
|
||||||
"AutomaticTelematicsModuleTime": "17:30:00",
|
|
||||||
"AutomaticDayFreezeTime": "02:30:00",
|
|
||||||
"AutomaticMonthFreezeTime": "03:30:00",
|
|
||||||
"DefaultProtocolPlugin": "T37612012ProtocolPlugin",
|
|
||||||
"SignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
|
||||||
"AesSecurityKey": "RPTEIGCA1KvDEXS1",
|
|
||||||
"IsAesEncrypted": false,
|
|
||||||
"DistributedMessage": 2,
|
|
||||||
"SnowflakeWorkerId": 1,
|
|
||||||
"DownloadDeviceFirmwareBasicUrl": "http://121.42.175.177:32580/Aggregation/Device/DownloadFirmware?Id=",
|
|
||||||
"MQTTServerType": 1
|
|
||||||
},
|
|
||||||
"Jwt": {
|
|
||||||
"Audience": "JiShe.IoT",
|
|
||||||
"SecurityKey": "dzehzRz9a8asdfaf43ghVD@d#fasdfaf567sdadfasdf=",
|
|
||||||
"Issuer": "JiShe.IoT",
|
|
||||||
"ExpirationTime": 2
|
|
||||||
},
|
|
||||||
"Cap": {
|
|
||||||
"RabbitMq": {
|
|
||||||
"HostName": "localhost",
|
|
||||||
"UserName": "admin",
|
|
||||||
"Password": "1q2w3E*",
|
|
||||||
"Port": 5672
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"FreeRedisOptions": {
|
|
||||||
"ConnectionString": "47.110.53.196:30712,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14",
|
|
||||||
"UseDistributedCache": true
|
|
||||||
},
|
|
||||||
"FreeSqlProviderOptions": {
|
|
||||||
"UsePrepayDB": false,
|
|
||||||
"UseEnergyDB": false,
|
|
||||||
"PrintLog": false,
|
|
||||||
"DataType": 1
|
|
||||||
},
|
|
||||||
"OneNETSecureReceiveOptions": {
|
|
||||||
"OneNETVerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
|
||||||
"OneNETAesKey": "RPTEIGCA1KvDEXS1"
|
|
||||||
},
|
|
||||||
"DataChannelOptions": {
|
|
||||||
"DefaultBatchSize": 10000,
|
|
||||||
"TelemetryBatchSize": 10000,
|
|
||||||
"EmptyWaitmilliseconds": 500,
|
|
||||||
"TimeoutMilliseconds": 500
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user