Commit 27594a8
authored
Bugfix/jdbc UI (#124)
* fix(ui): missing dbtable in connection options for jdbc connection
* feat(build): build for different os architectures and fix link for downloads
* feat(ui): implement dynamic API configuration and replace fetch calls with apiFetch for improved error handling
* doc(changelog): update changelog with hostname resolution fix
* fix: add in multiline pipe for build.yml
* feat(build): enhance versioning and publishing logic in Docker action and GitHub workflow
- Updated docker-action.sh to determine version based on branch and commit hash.
- Added conditional logic to publish to Maven only on the main branch.
- Modified build.yml to set version dynamically based on the branch, supporting feature and bugfix branches.
* fix: change pattern for linux artifact names
* fix: change pattern for linux artifact names
* fix: add in cors handler
* feat(connection): implement connection testing functionality and enhance connection management
- Added connection testing feature in the UI, allowing users to test connections before saving.
- Updated Connection model to include source information for connections (file or config).
- Enhanced ConnectionRepository to manage connections from files and application.conf, ensuring proper handling of deletable and non-deletable connections.
- Introduced ConnectionTestService to handle various connection types and provide detailed test results.
- Updated UI components to reflect connection source and added test buttons for existing connections.
* doc: update changelog for 0.17.3
* feat(ui): implement toast history management and error detail modal
- Added functionality to manage toast notifications history, allowing users to view past notifications.
- Introduced a modal for displaying detailed error messages, enhancing user experience during error handling.
- Updated UI components to include a button for accessing toast history and integrated event listeners for modal interactions.
- Refactored existing toast creation logic to support history tracking and badge updates.
- Added unit tests for toast history functions to ensure reliability and correctness.
* feat(cors): enhance CORS configuration and logging
- Introduced configurable CORS settings via environment variables, allowing for stricter security controls.
- Updated PlanRoutes to log CORS configuration at startup for better visibility.
- Refactored connection testing service to utilize a shared SparkSession, improving performance and resource management.
- Fixed foreign key property name handling to align with backend expectations, ensuring proper loading of foreign key links in the UI.
* feat(ui): update navigation and add shutdown confirmation modal
- Replaced shutdown link with a button that triggers a confirmation modal to prevent accidental server shutdowns.
- Moved toast history button to the navigation bar for better accessibility and to avoid overlap with page content.
- Removed unused login button from the UI to streamline the interface.
* feat(cache): implement cache control for static UI resources
- Added Cache-Control headers to responses for static UI resources, setting a max-age of 1 day and requiring revalidation.
- Updated routes in PlanRoutes to include cache control for HTML and SVG resources, improving performance and resource management.
* fix(ui): improve error handling in login and plan execution
- Updated error handling in saveCredentials and executePlan functions to throw errors instead of rejecting promises, enhancing error propagation and debugging capabilities.
- This change ensures that errors are properly caught and logged, improving overall reliability of the UI components.
* fix: only log record count below expected count when it doesn't match, add in format for jdbc connections from config, use separate config file for integration tests1 parent 998e146 commit 27594a8
File tree
41 files changed
+11181
-316
lines changed- .github/workflows
- app/src
- integrationTest/scala/io/github/datacatering/datacaterer/core/ui/plan
- main
- resources
- ui
- connection
- history
- plan
- scala/io/github/datacatering/datacaterer/core
- config
- generator
- ui
- config
- model
- plan
- service
- test
- js
- resources
- scala/io/github/datacatering/datacaterer/core/ui/plan
- docs/use-case/changelog
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+11181
-316
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
16 | 33 | | |
17 | 34 | | |
18 | 35 | | |
| |||
27 | 44 | | |
28 | 45 | | |
29 | 46 | | |
| 47 | + | |
| 48 | + | |
30 | 49 | | |
31 | 50 | | |
32 | 51 | | |
| |||
58 | 77 | | |
59 | 78 | | |
60 | 79 | | |
61 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
62 | 92 | | |
63 | 93 | | |
64 | 94 | | |
| |||
90 | 120 | | |
91 | 121 | | |
92 | 122 | | |
93 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
94 | 135 | | |
95 | 136 | | |
96 | 137 | | |
| |||
113 | 154 | | |
114 | 155 | | |
115 | 156 | | |
116 | | - | |
| 157 | + | |
117 | 158 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 159 | + | |
128 | 160 | | |
129 | 161 | | |
130 | 162 | | |
131 | 163 | | |
132 | 164 | | |
133 | 165 | | |
134 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
135 | 178 | | |
136 | 179 | | |
137 | 180 | | |
| |||
143 | 186 | | |
144 | 187 | | |
145 | 188 | | |
146 | | - | |
| 189 | + | |
147 | 190 | | |
148 | | - | |
149 | | - | |
150 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
151 | 268 | | |
152 | 269 | | |
153 | | - | |
154 | | - | |
| 270 | + | |
| 271 | + | |
155 | 272 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
122 | 157 | | |
123 | 158 | | |
124 | 159 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | 117 | | |
0 commit comments