초기커밋
This commit is contained in:
162
BrokerApiTest/Config/ServerConfig-Dev.json
Normal file
162
BrokerApiTest/Config/ServerConfig-Dev.json
Normal file
@@ -0,0 +1,162 @@
|
||||
{
|
||||
"LogDir": "./Logs",
|
||||
"DumpDir": "./",
|
||||
"LocalServer": true,
|
||||
"SingleThreaded": false,
|
||||
"ServiceType": "Dev",
|
||||
"StandaloneMode": true,
|
||||
"OfflineMode": false,
|
||||
"DefaultMaxUser": 500,
|
||||
"ClientListen": {
|
||||
"Ip": "",
|
||||
"Port": 0
|
||||
},
|
||||
|
||||
"SessionKeepAliveTimeSec": 3600,
|
||||
"MinWorkerThreadCount": 100,
|
||||
"MinIoThreadCount": 0,
|
||||
|
||||
"AccountLoginBlockEnable": false,
|
||||
|
||||
"SsoAccountDb": "Server=localhost;Port=13306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
|
||||
"SsoAccountAuthJwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
|
||||
"AccountNftDb": "Server=localhost;Port=13306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
|
||||
|
||||
"Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false",
|
||||
|
||||
"Dynamodb": "http://localhost:8000",
|
||||
|
||||
"MongoDb": {
|
||||
"ConnectionString": "mongodb://devmetaversemongoconnect:dev#$943cali@localhost:27017",
|
||||
"DatabaseName": "Metaverse",
|
||||
"MinConnectionPoolSize": 0,
|
||||
"MaxConnectionPoolSize": 100,
|
||||
"WaitQueueTimeoutSecs": 120
|
||||
},
|
||||
|
||||
"AWS": {
|
||||
"Enable": true,
|
||||
"LocalDynamoDB": false,
|
||||
"AccessKey": "AKIA4G3CB4Z5T6JUPHJN",
|
||||
"SecretKey": "G82Bq5tCUTvSPe9InGayH8kONbtEnLxMrgzrAbCn",
|
||||
"Region": "us-west-2",
|
||||
"MilestoneName": "MS5",
|
||||
|
||||
|
||||
"CloudWatchLog": {
|
||||
"Enable": false,
|
||||
"LogGroup": "MetaverseLog-Dev",
|
||||
"LogNamePattern": "Developer",
|
||||
"LogLevel": "Debug",
|
||||
"Layout": {
|
||||
"logTime": "${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fffZ}",
|
||||
"server": "${event-properties:server}",
|
||||
"ip/port": "${event-properties:ip/port}",
|
||||
"threadId": "${threadid}",
|
||||
"level": "${level:upperCase=true}",
|
||||
"message": "${message}",
|
||||
"function": "${event-properties:memberName}",
|
||||
"filePath": "${event-properties:filePath}",
|
||||
"lineNumber": "${event-properties:lineNumber}"
|
||||
}
|
||||
},
|
||||
|
||||
"S3": {
|
||||
"ServiceFolderName": "Dev",
|
||||
"MyhomeUgcInfoBucketName": "metaverse-myhomeugc-test",
|
||||
"BeaconAppProfileBucketName": "metaverse-beacon-appprofile"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"ClientProgramVersionCheck": false,
|
||||
"ClientMinimumRequiredLogicVersion": 0,
|
||||
"ProgramVersionPath": ".\\Version\\",
|
||||
"ProgramVersion": {
|
||||
"MetaSchemaVersion": "MetaSchemaVersion.json",
|
||||
"MetaDataVersion": "MetaDataVersion.json",
|
||||
"PacketVersion": "PacketVersion.json",
|
||||
"ResourceVersion": "ServerResourceVersion.json",
|
||||
"ConfigVersion": "ServerConfigVersion.json",
|
||||
"LogicVersion": "ServerBinaryVersion.json",
|
||||
"DbSchemaVersion": "DbSchemaVersion.json"
|
||||
},
|
||||
"CheatCommandAlwaysAllow": true,
|
||||
|
||||
|
||||
"AuthRule": {
|
||||
"ClientStandaloneAllow": true,
|
||||
"ClientBySsoAccountAuthWithLauncherAllow": false,
|
||||
"PlatformTypeAllows": ""
|
||||
},
|
||||
|
||||
"LoadBalancingRule": {
|
||||
"AuthToGameRule": {
|
||||
"Rule": "WeightedRoundRobin",
|
||||
"MinRate": 0,
|
||||
"MaxRate": 100,
|
||||
"UserLanguageBased": true
|
||||
}
|
||||
},
|
||||
|
||||
"ServerApiUrlCatalog": [
|
||||
{ "BillingApiServerUrl": { "Ko": "https://caliverse.io/shop" } },
|
||||
{ "ChatAiApiServerUrl": { "Ko": "https://ai-dev-api.caliverse.io" } },
|
||||
{ "S3ResourceImageUrl": { "Ko": "https://d3s9natejb9ydz.cloudfront.net/Dev" } }
|
||||
],
|
||||
|
||||
"NftRule": {
|
||||
"NftDBAccess": false,
|
||||
"CPNftForOwnerAllGetUrl": "https://dev-api.caliverse.io/v1/nft/game"
|
||||
},
|
||||
|
||||
"EchoSystem": {
|
||||
"BaseAddress": "https://eco-system-dev-rollup-admin-api.caliverse.io",
|
||||
"SlackAddress": "https://hooks.slack.com/services/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"
|
||||
},
|
||||
|
||||
"AIChat": {
|
||||
"BaseAddress": "https://ai-dev-api.caliverse.io",
|
||||
"PrivateKey": "PPt+3OLhgLnXCGXrezRL4ZmtA3FmCZtjOgDPvx1MMAY/0VcXFDQQfBRnfR4c2FmzGILuPjue/xtNyLUFOe3EYg=="
|
||||
},
|
||||
|
||||
"Billing": {
|
||||
"BaseAddress": "https://dev-api.caliverse.io"
|
||||
},
|
||||
|
||||
"Ugq": {
|
||||
"ApiServerAddress": "https://dev-ugqapi.caliverse.io:11000",
|
||||
//"ApiServerAddress": "http://localhost:1000",
|
||||
"UrlInGamePrefix": "/api/v1/InGame"
|
||||
},
|
||||
|
||||
"Rabbitmq": {
|
||||
"HostName": "localhost",
|
||||
"Port": 5672,
|
||||
"UserName": "admin",
|
||||
"Password": "admin",
|
||||
"SSL": false
|
||||
},
|
||||
|
||||
"GameConfig": {
|
||||
"ReservationWaitTimeMSec": 1200000,
|
||||
"LoginCacheExpiryTimeMSec": 3600000,
|
||||
"ServerSwitchCacheExpiryTimeMSec": 3600000
|
||||
},
|
||||
|
||||
"ControlAgentEnable": false,
|
||||
|
||||
"PerformanceCheckEnable": false,
|
||||
|
||||
"BattleSystemEnable": true,
|
||||
|
||||
"MetaverseBroker": {
|
||||
"JwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
"ExpireMinutes": 1440,
|
||||
"SsoAccountDb": "Server=dev-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
|
||||
"MetaverseBrokerDb": "Server=metaverse-broker-dev.cdn6gxjy33pu.us-west-2.rds.amazonaws.com;Port=3306;User ID=broker_user;Password=Apxkqjtmqmfhzj;Database=metaverse-broker",
|
||||
"MetaverseBrokerDbLocal": "Server=localhost;Port=3307;User ID=broker_user;Password=qmfhzjdbwj;Database=metaverse-broker"
|
||||
}
|
||||
}
|
||||
|
||||
150
BrokerApiTest/Config/ServerConfig-QA.json
Normal file
150
BrokerApiTest/Config/ServerConfig-QA.json
Normal file
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"LogDir": "./Logs",
|
||||
"DumpDir": "./",
|
||||
"LocalServer": false,
|
||||
"SingleThreaded": false,
|
||||
"ServiceType": "Qa",
|
||||
"OfflineMode": false,
|
||||
"DefaultMaxUser": 600,
|
||||
"ClientListen": {
|
||||
"Ip": "",
|
||||
"Port": 0
|
||||
},
|
||||
|
||||
|
||||
"SessionKeepAliveTimeSec": 3600,
|
||||
"MinWorkerThreadCount": 200,
|
||||
"MinIoThreadCount": 0,
|
||||
|
||||
"AccountLoginBlockEnable": false,
|
||||
|
||||
"SsoAccountDb": "Server=qa-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=external_ro;Password=k0RantM9gOAg5ATecBTFXzbCYDnvXi;Database=caliverse",
|
||||
"SsoAccountAuthJwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
|
||||
"AccountNftDb": "Server=qa-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=external_ro;Password=k0RantM9gOAg5ATecBTFXzbCYDnvXi;Database=caliverse",
|
||||
|
||||
"Redis": "clustercfg.metaverse-qa-cluster.ocif0u.usw2.cache.amazonaws.com:6379,password=wiUaVvNwX4PhBj&8,ssl=true,abortConnect=false",
|
||||
"Dynamodb": "",
|
||||
|
||||
"MongoDb": {
|
||||
"ConnectionString": "mongodb://qrwugqmongoconnect:qrw#$943cali@ip-172-40-141-201.us-west-2.compute.internal:27017/Metaverse",
|
||||
"DatabaseName": "Metaverse",
|
||||
"MinConnectionPoolSize": 0,
|
||||
"MaxConnectionPoolSize": 100,
|
||||
"WaitQueueTimeoutSecs": 120
|
||||
},
|
||||
|
||||
"AWS": {
|
||||
"Enable": true,
|
||||
"LocalDynamoDB": false,
|
||||
"AccessKey": "AKIA4G3CB4Z5T6JUPHJN",
|
||||
"SecretKey": "G82Bq5tCUTvSPe9InGayH8kONbtEnLxMrgzrAbCn",
|
||||
"Region": "us-west-2",
|
||||
"MilestoneName": "MS5",
|
||||
|
||||
"CloudWatchLog": {
|
||||
"Enable": true,
|
||||
"LogGroup": "MetaverseLog-QA",
|
||||
"LogNamePattern": "Developer",
|
||||
"LogLevel": "Debug",
|
||||
"Layout": {
|
||||
"logTime": "${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fffZ}",
|
||||
"server": "${event-properties:server}",
|
||||
"ip/port": "${event-properties:ip/port}",
|
||||
"threadId": "${threadid}",
|
||||
"level": "${level:upperCase=true}",
|
||||
"message": "${message}",
|
||||
"function": "${event-properties:memberName}",
|
||||
"filePath": "${event-properties:filePath}",
|
||||
"lineNumber": "${event-properties:lineNumber}"
|
||||
}
|
||||
},
|
||||
|
||||
"S3": {
|
||||
"ServiceFolderName": "Qa",
|
||||
"MyhomeUgcInfoBucketName": "metaverse-myhomeugc-qa",
|
||||
"BeaconAppProfileBucketName": "metaverse-beacon-appprofile"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"ClientProgramVersionCheck": false,
|
||||
"ClientMinimumRequiredLogicVersion": 0,
|
||||
"ProgramVersionPath": ".\\Version\\",
|
||||
"ProgramVersion": {
|
||||
"MetaSchemaVersion": "MetaSchemaVersion.json",
|
||||
"MetaDataVersion": "MetaDataVersion.json",
|
||||
"PacketVersion": "PacketVersion.json",
|
||||
"ResourceVersion": "ServerResourceVersion.json",
|
||||
"ConfigVersion": "ServerConfigVersion.json",
|
||||
"LogicVersion": "ServerBinaryVersion.json",
|
||||
"DbSchemaVersion": "DbSchemaVersion.json"
|
||||
},
|
||||
"CheatCommandAlwaysAllow": true,
|
||||
|
||||
|
||||
"AuthRule": {
|
||||
"ClientStandaloneAllow": true,
|
||||
"ClientBySsoAccountAuthWithLauncherAllow": true,
|
||||
"PlatformTypeAllows": "WindowsPc"
|
||||
},
|
||||
|
||||
"ServerApiUrlCatalog": [
|
||||
{ "BillingApiServerUrl": { "Ko": "https://qa.caliverse.io/shop" } },
|
||||
{ "ChatAiApiServerUrl": { "Ko": "https://ai-qa-api.caliverse.io" } },
|
||||
{ "S3ResourceImageUrl": { "Ko": "https://d3s9natejb9ydz.cloudfront.net/QA" } }
|
||||
],
|
||||
|
||||
"NftRule": {
|
||||
"NftDBAccess": true,
|
||||
"CPNftForOwnerAllGetUrl": "https://qa-api.caliverse.io/v1/nft/game"
|
||||
},
|
||||
|
||||
"AIChat": {
|
||||
"BaseAddress": "https://ai-qa-api.caliverse.io",
|
||||
"PrivateKey": "PPt+3OLhgLnXCGXrezRL4ZmtA3FmCZtjOgDPvx1MMAY/0VcXFDQQfBRnfR4c2FmzGILuPjue/xtNyLUFOe3EYg=="
|
||||
},
|
||||
|
||||
"EchoSystem": {
|
||||
"BaseAddress": "https://eco-system-qa-rollup-admin-api.caliverse.io",
|
||||
"SlackAddress": "https://hooks.slack.com/services/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"
|
||||
},
|
||||
|
||||
"Billing": {
|
||||
"BaseAddress": "https://qa-api.caliverse.io"
|
||||
},
|
||||
|
||||
"Ugq": {
|
||||
"ApiServerAddress": "http://internal-Metaverse-QA-UGQAPI-Game-1559632298.us-west-2.elb.amazonaws.com:11201",
|
||||
"UrlInGamePrefix": "/api/v1/InGame"
|
||||
},
|
||||
|
||||
"Rabbitmq": {
|
||||
"HostName": "b-d7c76a76-156d-4d55-8614-d4ce122a47c3.mq.us-west-2.amazonaws.com",
|
||||
"Port": 5671,
|
||||
"UserName": "serveruser",
|
||||
"Password": "Zkfflqjtm!33&*(",
|
||||
"SSL": true
|
||||
},
|
||||
|
||||
"GameConfig": {
|
||||
"ReservationWaitTimeMSec": 120000,
|
||||
"LoginCacheExpiryTimeMSec": 3600000,
|
||||
"ServerSwitchCacheExpiryTimeMSec": 300000
|
||||
},
|
||||
|
||||
"ControlAgentEnable": true,
|
||||
|
||||
"PerformanceCheckEnable": false,
|
||||
|
||||
"BattleSystemEnable": true,
|
||||
|
||||
"MetaverseBroker": {
|
||||
"JwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
"ExpireMinutes": 1440,
|
||||
"SsoAccountDb": "Server=qa-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=external_ro;Password=k0RantM9gOAg5ATecBTFXzbCYDnvXi;Database=caliverse",
|
||||
"MetaverseBrokerDb": "Server=metaverse-broker-qa.cdn6gxjy33pu.us-west-2.rds.amazonaws.com;Port=3306;User ID=broker_user;Password=06M67cKVhHDpVipisA2g;Database=metaverse-broker",
|
||||
"MetaverseBrokerDbLocal": "Server=localhost;Port=3307;User ID=root;Password=root;Database=metaverse-broker"
|
||||
}
|
||||
}
|
||||
|
||||
151
BrokerApiTest/Config/ServerConfig-Stage.json
Normal file
151
BrokerApiTest/Config/ServerConfig-Stage.json
Normal file
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"LogDir": "./Logs",
|
||||
"DumpDir": "./",
|
||||
"LocalServer": false,
|
||||
"SingleThreaded": false,
|
||||
"ServiceType": "Stage",
|
||||
"OfflineMode": false,
|
||||
"DefaultMaxUser": 600,
|
||||
"ClientListen": {
|
||||
"Ip": "",
|
||||
"Port": 0
|
||||
},
|
||||
|
||||
|
||||
"SessionKeepAliveTimeSec": 600,
|
||||
"MinWorkerThreadCount": 200,
|
||||
"MinIoThreadCount": 0,
|
||||
|
||||
"AccountLoginBlockEnable": false,
|
||||
|
||||
"SsoAccountDb": "Server=stage-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=caliverse;Password=XjEDXb8fi9ZXP5PaxDCxPWeXK03mzk;Database=caliverse",
|
||||
"SsoAccountAuthJwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
|
||||
"AccountNftDb": "Server=stage-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=caliverse;Password=XjEDXb8fi9ZXP5PaxDCxPWeXK03mzk;Database=caliverse",
|
||||
|
||||
"Redis": "clustercfg.metaverse-stage-cluster.ocif0u.usw2.cache.amazonaws.com:6379,password=wiUaVvNwX4PhBj&8,ssl=true,abortConnect=false",
|
||||
"Dynamodb": "",
|
||||
|
||||
"MongoDb": {
|
||||
"ConnectionString": "mongodb+srv://stageugqapirw:uY3xQzVURk59S7Vu@stage-ugqapi.7d0do.mongodb.net/?retryWrites=true&w=majority&appName=stage-ugqapi",
|
||||
"DatabaseName": "Metaverse",
|
||||
"MinConnectionPoolSize": 0,
|
||||
"MaxConnectionPoolSize": 100,
|
||||
"WaitQueueTimeoutSecs": 120
|
||||
},
|
||||
|
||||
"AWS": {
|
||||
"Enable": true,
|
||||
"LocalDynamoDB": false,
|
||||
"AccessKey": "AKIA4G3CB4Z5T6JUPHJN",
|
||||
"SecretKey": "G82Bq5tCUTvSPe9InGayH8kONbtEnLxMrgzrAbCn",
|
||||
"Region": "us-west-2",
|
||||
"MilestoneName": "MS5",
|
||||
|
||||
"CloudWatchLog": {
|
||||
"Enable": true,
|
||||
"LogGroup": "MetaverseLog-Stage",
|
||||
"LogNamePattern": "Developer",
|
||||
"LogLevel": "Debug",
|
||||
"Layout": {
|
||||
"logTime": "${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fffZ}",
|
||||
"server": "${event-properties:server}",
|
||||
"ip/port": "${event-properties:ip/port}",
|
||||
"threadId": "${threadid}",
|
||||
"level": "${level:upperCase=true}",
|
||||
"message": "${message}",
|
||||
"function": "${event-properties:memberName}",
|
||||
"filePath": "${event-properties:filePath}",
|
||||
"lineNumber": "${event-properties:lineNumber}"
|
||||
}
|
||||
},
|
||||
|
||||
"S3": {
|
||||
"ServiceFolderName": "Stage",
|
||||
"MyhomeUgcInfoBucketName": "metaverse-myhomeugc-stage",
|
||||
"BeaconAppProfileBucketName": "metaverse-beacon-appprofile"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"ClientProgramVersionCheck": false,
|
||||
"ClientMinimumRequiredLogicVersion": 0,
|
||||
"ProgramVersionPath": ".\\Version\\",
|
||||
"ProgramVersion": {
|
||||
"MetaSchemaVersion": "MetaSchemaVersion.json",
|
||||
"MetaDataVersion": "MetaDataVersion.json",
|
||||
"PacketVersion": "PacketVersion.json",
|
||||
"ResourceVersion": "ServerResourceVersion.json",
|
||||
"ConfigVersion": "ServerConfigVersion.json",
|
||||
"LogicVersion": "ServerBinaryVersion.json",
|
||||
"DbSchemaVersion": "DbSchemaVersion.json"
|
||||
},
|
||||
"CheatCommandAlwaysAllow": true,
|
||||
|
||||
|
||||
"AuthRule": {
|
||||
"ClientStandaloneAllow": true,
|
||||
"ClientBySsoAccountAuthWithLauncherAllow": true,
|
||||
"PlatformTypeAllows": "WindowsPc"
|
||||
},
|
||||
|
||||
"ServerApiUrlCatalog": [
|
||||
{ "BillingApiServerUrl": { "Ko": "https://stage.caliverse.io/shop" } },
|
||||
{ "ChatAiApiServerUrl": { "Ko": "https://ai-stage-api.caliverse.io" } },
|
||||
{ "S3ResourceImageUrl": { "Ko": "https://d3s9natejb9ydz.cloudfront.net/Stage" } }
|
||||
],
|
||||
|
||||
|
||||
"NftRule": {
|
||||
"NftDBAccess": true,
|
||||
"CPNftForOwnerAllGetUrl": "https://stage-api.caliverse.io/v1/nft/game"
|
||||
},
|
||||
|
||||
"AIChat": {
|
||||
"BaseAddress": "https://ai-stage-api.caliverse.io",
|
||||
"PrivateKey": "PPt+3OLhgLnXCGXrezRL4ZmtA3FmCZtjOgDPvx1MMAY/0VcXFDQQfBRnfR4c2FmzGILuPjue/xtNyLUFOe3EYg=="
|
||||
},
|
||||
|
||||
"EchoSystem": {
|
||||
"BaseAddress": "https://eco-system-stage-rollup-admin-api.caliverse.io",
|
||||
"SlackAddress": "https://hooks.slack.com/services/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"
|
||||
},
|
||||
|
||||
"Billing": {
|
||||
"BaseAddress": "https://stage-api.caliverse.io"
|
||||
},
|
||||
|
||||
"Ugq": {
|
||||
"ApiServerAddress": "http://internal-Metaverse-Stage-UGQAPI-Game-88775700.us-west-2.elb.amazonaws.com:11201",
|
||||
"UrlInGamePrefix": "/api/v1/InGame"
|
||||
},
|
||||
|
||||
"Rabbitmq": {
|
||||
"HostName": "b-d0e44de3-7fb3-4120-b851-4566002eaf8e.mq.us-west-2.amazonaws.com",
|
||||
"Port": 5671,
|
||||
"UserName": "serveruser",
|
||||
"Password": "Zkfflqjtm!33&*(",
|
||||
"SSL": true
|
||||
},
|
||||
|
||||
"GameConfig": {
|
||||
"ReservationWaitTimeMSec": 120000,
|
||||
"LoginCacheExpiryTimeMSec": 3600000,
|
||||
"ServerSwitchCacheExpiryTimeMSec": 300000
|
||||
},
|
||||
|
||||
"ControlAgentEnable": true,
|
||||
|
||||
"PerformanceCheckEnable": false,
|
||||
|
||||
"BattleSystemEnable": true,
|
||||
|
||||
"MetaverseBroker": {
|
||||
"JwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
"ExpireMinutes": 1440,
|
||||
"SsoAccountDb": "Server=stage-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=caliverse;Password=XjEDXb8fi9ZXP5PaxDCxPWeXK03mzk;Database=caliverse",
|
||||
"MetaverseBrokerDb": "Server=metaverse-broker-stage.cdn6gxjy33pu.us-west-2.rds.amazonaws.com;Port=3306;User ID=broker_user;Password=WkH44p4KiUDVzk5aPfANGtpCu6;Database=metaverse-broker",
|
||||
"MetaverseBrokerDbLocal": "Server=localhost;Port=3307;User ID=root;Password=root;Database=metaverse-broker"
|
||||
}
|
||||
}
|
||||
|
||||
216
BrokerApiTest/Config/ServerConfig.json
Normal file
216
BrokerApiTest/Config/ServerConfig.json
Normal file
@@ -0,0 +1,216 @@
|
||||
{
|
||||
"LogDir": "./Logs",
|
||||
"DumpDir": "./",
|
||||
"LocalServer": true,
|
||||
"SingleThreaded": false,
|
||||
"ServiceType": "Dev",
|
||||
"StandaloneMode": true,
|
||||
"OfflineMode": false,
|
||||
"DefaultMaxUser": 500,
|
||||
"ClientListen": {
|
||||
"Ip": "",
|
||||
"Port": 0
|
||||
},
|
||||
|
||||
"SessionKeepAliveTimeSec": 3600,
|
||||
"MinWorkerThreadCount": 100,
|
||||
"MinIoThreadCount": 0,
|
||||
|
||||
"AccountLoginBlockEnable": false,
|
||||
|
||||
"SsoAccountDb": "Server=localhost;Port=13306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
|
||||
"SsoAccountAuthJwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
|
||||
"AccountNftDb": "Server=localhost;Port=13306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
|
||||
|
||||
"Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false",
|
||||
|
||||
"Dynamodb": "http://localhost:8000",
|
||||
|
||||
"AWS": {
|
||||
"Enable": false,
|
||||
"LocalDynamoDB": false,
|
||||
"AccessKey": "AKIA4G3CB4Z5T6JUPHJN",
|
||||
"SecretKey": "G82Bq5tCUTvSPe9InGayH8kONbtEnLxMrgzrAbCn",
|
||||
"Region": "us-west-2",
|
||||
"MilestoneName": "MS5",
|
||||
|
||||
"CloudWatchLog": {
|
||||
"Enable": false,
|
||||
"LogGroup": "MetaverseLog-Dev",
|
||||
"LogNamePattern": "Developer",
|
||||
"LogLevel": "Debug",
|
||||
"Layout": {
|
||||
"logTime": "${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fffZ}",
|
||||
"level": "${level:upperCase=true}",
|
||||
"message": "${message}",
|
||||
"player": "${event-properties:player}",
|
||||
"properties": "{event-properties:properties}",
|
||||
"threadId": "${threadid}",
|
||||
"function": "${event-properties:memberName}",
|
||||
"filePath": "${event-properties:filePath}",
|
||||
"lineNumber": "${event-properties:lineNumber}",
|
||||
"server": "${event-properties:server}",
|
||||
"ipport": "${event-properties:ipport}"
|
||||
}
|
||||
},
|
||||
|
||||
"S3": {
|
||||
"ServiceFolderName": "Dev",
|
||||
"MyhomeUgcInfoBucketName": "metaverse-myhomeugc-test",
|
||||
"BeaconAppProfileBucketName": "metaverse-beacon-appprofile"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"ClientProgramVersionCheck": false,
|
||||
"ClientMinimumRequiredLogicVersion": 0,
|
||||
"ProgramVersionPath": ".\\Version\\",
|
||||
"ProgramVersion": {
|
||||
"MetaSchemaVersion": "MetaSchemaVersion.json",
|
||||
"MetaDataVersion": "MetaDataVersion.json",
|
||||
"PacketVersion": "PacketVersion.json",
|
||||
"ResourceVersion": "ServerResourceVersion.json",
|
||||
"ConfigVersion": "ServerConfigVersion.json",
|
||||
"LogicVersion": "ServerBinaryVersion.json",
|
||||
"DbSchemaVersion": "DbSchemaVersion.json"
|
||||
},
|
||||
"CheatCommandAlwaysAllow": true,
|
||||
|
||||
|
||||
"AuthRule": {
|
||||
"ClientStandaloneAllow": true,
|
||||
"ClientBySsoAccountAuthWithLauncherAllow": false,
|
||||
"PlatformTypeAllows": ""
|
||||
},
|
||||
|
||||
"LoadBalancingRule": {
|
||||
"AuthToGameRule": {
|
||||
"Rule": "WeightedRoundRobin",
|
||||
"MinRate": 0,
|
||||
"MaxRate": 100,
|
||||
"UserLanguageBased": true
|
||||
}
|
||||
},
|
||||
|
||||
"ServerApiUrlCatalog": [
|
||||
{ "BillingApiServerUrl": "https://caliverse.io/shop" },
|
||||
{ "ChatAiApiServerUrl": "https://ai-dev-api.caliverse.io" },
|
||||
{ "S3ResourceImageUrl": "https://d3s9natejb9ydz.cloudfront.net/Dev" },
|
||||
{
|
||||
"RentalGuideURL": {
|
||||
"ko": "https://calidocu.gitbook.io/caliverse-metaverse/land/land-rental",
|
||||
"en": "https://calidocu.gitbook.io/caliverse-metaverse/en/land/land-rental",
|
||||
"jp": "https://calidocu.gitbook.io/caliverse-metaverse/jp/land/land-rental"
|
||||
}
|
||||
},
|
||||
{
|
||||
"LandAuctionWebGuide": {
|
||||
"ko": "https://calidocu.gitbook.io/caliverse-metaverse/land/land-rental",
|
||||
"en": "https://calidocu.gitbook.io/caliverse-metaverse/en/land/land-rental",
|
||||
"jp": "https://calidocu.gitbook.io/caliverse-metaverse/jp/land/land-rental"
|
||||
}
|
||||
},
|
||||
{
|
||||
"LandManageGuideURL": {
|
||||
"ko": "https://calidocu.gitbook.io/caliverse-metaverse/land/land-management",
|
||||
"en": "https://calidocu.gitbook.io/caliverse-metaverse/en/land/land-management",
|
||||
"jp": "https://calidocu.gitbook.io/caliverse-metaverse/jp/land/land-management"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Calium_Exchange_Web1": {
|
||||
"ko": "https://calidocu.gitbook.io/calium-eco-system/calium-inflation-system-and-its-principles",
|
||||
"en": "https://calidocu.gitbook.io/calium-eco-system/en/calium-inflation-system-and-its-principles",
|
||||
"jp": "https://calidocu.gitbook.io/calium-eco-system/jp/calium-inflation-system-and-its-principles"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Calium_Exchange_Web2": {
|
||||
"ko": "https://calium.caliverse.io/onchain",
|
||||
"en": "https://calium.caliverse.io/onchain",
|
||||
"jp": "https://calium.caliverse.io/onchain"
|
||||
}
|
||||
},
|
||||
{
|
||||
"MyhomeEditGuideUrl": {
|
||||
"ko": "https://calidocu.gitbook.io/caliverse-metaverse/caliverse-feature-guide/interior",
|
||||
"en": "https://calidocu.gitbook.io/caliverse-metaverse/en/caliverse-feature-guide/interior",
|
||||
"jp": "https://calidocu.gitbook.io/caliverse-metaverse/jp/caliverse-feature-guide/interior"
|
||||
}
|
||||
},
|
||||
{
|
||||
"WebLinkUrlSeasonPass": {
|
||||
"ko": "https://calidocu.gitbook.io/caliverse-metaverse/pass-and-claim/season-pass",
|
||||
"en": "https://calidocu.gitbook.io/caliverse-metaverse/en/pass-and-claim/season-pass",
|
||||
"jp": "https://calidocu.gitbook.io/caliverse-metaverse/jp/pass-and-claim/season-pass"
|
||||
}
|
||||
},
|
||||
{
|
||||
"WebLinkURLCurrency": {
|
||||
"ko": "https://caliverse.io/shop",
|
||||
"en": "https://caliverse.io/en/shop",
|
||||
"jp": "https://caliverse.io/en/shop"
|
||||
}
|
||||
},
|
||||
{
|
||||
"CaliumConverterWebGuide": {
|
||||
"ko": "https://calidocu.gitbook.io/caliverse-metaverse/calium/calium-converter",
|
||||
"en": "https://calidocu.gitbook.io/caliverse-metaverse/en/calium/calium-converter",
|
||||
"jp": "https://calidocu.gitbook.io/caliverse-metaverse/jp/calium/calium-converter"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
"NftRule": {
|
||||
"NftDBAccess": false,
|
||||
"CPNftForOwnerAllGetUrl": "https://dev-api.caliverse.io/v1/nft/game"
|
||||
},
|
||||
|
||||
"EchoSystem": {
|
||||
"BaseAddress": "https://eco-system-dev-rollup-admin-api.caliverse.io"
|
||||
},
|
||||
|
||||
"AIChat": {
|
||||
"BaseAddress": "https://ai-dev-api.caliverse.io",
|
||||
"PrivateKey": "PPt+3OLhgLnXCGXrezRL4ZmtA3FmCZtjOgDPvx1MMAY/0VcXFDQQfBRnfR4c2FmzGILuPjue/xtNyLUFOe3EYg=="
|
||||
},
|
||||
|
||||
"Billing": {
|
||||
"BaseAddress": "https://dev-api.caliverse.io"
|
||||
},
|
||||
|
||||
"Ugq": {
|
||||
"ApiServerAddress": "https://dev-ugqapi.caliverse.io:11000",
|
||||
//"ApiServerAddress": "http://localhost:1000",
|
||||
"UrlInGamePrefix": "/api/v1/InGame"
|
||||
},
|
||||
|
||||
"Rabbitmq": {
|
||||
"HostName": "localhost",
|
||||
"Port": 5672,
|
||||
"UserName": "admin",
|
||||
"Password": "admin",
|
||||
"SSL": false
|
||||
},
|
||||
|
||||
"GameConfig": {
|
||||
"ReservationWaitTimeMSec": 1200000,
|
||||
"LoginCacheExpiryTimeMSec": 3600000,
|
||||
"ServerSwitchCacheExpiryTimeMSec": 3600000
|
||||
},
|
||||
|
||||
"ControlAgentEnable": false,
|
||||
|
||||
"PerformanceCheckEnable": false,
|
||||
|
||||
"BattleSystemEnable" : true,
|
||||
|
||||
"MetaverseBroker": {
|
||||
"JwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
|
||||
"ExpireMinutes": 1440,
|
||||
"SsoAccountDb": "Server=dev-caliverse-db.cluster-ro-czac0we0qoyx.us-west-2.rds.amazonaws.com;Port=3306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
|
||||
"MetaverseBrokerDb": "Server=metaverse-broker-dev.cdn6gxjy33pu.us-west-2.rds.amazonaws.com;Port=3306;User ID=caliverse;Password=Apxkqjtmqmfhzj;Database=metaverse-broker",
|
||||
"MetaverseBrokerDbLocal": "Server=localhost;Port=3307;User ID=broker;Password=broker;Database=metaverse-broker"
|
||||
}
|
||||
}
|
||||
95
BrokerApiTest/Config/nlog.config
Normal file
95
BrokerApiTest/Config/nlog.config
Normal file
@@ -0,0 +1,95 @@
|
||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
throwConfigExceptions="true"
|
||||
autoReload="true"
|
||||
internalLogLevel="Error"
|
||||
internalLogToConsole="true">
|
||||
|
||||
<extensions>
|
||||
<add assembly="NLog.AWS.Logger" />
|
||||
</extensions>
|
||||
|
||||
<targets async="true">
|
||||
<!--
|
||||
<target name="logconsole" xsi:type="Console"
|
||||
layout="${longdate:universalTime=true} ${level} [${threadid}] [${event-properties:memberName}] ${message}" />
|
||||
-->
|
||||
<target name="logfile" xsi:type="File"
|
||||
fileName="${basedir}/logs/${ProcessName}.log"
|
||||
archiveFileName="${basedir}/logs/${ProcessName}_{###}.log"
|
||||
archiveAboveSize="10240000"
|
||||
archiveNumbering="DateAndSequence"
|
||||
archiveEvery="Day"
|
||||
maxArchiveDays= "2"
|
||||
maxArchiveFiles= "5"
|
||||
archiveOldFileOnStartup="true"
|
||||
ConcurrentWrites="true"
|
||||
archiveDateFormat="yyyy-MM-dd-HH-mm"
|
||||
layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}|${level:uppercase=true}|${threadid}|${message}|${event-properties:memberName}|${event-properties:filePath}:${event-properties:lineNumber}"/>
|
||||
|
||||
<target name="businessLogFile" xsi:type="File"
|
||||
fileName="${basedir}/logs/Business_${ProcessName}.json"
|
||||
archiveFileName="${basedir}/logs/archive/business/Business_${ProcessName}_{###}.json"
|
||||
archiveAboveSize="1024000000"
|
||||
archiveNumbering="DateAndSequence"
|
||||
archiveEvery="Day"
|
||||
maxArchiveDays= "4"
|
||||
archiveOldFileOnStartup="true"
|
||||
ConcurrentWrites="true"
|
||||
archiveDateFormat="yyyy-MM-dd-HH-mm">
|
||||
<layout xsi:type="JsonLayout" includeEventProperties="true" excludeProperties="Comma-separated list (string)">
|
||||
<attribute name="logTime" layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}" />
|
||||
<attribute name="level" layout="${level:upperCase=true}"/>
|
||||
<attribute name="message" layout="${message}" />
|
||||
</layout>
|
||||
</target>
|
||||
|
||||
<target name="developLogFile" xsi:type="File"
|
||||
fileName="${basedir}/logs/${ProcessName}.json"
|
||||
archiveFileName="${basedir}/logs/archive/develop/${ProcessName}_{###}.json"
|
||||
archiveAboveSize="1024000000"
|
||||
archiveNumbering="DateAndSequence"
|
||||
archiveEvery="Day"
|
||||
maxArchiveDays= "2"
|
||||
maxArchiveFiles= "5"
|
||||
archiveOldFileOnStartup="true"
|
||||
ConcurrentWrites="true"
|
||||
archiveDateFormat="yyyy-MM-dd-HH-mm">
|
||||
<layout xsi:type="JsonLayout" includeEventProperties="true" excludeProperties="Comma-separated list (string)">
|
||||
<attribute name="logTime" layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}" />
|
||||
<attribute name="threadid" layout="${threadid}" />
|
||||
<attribute name="level" layout="${level:upperCase=true}"/>
|
||||
<attribute name="message" layout="${message}" />
|
||||
</layout>
|
||||
</target>
|
||||
|
||||
<target name="logconsole" xsi:type="ColoredConsole"
|
||||
layout="${longdate:universalTime=true}|${level:uppercase=true}|${threadid}|${message}|${event-properties:filePath}:${event-properties:lineNumber}">
|
||||
<highlight-row condition="level == LogLevel.Debug" foregroundColor="DarkGray" />
|
||||
<highlight-row condition="level == LogLevel.Info" foregroundColor="DarkGray" />
|
||||
<highlight-row condition="level == LogLevel.Warn" foregroundColor="Yellow" />
|
||||
<highlight-row condition="level == LogLevel.Error" foregroundColor="Red" />
|
||||
<highlight-row condition="level == LogLevel.Fatal" foregroundColor="Red" />
|
||||
</target>
|
||||
|
||||
<target name="logSeqFile" xsi:type="File"
|
||||
fileName="${basedir}/../../bin/LogSequence/${ProcessName}.log"
|
||||
archiveFileName="${basedir}/../../bin/LogSequence/${ProcessName}_{#}.Sequence.bak"
|
||||
archiveAboveSize="10240000"
|
||||
archiveNumbering="DateAndSequence"
|
||||
archiveEvery="Day"
|
||||
maxArchiveFiles= "1000"
|
||||
archiveOldFileOnStartup="true"
|
||||
ConcurrentWrites="true"
|
||||
archiveDateFormat="yyyy-MM-dd"
|
||||
layout="${ticks},${event-properties:sender},${event-properties:receiver},${message}:${event-properties:errordesc}"/>
|
||||
|
||||
</targets>
|
||||
<rules>
|
||||
<logger name="Developer" minlevel="Info" writeTo="logconsole"/>
|
||||
<logger name="Developer" minlevel="Debug" writeTo="developLogFile"/>
|
||||
<logger name="BusinessLogger" minlevel="Info" writeTo="businessLogFile"/>
|
||||
<!-->logger name="*" minlevel="Error" writeTo="logfile"/-->
|
||||
<logger name="SequenceLogger" minlevel="Debug" writeTo="logSeqFile"/>
|
||||
</rules>
|
||||
</nlog>
|
||||
Reference in New Issue
Block a user