Browse Source

每日統計學校IOT機制架構優化

jeff 1 year ago
parent
commit
24d6b28e07
1 changed files with 38 additions and 28 deletions
  1. 38 28
      TEAMModelOS.FunctionV4/local.settings.json

+ 38 - 28
TEAMModelOS.FunctionV4/local.settings.json

@@ -1,31 +1,41 @@
 {
   "IsEncrypted": false,
-	"Values": {
-		"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=t6XZuachzUBJDSN8RLtoeVqSE6HcXrFZFBmlF1n3G5jA2/Ltvx8jAL4z7C9MdfzLFRHI88/hTBbrK68K0lQeDw==;EndpointSuffix=core.windows.net",
-		"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
-		"Azure:Storage:ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=t6XZuachzUBJDSN8RLtoeVqSE6HcXrFZFBmlF1n3G5jA2/Ltvx8jAL4z7C9MdfzLFRHI88/hTBbrK68K0lQeDw==;EndpointSuffix=core.windows.net",
-		"Azure:ServiceBus:ConnectionString": "Endpoint=sb://teammodel-test.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=iEA1MP9rYUfhYgMOp40g3SRHVyLrSoQTO7fa7aMWBEg=",
-		"Azure:Cosmos:ConnectionString": "AccountEndpoint=https://teammodel-test.documents.azure.com:443/;AccountKey=W38PnllgIJ3I879l8l4mGgFD1YZpPpYrbTtbBfgZvBavdNzveixvjjXXxFzx4RRDfpTmJuCtst5dXh7cETiSRQ==;",
-		"Azure:Redis:ConnectionString": "teammodel-test.redis.cache.windows.net:6380,password=qRDLVsl6NRkv3tbtlNpXr0568fAMXJH2GAzCaAYYExE=,ssl=True,abortConnect=False",
-		"Azure:ServiceBus:ActiveTask": "dep-active-task",
-		"Azure:ServiceBus:ItemCondQueue": "dep-itemcond",
-		"Azure:ServiceBus:NoticeTask": "dep-notice-task",
-		"Azure:ServiceBus:GenPdfQueue": "dep-genpdf",
-		"Option:Location": "Global-Test",
-		"HaBookAuth:CoreService:sendnotification": "https://api2.teammodel.net/service/sendnotification",
-		"HaBookAuth:CoreAPI": "https://api2.teammodel.net",
-		"HaBookAuth:CoreService:clientID": "531fecd1-b1a5-469a-93ca-7984e1d392f2",
-		"HaBookAuth:CoreService:clientSecret": "iI2cmTIX?fnXrwnffo84/:_X954=sw:.",
-		"CoreServiceV1:Cosmos:ConnectionString": "AccountEndpoint=https://coredocumentdbjp.documents.azure.com:443/;AccountKey=aY6AjEYuPwRJEQRDX6bFN3Z87I7LwZ72dN1qON7j5E3VPpUEc2z0YDVzdCTUDvHzIEuoQosGu8e0AYCHUfcSnw==;", //CSV1國際正式站(唯讀)
-		"CoreServiceV2:CosmosCnRead:ConnectionString": "AccountEndpoint=https://corecosmosdb.documents.azure.cn:443/;AccountKey=12C5n8IvXFqsPARUb2YBOUWiU9PksohESlLHgH6cAVajxWBBJIJ6chJusgfrYhxCKgQgSHHxVgHsFPRakhvlPw==", //CSV2大陸正式站(唯讀)
-
-		"ScanModel": "TEAMModelOS",
-		"Database": "TEAMModelOS",
-		"Azure:CoreService:clientID": "c7317f88-7cea-4e48-ac57-a16071f7b884",
-		"Azure:CoreService:clientSecret": "kguxh:V.PLmxBdaI@jnrTrDSth]A3346",
-		"Azure:CoreService:delnotification": "https://api2.teammodel.net/service/delnotification",
-		"Azure:CoreService:deviceinfo": "https://api2.teammodel.net/oauth2/getdeviceinfos",
-		"Azure:CoreService:getnotification": "https://api2.teammodel.net/service/getnotification",
-		"Azure:CoreService:sendnotification": "https://api2.teammodel.net/service/sendnotification"
-	}  
+  "Values": {
+    "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn",
+    "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
+    "Azure:Storage:ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodeltest;AccountKey=O2W2vadCqexDxWO+px+QK7y1sHwsYj8f/WwKLdOdG5RwHgW/Dupz9dDUb4c1gi6ojzQaRpFUeAAmOu4N9E+37A==;EndpointSuffix=core.chinacloudapi.cn",
+    "Azure:LogStorage:ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn",
+    "Azure:ServiceBus:ConnectionString": "Endpoint=sb://teammodelos.servicebus.chinacloudapi.cn/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=Sy4h4EQ8zP+7w/lOLi1X3tGord/7ShFHimHs1vC50Dc=",
+    "Azure:Cosmos:ConnectionString": "AccountEndpoint=https://cdhabookdep-free.documents.azure.cn:443/;AccountKey=JTUVk92Gjsx17L0xqxn0X4wX2thDPMKiw4daeTyV1HzPb6JmBeHdtFY1MF1jdctW1ofgzqkDMFOtcqS46by31A==;",
+    "Azure:Redis:ConnectionString": "52.130.252.100:6379,password=habook,ssl=false,abortConnect=False,writeBuffer=10240",
+    "Azure:ServiceBus:ActiveTask": "dep-active-task",
+    "Azure:ServiceBus:ItemCondQueue": "dep-itemcond",
+    "Azure:ServiceBus:GenPdfQueue": "dep-genpdf",
+    "Option:Location": "China-Dep",
+    "HaBookAuth:CoreService:sendnotification": "https://api2.teammodel.cn/service/sendnotification",
+    "HaBookAuth:CoreAPI": "https://api2.teammodel.cn",
+    "HaBookAuth:CoreService:clientID": "c7317f88-7cea-4e48-ac57-a16071f7b884",
+    "HaBookAuth:CoreService:clientSecret": "kguxh:V.PLmxBdaI@jnrTrDSth]A3346",
+    "CoreServiceV1:Cosmos:ConnectionString": "AccountEndpoint=https://corecosmosdbcn.documents.azure.cn:443/;AccountKey=WIFUWgnC6HiPb4yYba5iLR4ZghcA2fqrEvnX00YTA5B4sd7o89sxtbvgFDDUqT2VRkeWrWVTWZ8VbApQtwkJKQ==;", //CSV1大陸正式站(唯讀)
+    "CoreServiceV2:CosmosCnRead:ConnectionString": "AccountEndpoint=https://corecosmosdb.documents.azure.cn:443/;AccountKey=12C5n8IvXFqsPARUb2YBOUWiU9PksohESlLHgH6cAVajxWBBJIJ6chJusgfrYhxCKgQgSHHxVgHsFPRakhvlPw==", //CSV2大陸正式站(唯讀)
+    "Option:LocationNum": 1
+  }
+  //"Values": {
+  //  "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn",
+  //  "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
+  //  "Azure:Storage:ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodelos;AccountKey=Dl04mfZ9hE9cdPVO1UtqTUQYN/kz/dD/p1nGvSq4tUu/4WhiKcNRVdY9tbe8620nPXo/RaXxs+1F9sVrWRo0bg==;EndpointSuffix=core.chinacloudapi.cn",
+  //  "Azure:LogStorage:ConnectionString": "DefaultEndpointsProtocol=https;AccountName=teammodellog;AccountKey=lxVDrgs+6rKtmASL3k1WrarrEd5Rk42wS1Mu5+sqQlPya1JLSlFDtnZUvMPeHHe7zlESfn/1NY7CZdGviy2UCw==;EndpointSuffix=core.chinacloudapi.cn",
+  //  "Azure:ServiceBus:ConnectionString": "Endpoint=sb://coreiotservicebuscnpro.servicebus.chinacloudapi.cn/;SharedAccessKeyName=TEAMModelOS;SharedAccessKey=llRPBMDJG9w1Nnifj+pGhV0g4H2REcq0PjvX2qqpcOg=",
+  //  "Azure:Cosmos:ConnectionString": "AccountEndpoint=https://cdhabookdep-free.documents.azure.cn:443/;AccountKey=JTUVk92Gjsx17L0xqxn0X4wX2thDPMKiw4daeTyV1HzPb6JmBeHdtFY1MF1jdctW1ofgzqkDMFOtcqS46by31A==;",
+  //  "Azure:Redis:ConnectionString": "52.130.252.100:6379,password=habook,ssl=false,abortConnect=False,writeBuffer=10240",
+  //  "Azure:ServiceBus:ActiveTask": "active-task",
+  //  "Azure:ServiceBus:ItemCondQueue": "itemcond",
+  //  "Azure:ServiceBus:GenPdfQueue": "genpdf",
+  //  "Option:Location": "China",
+  //  "HaBookAuth:CoreService:sendnotification": "https://api2.teammodel.cn/service/sendnotification",
+  //  "HaBookAuth:CoreAPI": "https://api2.teammodel.cn",
+  //  "HaBookAuth:CoreService:clientID": "c7317f88-7cea-4e48-ac57-a16071f7b884",
+  //  "HaBookAuth:CoreService:clientSecret": "kguxh:V.PLmxBdaI@jnrTrDSth]A3346",
+  //  "Option:LocationNum": 1
+  //}
 }