diff --git a/.DS_Store b/.DS_Store index 0f5830b..2a2cb61 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 66bdc23..c8af6fe 100644 --- a/.gitignore +++ b/.gitignore @@ -379,3 +379,6 @@ src/Managing.Infrastructure.Tests/PrivateKeys.cs # Node.js Tools for Visual Studio node_modules/ + + + diff --git a/src/.DS_Store b/src/.DS_Store index 7671fdc..96f9a5f 100644 Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/Managing.Api.Workers/Managing.Api.Workers.csproj b/src/Managing.Api.Workers/Managing.Api.Workers.csproj index b0ad5c3..fe039e5 100644 --- a/src/Managing.Api.Workers/Managing.Api.Workers.csproj +++ b/src/Managing.Api.Workers/Managing.Api.Workers.csproj @@ -1,54 +1,57 @@ - - net8.0 - enable - AnyCPU;x64 - 3900ce93-de15-49e5-9a61-7dc2209939ca - Linux - ..\.. - ..\..\docker-compose.dcproj - + + net8.0 + enable + AnyCPU;x64 + 3900ce93-de15-49e5-9a61-7dc2209939ca + Linux + ..\.. + ..\..\docker-compose.dcproj + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - Always - - - Always - - - Always - - - Always - - + + + Always + + + Always + + + Always + + + Always + + + Always + + diff --git a/src/Managing.Api.Workers/appsettings.Production.json b/src/Managing.Api.Workers/appsettings.Production.json index 31b8273..7d24004 100644 --- a/src/Managing.Api.Workers/appsettings.Production.json +++ b/src/Managing.Api.Workers/appsettings.Production.json @@ -1,16 +1,19 @@ { "ManagingDatabase": { - "ConnectionString": "mongodb://admin:r8oJiDIKbsEi@srv-captain--mongo-db:27017/?authMechanism=SCRAM-SHA-256", + "ConnectionString": "mongodb://root:gRerdhtg546FgrW@srv-captain--mongo:27017/?authMechanism=SCRAM-SHA-256", "DatabaseName": "ManagingDb" }, "InfluxDb": { - "Url": "http://srv-captain--influx-db:8086/", + "Url": "https://influx-db.apps.managing.live", "Organization": "managing-org", - "Token": "eOuXcXhH7CS13Iw4CTiDDpRjIjQtEVPOloD82pLPOejI4n0BsEj1YzUw0g3Cs1mdDG5m-RaxCavCMsVTtS5wIQ==" + "Token": "_BtklT_aQ7GRqWG-HGILYEd8MJzxdbxxckPadzUsRofnwJBKQuXYLbCrVcLD7TrD4BlXgGAsyuqQItsOtanfBw==" }, "Privy": { - "AppId": "cm6f47n1l003jx7mjwaembhup", - "AppSecret": "63Chz2z5M8TgR5qc8dznSLRAGTHTyPU4cjdQobrBF1Cx5tszZpTuFgyrRd7hZ2k6HpwDz3GEwQZzsCqHb8Z311bF" + "AppId": "cm6kkz5ke00n5ffmpwdbr05mp", + "AppSecret": "3STq1UyPJ5WHixArBcVBKecWtyR4QpgZ1uju4HHvvJH2RwtacJnvoyzuaiNC8Xibi4rQb3eeH2YtncKrMxCYiV3a" + }, + "Web3Proxy": { + "BaseUrl": "http://srv-captain--managing-web3:4111" }, "Serilog": { "MinimumLevel": { @@ -21,11 +24,11 @@ } } }, - "Web3Proxy": { - "BaseUrl": "http://srv-captain--web3-proxy:4111" - }, "ElasticConfiguration": { "Uri": "http://elasticsearch:9200" }, + "Sentry": { + "Dsn": "https://698e00d7cb404b049aff3881e5a47f6b@bugcenter.apps.managing.live/1" + }, "AllowedHosts": "*" } \ No newline at end of file diff --git a/src/Managing.Api.Workers/appsettings.Prod.json b/src/Managing.Api.Workers/appsettings.Sandbox.json similarity index 100% rename from src/Managing.Api.Workers/appsettings.Prod.json rename to src/Managing.Api.Workers/appsettings.Sandbox.json diff --git a/src/Managing.Api/Managing.Api.csproj b/src/Managing.Api/Managing.Api.csproj index 5ba484f..6583589 100644 --- a/src/Managing.Api/Managing.Api.csproj +++ b/src/Managing.Api/Managing.Api.csproj @@ -1,55 +1,55 @@ - - net8.0 - enable - AnyCPU;x64 - ..\..\docker-compose.dcproj - 7476db9f-ade4-414a-a420-e3ab55cb5f8d - Linux - ..\.. - + + net8.0 + enable + AnyCPU;x64 + ..\..\docker-compose.dcproj + 7476db9f-ade4-414a-a420-e3ab55cb5f8d + Linux + ..\.. + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - Always - - - Always - - - Always - - - Always - - + + + Always + + + Always + + + Always + + + Always + + diff --git a/src/Managing.Api/appsettings.Production.json b/src/Managing.Api/appsettings.Production.json index ab0e66a..935bb2a 100644 --- a/src/Managing.Api/appsettings.Production.json +++ b/src/Managing.Api/appsettings.Production.json @@ -1,19 +1,19 @@ { "ManagingDatabase": { - "ConnectionString": "mongodb://admin:r8oJiDIKbsEi@srv-captain--mongo-db:27017/?authMechanism=SCRAM-SHA-256", + "ConnectionString": "mongodb://admin:vgRehYTdhghDR@srv-captain--mongo:27017/?authMechanism=SCRAM-SHA-256", "DatabaseName": "ManagingDb" }, "InfluxDb": { - "Url": "http://srv-captain--influx-db:8086/", + "Url": "https://influx-db.apps.managing.live", "Organization": "managing-org", - "Token": "eOuXcXhH7CS13Iw4CTiDDpRjIjQtEVPOloD82pLPOejI4n0BsEj1YzUw0g3Cs1mdDG5m-RaxCavCMsVTtS5wIQ==" + "Token": "_BtklT_aQ7GRqWG-HGILYEd8MJzxdbxxckPadzUsRofnwJBKQuXYLbCrVcLD7TrD4BlXgGAsyuqQItsOtanfBw==" }, "Privy": { - "AppId": "cm6f47n1l003jx7mjwaembhup", - "AppSecret": "63Chz2z5M8TgR5qc8dznSLRAGTHTyPU4cjdQobrBF1Cx5tszZpTuFgyrRd7hZ2k6HpwDz3GEwQZzsCqHb8Z311bF" + "AppId": "cm6kkz5ke00n5ffmpwdbr05mp", + "AppSecret": "3STq1UyPJ5WHixArBcVBKecWtyR4QpgZ1uju4HHvvJH2RwtacJnvoyzuaiNC8Xibi4rQb3eeH2YtncKrMxCYiV3a" }, "Web3Proxy": { - "BaseUrl": "http://srv-captain--web3-proxy:4111" + "BaseUrl": "http://srv-captain--managing-web3:4111" }, "Serilog": { "MinimumLevel": { @@ -27,5 +27,8 @@ "ElasticConfiguration": { "Uri": "http://elasticsearch:9200" }, + "Sentry": { + "Dsn": "https://698e00d7cb404b049aff3881e5a47f6b@bugcenter.apps.managing.live/1" + }, "AllowedHosts": "*" } \ No newline at end of file diff --git a/src/Managing.Api/appsettings.Prod.json b/src/Managing.Api/appsettings.Sandbox.json similarity index 100% rename from src/Managing.Api/appsettings.Prod.json rename to src/Managing.Api/appsettings.Sandbox.json diff --git a/src/Managing.Api/appsettings.ProdLocal.json b/src/Managing.Api/appsettings.SandboxLocal.json similarity index 100% rename from src/Managing.Api/appsettings.ProdLocal.json rename to src/Managing.Api/appsettings.SandboxLocal.json diff --git a/src/Managing.Nswag/.DS_Store b/src/Managing.Nswag/.DS_Store new file mode 100644 index 0000000..2126008 Binary files /dev/null and b/src/Managing.Nswag/.DS_Store differ diff --git a/src/Managing.Web3Proxy/.env b/src/Managing.Web3Proxy/.env deleted file mode 100644 index b3eae70..0000000 --- a/src/Managing.Web3Proxy/.env +++ /dev/null @@ -1,33 +0,0 @@ -# Must always set to production -# @see {@link https://www.youtube.com/watch?v=HMM7GJC5E2o} -NODE_ENV=production -PORT=4111 - -CAN_CREATE_DATABASE=0 -CAN_DROP_DATABASE=0 -CAN_SEED_DATABASE=0 - -# Database -MYSQL_HOST=localhost -MYSQL_PORT=3306 -MYSQL_DATABASE=test_db -MYSQL_USER=test_user -MYSQL_PASSWORD=test_password - -# Server -FASTIFY_CLOSE_GRACE_DELAY=1000 -LOG_LEVEL=info - -# Security -COOKIE_SECRET=25wwYu5AgxArU7djgvQEuioc9YSdGY3WN3r1dmXftPfH33KfGVfzopW3vqoPFjy1b8wS2gkDDZ9iQ8yxSo9Vi4iN -COOKIE_NAME=test_cookie_name -COOKIE_SECURED=true -RATE_LIMIT_MAX=4 # 4 for tests - -PRIVY_APP_ID=cm7u09v0u002zrkuf2yjjr58p -PRIVY_APP_SECRET=25wwYu5AgxArU7djgvQEuioc9YSdGY3WN3r1dmXftPfH33KfGVfzopW3vqoPFjy1b8wS2gkDDZ9iQ8yxSo9Vi4iN -PRIVY_AUTHORIZATION_KEY=wallet-auth:MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQggpJ65PCo4E6NYpY867AyE6p1KxOrs8LJqHZw+t+076yhRANCAAS2EM23CtIfQRmHWTxcqb1j5yfrVePjZyBOZZ2RoPZHb9bDGLos206fTuVA3zgLVomlOoHTeYifkBASCn9Mfg3b -API_URL=http://localhost:5000 -ARBITRUM_RPC_URL=https://arbitrum-one.publicnode.com -SENTRY_DSN=https://4b88eba622584ab1af8d0611960e6a2f@bugcenter.apps.managing.live/3 -SENTRY_ENVIRONMENT=production \ No newline at end of file