Commit c082c77
committed
feat: Refactor NanoEdgeRT to support database-stored services and dynamic API handling
- Updated NanoEdgeRT to initialize with a database configuration and load services from the database.
- Removed file-based service support and adjusted service manager to handle database-stored service code.
- Introduced dynamic API handling for admin endpoints.
- Enhanced Swagger generator to use unknown types for paths and components.
- Added service permissions interface for better type management.
- Implemented integration tests for database configuration and service management.
- Created a test database utility for isolated testing.
- Removed outdated E2E tests and replaced them with integration tests focusing on dynamic API and service functionality.1 parent 14f9859 commit c082c77
File tree
28 files changed
+1512
-935
lines changed- .github/workflows
- database
- nanoedge
- services
- calculator
- hello
- src
- tests
- e2e
- integration
- unit
28 files changed
+1512
-935
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
9 | 34 | | |
10 | 35 | | |
11 | 36 | | |
| |||
Large diffs are not rendered by default.
This file was deleted.
0 commit comments