Commit f8bd882
authored
feat(api): Add logging endpoints and reverse proxy configuration (#307)
* feat(api): Add logging endpoints and reverse proxy configuration
- Introduced new endpoints for retrieving system logs and streaming logs via WebSocket.
- Added endpoint to fetch orchestrator host system logs.
- Implemented endpoint for retrieving orchestrator host reverse proxy configuration.
- Updated error response structure across various endpoints to use "error" instead of "message".
- Enhanced API documentation to reflect the new endpoints and changes in response formats.
feat(catalog): Implement compression options for manifest files
- Added support for compressing manifest files during the generation process.
- Introduced new fields in the PushCatalogManifestRequest model to handle compression options.
- Updated the manifest generation logic to calculate original and packed sizes, and log compression details.
feat(pdfile): Implement new command processors for VM import functionality
- Added command processors for handling new PDFile commands: COMPRESS_PACK, FORCE, IS_COMPRESSED, VM_REMOTE_PATH, VM_SIZE, and VM_TYPE.
- Implemented the runImportVM function to handle the import of VMs with the new parameters.
- Enhanced validation logic to ensure proper handling of new command arguments.
refactor(api): Improve API documentation extraction logic
- Refactored the logic for extracting API documentation from Go files to improve clarity and maintainability.
- Added module information retrieval to enhance the handling of import paths in the documentation process.
* Add CompressPackLevelCommandProcessor and helper functions for float rounding
- Implemented CompressPackLevelCommandProcessor to handle the COMPRESS_PACK_LEVEL command.
- Added error handling for missing and invalid arguments.
- Introduced a helper function to round float values with specified precision.1 parent eaa0188 commit f8bd882
File tree
62 files changed
+3032
-1050
lines changed- docs
- _data
- _layouts
- _plugins
- _sass
- docs/devops
- catalog
- restapi
- endpoints2
- endpoints
- reference
- api_keys
- authorization
- catalogs
- claims
- config
- machines
- orchestrator
- packer_templates
- reverseproxy
- roles
- users
- rest-api/general
- src
- api_documentation/package
- helpers
- catalog
- models
- config
- constants
- controllers
- data
- helpers
- pdfile
- models
- processors
- serviceprovider
- apiclient
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+3032
-1050
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | | - | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
24 | 49 | | |
25 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
26 | 66 | | |
27 | 67 | | |
28 | 68 | | |
29 | 69 | | |
30 | 70 | | |
31 | 71 | | |
32 | | - | |
| 72 | + | |
33 | 73 | | |
34 | 74 | | |
35 | 75 | | |
36 | 76 | | |
37 | 77 | | |
38 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
39 | 84 | | |
40 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
41 | 130 | | |
42 | 131 | | |
43 | 132 | | |
44 | 133 | | |
45 | 134 | | |
46 | 135 | | |
47 | | - | |
48 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
49 | 139 | | |
50 | 140 | | |
51 | | - | |
52 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
53 | 144 | | |
54 | 145 | | |
55 | | - | |
56 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
57 | 149 | | |
58 | 150 | | |
59 | 151 | | |
60 | 152 | | |
61 | 153 | | |
62 | 154 | | |
63 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
64 | 159 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
68 | 171 | | |
69 | 172 | | |
70 | | - | |
71 | | - | |
72 | 173 | | |
73 | 174 | | |
74 | 175 | | |
75 | | - | |
| 176 | + | |
| 177 | + | |
76 | 178 | | |
77 | | - | |
78 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
79 | 190 | | |
| 191 | + | |
80 | 192 | | |
81 | | - | |
| 193 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| |||
1134 | 1140 | | |
1135 | 1141 | | |
1136 | 1142 | | |
1137 | | - | |
| 1143 | + | |
0 commit comments