Commit Graph

55 Commits

Author SHA1 Message Date
aa7920384c Merge pull request 'fix: add develop branch to push triggers in test workflow' (#7) from action-on-develop-too into main
All checks were successful
Test Runner / hello-world (push) Successful in 9s
Reviewed-on: http://192.168.0.16:3000/lborv/low-code-engine/pulls/7
2025-10-13 14:27:57 +00:00
91998f2fb2 fix: add develop branch to push triggers in test workflow 2025-10-13 17:27:39 +03:00
cd0d894a68 Merge pull request 'fix: remove unnecessary steps from test workflow' (#6) from fix-test-action into main
All checks were successful
Test Runner / hello-world (push) Successful in 19s
Reviewed-on: http://192.168.0.16:3000/lborv/low-code-engine/pulls/6
2025-10-13 14:26:37 +00:00
943b02c387 fix: remove unnecessary steps from test workflow 2025-10-13 17:25:35 +03:00
f00423eb8d Merge pull request 'fix: update runner environment to use ubuntu-latest in test workflow' (#5) from test_runner_test into main
All checks were successful
Test Runner / hello-world (push) Successful in 2m9s
Reviewed-on: http://192.168.0.16:3000/lborv/low-code-engine/pulls/5
2025-10-13 14:01:15 +00:00
aa77fb0440 fix: update runner environment to use ubuntu-latest in test workflow 2025-10-13 17:00:56 +03:00
8814a6314a Merge pull request 'feat: add initial test runner workflow for CI/CD integration' (#4) from test_runner into main
Some checks failed
Test Runner / hello-world (push) Has been cancelled
Reviewed-on: http://192.168.0.16:3000/lborv/low-code-engine/pulls/4
2025-10-13 13:57:40 +00:00
2de339418e feat: add initial test runner workflow for CI/CD integration 2025-10-13 16:56:53 +03:00
bddd808484 fix: update name extraction logic in QueryExecuterService to use the last item in the array 2025-10-13 16:39:19 +03:00
e327a8da85 feat: implement connection management in DatabasePlugin; add connection check in RedisPlugin; update session ID in runQuery test 2025-10-13 09:50:55 +03:00
73999de32e feat: enhance password generation method; improve connection pooling logic in DatabasePlugin; update test cases with correct tokens 2025-10-13 09:12:47 +03:00
c4755f5346 feat: implement connection pooling in DatabasePlugin for improved database connection management 2025-10-13 08:47:54 +03:00
126ba01549 fix: reorder guards in RedisManagerController to ensure proper authorization flow 2025-10-12 18:45:11 +03:00
b3060a7399 feat: implement password generation method; enhance database creation with secure password generation 2025-10-12 18:35:25 +03:00
967c89108a feat: implement logging enhancements; add projectId and queryId to log entity; update query and logger services for improved logging; refactor query execution to support call stack tracking 2025-10-11 19:36:43 +03:00
08a62fa2c5 feat: add isAdmin column to token entity; implement migration for isAdmin; enhance logging and error handling in query execution; update query plugin to support new logging structure 2025-10-11 17:59:06 +03:00
57e4a8b932 feat: add logging functionality with LoggerService; implement log entity and controller; enhance query processing with logging support 2025-10-11 16:21:03 +03:00
323fc6e817 refactor: streamline AdminGuard logic and remove commented code; clean up imports in BaseQueryController and QueryExecuterService 2025-10-10 16:47:58 +03:00
210253628c feat: implement session management with SessionService and SessionPlugin; refactor query execution to handle session cookies; update token and query handling for improved session tracking 2025-10-10 14:03:21 +03:00
5513dccc11 feat: add AdminGuard to DatabaseManagerController, ProjectController, and RedisManagerController for enhanced access control 2025-10-10 12:01:28 +03:00
5a15833080 feat: implement AdminGuard and QueryGuard for enhanced access control; refactor API and query handling; add deleteQuery method in QueryHandlerService; update QueryResponse type for improved response handling 2025-10-10 11:54:30 +03:00
ca134414b0 feat: enhance API and query handling with Redis caching; add QueryGuard for query validation; refactor services to utilize RedisClient for improved performance 2025-10-10 10:51:52 +03:00
45db65cec8 feat: create RedisNode migration and update Project and RedisNode entities to use JoinTable for many-to-many relationship 2025-10-09 19:57:17 +03:00
174dbbcdba feat: integrate RedisNode management into Project and Query services; enhance RedisNodeService with optimal node selection and connection options; update vm.constants to include RedisPlugin 2025-10-09 19:54:08 +03:00
c3189bb2df feat: refactor createDatabase method to remove databaseNodeId parameter and implement findOptimalNode in DatabaseNodeService for improved database node selection 2025-10-09 19:40:52 +03:00
e89af0dd20 feat: implement function management with FunctionEntity, FunctionService, and FunctionController; enhance QueryExecuterService to utilize functions; refactor CommandController and QueryController to extend BaseQueryController; update Vm class to handle functions; remove obsolete log entities 2025-10-09 19:35:30 +03:00
5b30b876e5 feat: enhance DatabaseManagerService and QueryExecuterService with timeout settings, add AxiosPlugin for HTTP requests, and update DatabasePlugin to use query method 2025-10-09 17:20:33 +03:00
0631e99886 feat: simplify global function assignment in Vm class and enable logging of results in case1-payload test 2025-10-09 13:04:38 +03:00
f357bc5e61 feat: enhance QueryPlugin run method with error handling and update logging in Vm class 2025-10-09 12:57:32 +03:00
dac008366a feat: update ApiTokenGuard to always allow access, add updateDatabase method to ProjectService, enhance QueryExecuterService with job options, integrate QueueModule in QueryModule, apply ApiTokenGuard to RedisManagerController, refactor Plugin class to include methods, implement new methods in RedisPlugin, and remove unused async.js module 2025-10-09 11:56:53 +03:00
6c95e9d5e0 feat: add logging entity and types for structured log records 2025-10-06 16:41:56 +03:00
67099969db feat: integrate BullMQ for query processing and add QueueModule 2025-10-06 16:32:28 +03:00
39c40013b2 feat: implement ApiTokenGuard for authentication and apply it to relevant controllers 2025-10-06 11:06:02 +03:00
1e84297e84 feat: enhance query execution with response handling and add QueryResponse type 2025-10-06 10:23:46 +03:00
efbb9f5c21 feat: implement command functionality with new CommandController, update Query entity, and enhance query execution with headers support 2025-10-02 10:02:44 +03:00
e53e3cf92c refactor: simplify plugin registration by removing unnecessary object structure 2025-09-29 21:03:49 +03:00
593acf2a9a Refactor VM and Plugin Management
- Removed the `plugins.constants.ts` file as it was no longer needed.
- Updated the `vm.class.ts` to improve result handling and logging.
- Introduced `vm.constants.ts` to manage registered plugins and modules.
- Simplified the test payload in `case1-payload.js` by removing unnecessary insert logic.
- Enhanced `case1.ts` to include database and migration setup, improving test clarity.
- Deleted unused functions for adding modules and plugins, streamlining the codebase.
2025-09-29 20:58:51 +03:00
1b552e651f Merge branch 'main' of http://192.168.0.16:3000/lborv/low-code-engine 2025-09-29 19:52:25 +03:00
5f24388394 feat: add Redis Manager module with controller, service, and entity; refactor app module imports 2025-09-29 13:32:03 +03:00
785a7bfe8e feat: enhance database management with new migration and database node functionalities, including CRUD operations and test cases 2025-09-27 23:41:32 +03:00
0d5b2830ed feat: implement Database Manager module with encryption, CRUD operations, and migration management 2025-09-27 18:06:50 +03:00
2f848137ed feat: implement Migration module with controller, service, and entity, including migration creation logic 2025-09-26 21:55:57 +03:00
6d88c21305 feat: add Migration entity, service, controller, and constants for migration management 2025-09-26 13:05:00 +03:00
07efa3b8df refactor: simplify async function calls in asyncCall and Vm class 2025-09-22 18:38:21 +03:00
fbbbd61838 DB 2025-09-22 18:35:02 +03:00
51f8b0d773 feat: implement Redis client and plugin with basic operations 2025-09-22 16:50:03 +03:00
5fbaca4659 feat: add global ConfigModule setup in DatabaseModule and remove from AppModule 2025-09-22 13:17:18 +03:00
5ffb9f3d9c feat: integrate Redis and Database modules with necessary dependencies 2025-09-22 13:14:19 +03:00
72b020b9f7 feat: add initial migration for token, project, module, query, and plugin tables 2025-09-22 12:55:35 +03:00
8eba1d1344 feat: enhance query handling with modules and plugins
- Added ManyToMany relationship for plugins in Query entity.
- Updated QueryExecuterController to accept structured query data.
- Enhanced QueryExecuterService to support plugin initialization and execution.
- Implemented QueryHandlerService methods for creating and updating queries, modules, and plugins.
- Introduced new endpoints for creating and adding modules and plugins to queries.
- Created Plugin base class and DatabasePlugin implementation for database interactions.
- Updated VM class to integrate plugin functionality during script execution.
- Added test cases for project, query, module, and plugin operations.
2025-09-21 01:07:51 +03:00