From 6e13d3903c9212addea9e488151dd7c04607404a Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:03:28 +0300 Subject: [PATCH 01/10] Update app.py --- .framework/python/backend/app/core/settings/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/python/backend/app/core/settings/app.py b/.framework/python/backend/app/core/settings/app.py index fc0c6060a..ce6d02e2f 100644 --- a/.framework/python/backend/app/core/settings/app.py +++ b/.framework/python/backend/app/core/settings/app.py @@ -22,7 +22,7 @@ class AppSettings(BaseAppSettings): max_connection_count: int = 5 min_connection_count: int = 5 - secret_key: SecretStr = SecretStr("secret") + secret_key: SecretStr = SecretStr("e6F9KvS:D=f4dyXj") api_prefix: str = "/api" From 466e846b58034c3daad5b8d27694c747c94c8e20 Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:04:03 +0300 Subject: [PATCH 02/10] Update app.js --- .framework/node/backend/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/node/backend/app.js b/.framework/node/backend/app.js index f4e7f355a..edbda190e 100644 --- a/.framework/node/backend/app.js +++ b/.framework/node/backend/app.js @@ -27,7 +27,7 @@ app.use(express.static(__dirname + "/public")); app.use( session({ - secret: "secret", + secret: "e6F9KvS:D=f4dyXj", cookie: { maxAge: 60000 }, resave: false, saveUninitialized: false From 86c1074cf5efd4de160a80f40e78e67615c90f9b Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:04:25 +0300 Subject: [PATCH 03/10] Update index.js --- .framework/node/backend/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/node/backend/config/index.js b/.framework/node/backend/config/index.js index 1bf9d6a12..cb4d66f46 100644 --- a/.framework/node/backend/config/index.js +++ b/.framework/node/backend/config/index.js @@ -1,3 +1,3 @@ module.exports = { - secret: process.env.NODE_ENV === 'production' ? process.env.SECRET : 'secret' + secret: process.env.NODE_ENV === 'production' ? process.env.SECRET : 'e6F9KvS:D=f4dyXj' }; From 8db6d951e01851282068ff5ef3f7e9797c4174ac Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:05:01 +0300 Subject: [PATCH 04/10] Update pyproject.toml --- .framework/python/backend/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/python/backend/pyproject.toml b/.framework/python/backend/pyproject.toml index b974ae6fa..926fa1d3e 100644 --- a/.framework/python/backend/pyproject.toml +++ b/.framework/python/backend/pyproject.toml @@ -62,7 +62,7 @@ addopts = ''' --asyncio-mode=auto ''' env = [ - "SECRET_KEY=secret", + "SECRET_KEY=e6F9KvSDf4dyXj", "MAX_CONNECTIONS_COUNT=1", "MIN_CONNECTIONS_COUNT=1" ] From 74e2a9738cd69d05d2110fb8094111e31354d9d2 Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:05:21 +0300 Subject: [PATCH 05/10] Update anythink-backend-deployment.yaml --- .../java/charts/templates/anythink-backend-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/java/charts/templates/anythink-backend-deployment.yaml b/.framework/java/charts/templates/anythink-backend-deployment.yaml index 7b209f500..c03d3ccd6 100644 --- a/.framework/java/charts/templates/anythink-backend-deployment.yaml +++ b/.framework/java/charts/templates/anythink-backend-deployment.yaml @@ -26,7 +26,7 @@ spec: - name: APP_ENV value: dev - name: SECRET_KEY - value: secret + value: e6F9KvSDf4dyXj - name: DEBUG value: "True" - name: DATABASE_URL From 2c9586c1c38db8d817be0f19f9b9d4fea596de31 Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:05:42 +0300 Subject: [PATCH 06/10] Update anythink-backend-deployment.yaml --- .../python/charts/templates/anythink-backend-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/python/charts/templates/anythink-backend-deployment.yaml b/.framework/python/charts/templates/anythink-backend-deployment.yaml index 3997ff52e..e0febba77 100644 --- a/.framework/python/charts/templates/anythink-backend-deployment.yaml +++ b/.framework/python/charts/templates/anythink-backend-deployment.yaml @@ -26,7 +26,7 @@ spec: - name: APP_ENV value: dev - name: SECRET_KEY - value: secret + value: e6F9KvSDf4dyXj - name: DEBUG value: "True" - name: DATABASE_URL From d7ba5df10bd18cd9ce5c9772e11fdeac62bd7993 Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:05:54 +0300 Subject: [PATCH 07/10] Update test.py --- .framework/python/backend/app/core/settings/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/python/backend/app/core/settings/test.py b/.framework/python/backend/app/core/settings/test.py index bea3c53b8..2b9b15c7b 100644 --- a/.framework/python/backend/app/core/settings/test.py +++ b/.framework/python/backend/app/core/settings/test.py @@ -10,7 +10,7 @@ class TestAppSettings(AppSettings): title: str = "Test FastAPI example application" - secret_key: SecretStr = SecretStr("test_secret") + secret_key: SecretStr = SecretStr("e6F9KvSDf4dyXj") database_url: PostgresDsn max_connection_count: int = 5 From 778d440e3e377f312070fdb55c3f33182aa47d4c Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:06:12 +0300 Subject: [PATCH 08/10] Update app.js --- .framework/node/backend/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/node/backend/app.js b/.framework/node/backend/app.js index edbda190e..1a1d5a802 100644 --- a/.framework/node/backend/app.js +++ b/.framework/node/backend/app.js @@ -27,7 +27,7 @@ app.use(express.static(__dirname + "/public")); app.use( session({ - secret: "e6F9KvS:D=f4dyXj", + secret: "e6F9KvSDf4dyXj", cookie: { maxAge: 60000 }, resave: false, saveUninitialized: false From 36bc014a6edf1d05d4db20cc77ad038fef9c6ecc Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:06:23 +0300 Subject: [PATCH 09/10] Update index.js --- .framework/node/backend/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/node/backend/config/index.js b/.framework/node/backend/config/index.js index cb4d66f46..f69b9957e 100644 --- a/.framework/node/backend/config/index.js +++ b/.framework/node/backend/config/index.js @@ -1,3 +1,3 @@ module.exports = { - secret: process.env.NODE_ENV === 'production' ? process.env.SECRET : 'e6F9KvS:D=f4dyXj' + secret: process.env.NODE_ENV === 'production' ? process.env.SECRET : 'e6F9KvSDf4dyXj' }; From a5bd65d065a899ab9d0ff5ba9831069a2ea23fc9 Mon Sep 17 00:00:00 2001 From: Shem Date: Tue, 8 Oct 2024 12:06:39 +0300 Subject: [PATCH 10/10] Update app.py --- .framework/python/backend/app/core/settings/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.framework/python/backend/app/core/settings/app.py b/.framework/python/backend/app/core/settings/app.py index ce6d02e2f..83205009a 100644 --- a/.framework/python/backend/app/core/settings/app.py +++ b/.framework/python/backend/app/core/settings/app.py @@ -22,7 +22,7 @@ class AppSettings(BaseAppSettings): max_connection_count: int = 5 min_connection_count: int = 5 - secret_key: SecretStr = SecretStr("e6F9KvS:D=f4dyXj") + secret_key: SecretStr = SecretStr("e6F9KvSDf4dyXj") api_prefix: str = "/api"