Commit d330fd3
authored
feat: migrate to the deepnote/database-integrations package (#158)
* refactor: rename IntegrationConfig to LegacyIntegrationConfig
* replace notebook scanning for integrations with full project integration list
* move duckdb integration inclusion from env var provider to integration storage
* fix: scope integrations for env vars by the open project
* consolidate duckdb and other integration processing
* add `@deepnote/database-integrations` package
* fix import restriction violations in integration env var logic
* rename IntegrationType to LegacyIntegrationType
* add legacy integration config upgrading logic
* prefix integration config types with "legacy" to differentiate from new
* migrate integration storage to format of deepnote/database-integrations
* replace integration env var logic with deepnote/database-integrations
* prevent saving and loading of duckdb integrations via integration storage
* migrate all components to the new database integration config format
* localize "unsupported integration type" message
* test: add tests for updated sql env var provider
* test: add tests for updated integrationStorage
* test: add tests for legacy->new config conversions
* fix tests
* fix postgres ssl flag migration from legacy config
* use node assert in SQL env var tests
* update INTEGRATIONS_CREDENTIALS document
* upgrade deepnote/database-integrations (fix snowflake URL construction)1 parent 4e1645d commit d330fd3
File tree
27 files changed
+2647
-1721
lines changed- src
- notebooks
- deepnote
- integrations
- platform
- common/utils
- notebooks/deepnote
- webviews/webview-side/integrations
27 files changed
+2647
-1721
lines changedLarge diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2455 | 2455 | | |
2456 | 2456 | | |
2457 | 2457 | | |
| 2458 | + | |
2458 | 2459 | | |
2459 | 2460 | | |
2460 | 2461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
| |||
Lines changed: 8 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 5 | + | |
12 | 6 | | |
| 7 | + | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
| |||
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
43 | | - | |
| 38 | + | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
47 | 42 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
64 | 46 | | |
65 | 47 | | |
66 | 48 | | |
67 | 49 | | |
68 | 50 | | |
69 | | - | |
70 | 51 | | |
71 | | - | |
| 52 | + | |
72 | 53 | | |
73 | 54 | | |
74 | 55 | | |
75 | | - | |
| 56 | + | |
76 | 57 | | |
77 | 58 | | |
78 | 59 | | |
| |||
Lines changed: 10 additions & 60 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 8 | + | |
16 | 9 | | |
| 10 | + | |
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
| |||
143 | 137 | | |
144 | 138 | | |
145 | 139 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 140 | | |
155 | 141 | | |
156 | 142 | | |
| |||
164 | 150 | | |
165 | 151 | | |
166 | 152 | | |
167 | | - | |
| 153 | + | |
168 | 154 | | |
169 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
170 | 160 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 161 | + | |
181 | 162 | | |
182 | 163 | | |
183 | 164 | | |
| |||
196 | 177 | | |
197 | 178 | | |
198 | 179 | | |
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 | 180 | | |
This file was deleted.
Lines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 10 | + | |
| 11 | + | |
17 | 12 | | |
18 | 13 | | |
19 | 14 | | |
| |||
182 | 177 | | |
183 | 178 | | |
184 | 179 | | |
185 | | - | |
| 180 | + | |
| 181 | + | |
186 | 182 | | |
187 | 183 | | |
188 | 184 | | |
| |||
221 | 217 | | |
222 | 218 | | |
223 | 219 | | |
224 | | - | |
| 220 | + | |
225 | 221 | | |
226 | 222 | | |
227 | 223 | | |
| |||
263 | 259 | | |
264 | 260 | | |
265 | 261 | | |
266 | | - | |
| 262 | + | |
267 | 263 | | |
268 | 264 | | |
269 | 265 | | |
| |||
349 | 345 | | |
350 | 346 | | |
351 | 347 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
356 | 351 | | |
357 | 352 | | |
358 | 353 | | |
359 | 354 | | |
360 | 355 | | |
361 | 356 | | |
362 | | - | |
| 357 | + | |
363 | 358 | | |
364 | 359 | | |
365 | 360 | | |
| |||
0 commit comments