liberty-framework 6.0.45__py3-none-any.whl → 6.0.47__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app/controllers/__pycache__/api_controller.cpython-312.pyc +0 -0
- app/controllers/__pycache__/setup_controller.cpython-312.pyc +0 -0
- app/controllers/api_controller.py +3 -1
- app/controllers/setup_controller.py +7 -1
- app/logs/files/logs-frontend-json.log +6 -0
- app/logs/files/logs-frontend-text.log +24 -0
- app/models/__pycache__/setup.cpython-312.pyc +0 -0
- app/models/setup.py +28 -1
- app/public/frontend/assets/{index-CBVjFKmW.js → index-BEQMJlHa.js} +159 -159
- app/public/frontend/assets/{index-CBVjFKmW.js.map → index-BEQMJlHa.js.map} +1 -1
- app/public/frontend/assets/{index.es-8R5QRthQ-drU8K1aL.js → index.es-mB7ZF8OM-DnpXL3xF.js} +7 -7
- app/public/frontend/assets/{index.es-8R5QRthQ-drU8K1aL.js.map → index.es-mB7ZF8OM-DnpXL3xF.js.map} +1 -1
- app/public/frontend/assets/{purify.es-CKk_t3XZ-CHJWMLL4.js → purify.es-CKk_t3XZ-CB-r1fqE.js} +2 -2
- app/public/frontend/assets/{purify.es-CKk_t3XZ-CHJWMLL4.js.map → purify.es-CKk_t3XZ-CB-r1fqE.js.map} +1 -1
- app/public/frontend/index.html +1 -1
- app/routes/__pycache__/api_routes.cpython-312.pyc +0 -0
- app/routes/__pycache__/setup_routes.cpython-312.pyc +0 -0
- app/routes/api_routes.py +63 -1
- app/routes/setup_routes.py +40 -2
- app/services/__pycache__/api_rest.cpython-312.pyc +0 -0
- app/services/api_rest.py +96 -5
- app/setup/services/__pycache__/install.cpython-312.pyc +0 -0
- app/setup/services/__pycache__/setup.cpython-312.pyc +0 -0
- app/setup/services/install.py +4 -0
- app/setup/services/setup.py +141 -8
- {liberty_framework-6.0.45.dist-info → liberty_framework-6.0.47.dist-info}/METADATA +5 -1
- {liberty_framework-6.0.45.dist-info → liberty_framework-6.0.47.dist-info}/RECORD +31 -31
- {liberty_framework-6.0.45.dist-info → liberty_framework-6.0.47.dist-info}/WHEEL +1 -1
- {liberty_framework-6.0.45.dist-info → liberty_framework-6.0.47.dist-info}/LICENSE +0 -0
- {liberty_framework-6.0.45.dist-info → liberty_framework-6.0.47.dist-info}/entry_points.txt +0 -0
- {liberty_framework-6.0.45.dist-info → liberty_framework-6.0.47.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -37,4 +37,10 @@ class SetupController:
|
|
|
37
37
|
return self.alembic.revision(req)
|
|
38
38
|
|
|
39
39
|
def current(self, req: Request):
|
|
40
|
-
return self.alembic.current(req)
|
|
40
|
+
return self.alembic.current(req)
|
|
41
|
+
|
|
42
|
+
async def create(self, req: Request):
|
|
43
|
+
return await self.setupRest.create_database(req)
|
|
44
|
+
|
|
45
|
+
async def drop(self, req: Request):
|
|
46
|
+
return await self.setupRest.drop_database(req)
|
|
@@ -201,3 +201,9 @@
|
|
|
201
201
|
{"timestamp": "2025-02-20T09:15:08.302464+00:00", "transactionName": "QueryDAO.applications", "level": "info", "method": "GET", "url": "http://localhost:5173/api/fmw/applications", "data": {"message": "Request failed with status code 500: undefined"}, "message": "Framework: Load Applications", "category": "http", "feature": "database-api", "isException": true}
|
|
202
202
|
{"timestamp": "2025-02-20T09:15:08.303872+00:00", "transactionName": "loginUtils.getApplications", "level": "info", "method": null, "url": null, "data": {"status": "error", "items": [{"message": "Request failed with status code 500: undefined"}]}, "message": "Login: Failed to fetch applications", "category": "debug", "feature": "console", "isException": true}
|
|
203
203
|
{"timestamp": "2025-02-20T09:20:53.819597+00:00", "transactionName": "QueryDAO.login", "level": "info", "method": "GET", "url": "http://localhost:5173/api/auth/user?user=admin&pool=libnsx1&mode=session", "data": {"message": "Request failed with status code 500: Error creating pool: Error creating pool: [Errno 8] nodename nor servname provided, or not known"}, "message": "User Login: Get User Properties", "category": "http", "feature": "database-api", "isException": true}
|
|
204
|
+
{"timestamp": "2025-02-26T15:16:17.684769+00:00", "transactionName": "APIDAO.post", "level": "info", "method": "POST", "url": "http://localhost:5173/api/rest?pool=default&mode=session&api=1", "data": null, "message": "REST: Failed POST API call", "category": "http", "feature": "rest-api", "isException": true}
|
|
205
|
+
{"timestamp": "2025-02-26T16:00:40.041233+00:00", "transactionName": "APIDAO.post", "level": "info", "method": "POST", "url": "http://localhost:5173/api/rest?pool=default&mode=session&api=1", "data": null, "message": "REST: Failed POST API call", "category": "http", "feature": "rest-api", "isException": true}
|
|
206
|
+
{"timestamp": "2025-02-26T16:27:09.583000+00:00", "transactionName": "APIDAO.post", "level": "info", "method": "POST", "url": "http://localhost:5173/api/rest?pool=default&mode=session&api=1", "data": null, "message": "REST: Failed POST API call", "category": "http", "feature": "rest-api", "isException": true}
|
|
207
|
+
{"timestamp": "2025-02-27T08:55:05.093957+00:00", "transactionName": "APIDAO.post", "level": "info", "method": "POST", "url": "http://localhost:5173/api/rest?pool=default&mode=session&api=1", "data": null, "message": "REST: Failed POST API call", "category": "http", "feature": "rest-api", "isException": true}
|
|
208
|
+
{"timestamp": "2025-02-27T08:55:26.916613+00:00", "transactionName": "APIDAO.post", "level": "info", "method": "POST", "url": "http://localhost:5173/api/rest?pool=default&mode=session&api=1", "data": null, "message": "REST: Failed POST API call", "category": "http", "feature": "rest-api", "isException": true}
|
|
209
|
+
{"timestamp": "2025-02-27T08:56:25.275371+00:00", "transactionName": "APIDAO.post", "level": "info", "method": "POST", "url": "http://localhost:5173/api/rest?pool=default&mode=session&api=1", "data": null, "message": "REST: Failed POST API call", "category": "http", "feature": "rest-api", "isException": true}
|
|
@@ -810,3 +810,27 @@ Category: debug, Feature: console, IsException: True
|
|
|
810
810
|
Method: GET, URL: http://localhost:5173/api/auth/user?user=admin&pool=libnsx1&mode=session
|
|
811
811
|
Category: http, Feature: database-api, IsException: True
|
|
812
812
|
|
|
813
|
+
[2025-02-26T15:16:17.684769+00:00] [info] APIDAO.post - REST: Failed POST API call
|
|
814
|
+
Method: POST, URL: http://localhost:5173/api/rest?pool=default&mode=session&api=1
|
|
815
|
+
Category: http, Feature: rest-api, IsException: True
|
|
816
|
+
|
|
817
|
+
[2025-02-26T16:00:40.041233+00:00] [info] APIDAO.post - REST: Failed POST API call
|
|
818
|
+
Method: POST, URL: http://localhost:5173/api/rest?pool=default&mode=session&api=1
|
|
819
|
+
Category: http, Feature: rest-api, IsException: True
|
|
820
|
+
|
|
821
|
+
[2025-02-26T16:27:09.583000+00:00] [info] APIDAO.post - REST: Failed POST API call
|
|
822
|
+
Method: POST, URL: http://localhost:5173/api/rest?pool=default&mode=session&api=1
|
|
823
|
+
Category: http, Feature: rest-api, IsException: True
|
|
824
|
+
|
|
825
|
+
[2025-02-27T08:55:05.093957+00:00] [info] APIDAO.post - REST: Failed POST API call
|
|
826
|
+
Method: POST, URL: http://localhost:5173/api/rest?pool=default&mode=session&api=1
|
|
827
|
+
Category: http, Feature: rest-api, IsException: True
|
|
828
|
+
|
|
829
|
+
[2025-02-27T08:55:26.916613+00:00] [info] APIDAO.post - REST: Failed POST API call
|
|
830
|
+
Method: POST, URL: http://localhost:5173/api/rest?pool=default&mode=session&api=1
|
|
831
|
+
Category: http, Feature: rest-api, IsException: True
|
|
832
|
+
|
|
833
|
+
[2025-02-27T08:56:25.275371+00:00] [info] APIDAO.post - REST: Failed POST API call
|
|
834
|
+
Method: POST, URL: http://localhost:5173/api/rest?pool=default&mode=session&api=1
|
|
835
|
+
Category: http, Feature: rest-api, IsException: True
|
|
836
|
+
|
|
Binary file
|
app/models/setup.py
CHANGED
|
@@ -14,4 +14,31 @@ SETUP_RESPONSE_EXAMPLE = {
|
|
|
14
14
|
"items": [],
|
|
15
15
|
"status": "success",
|
|
16
16
|
"count": 0
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
class CreateRequest(BaseModel):
|
|
20
|
+
host: str
|
|
21
|
+
port: int
|
|
22
|
+
database: str
|
|
23
|
+
user: str
|
|
24
|
+
password: str
|
|
25
|
+
|
|
26
|
+
CREATE_ERROR_MESSAGE = "Create database failed"
|
|
27
|
+
CREATE_RESPONSE_DESCRIPTION = "Create database successful"
|
|
28
|
+
CREATE_RESPONSE_EXAMPLE = {
|
|
29
|
+
"items": [],
|
|
30
|
+
"status": "success",
|
|
31
|
+
"count": 0
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
class DropRequest(BaseModel):
|
|
35
|
+
database: str
|
|
36
|
+
user: str
|
|
37
|
+
|
|
38
|
+
DROP_ERROR_MESSAGE = "Drop database failed"
|
|
39
|
+
DROP_RESPONSE_DESCRIPTION = "Drop Database successful"
|
|
40
|
+
DROP_RESPONSE_EXAMPLE = {
|
|
41
|
+
"items": [],
|
|
42
|
+
"status": "success",
|
|
43
|
+
"count": 0
|
|
44
|
+
}
|