Commit 263f731
authored
Create profile wizard for Azure-Cli and OAuth (U2M) auth types (#990)
## Changes
* Show a wizard to create a profile after user selects the auth type.
* Select auth type
* Enter profile name (default is target name + uuid (optional in case
target name itself is not unique))
* Run through setup loop of the selected auth type.
* If successful write a profile (and create a backup of the existing
.databrickscfg).
* If not successful prompt user to select another auth type.
## Tests
* manual1 parent 007c096 commit 263f731
File tree
7 files changed
+569
-384
lines changed- packages/databricks-vscode/src
- cli
- configuration
- auth
- ui
7 files changed
+569
-384
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 100 | | |
115 | 101 | | |
116 | 102 | | |
| |||
171 | 157 | | |
172 | 158 | | |
173 | 159 | | |
174 | | - | |
175 | | - | |
176 | 160 | | |
177 | 161 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
| 162 | + | |
197 | 163 | | |
198 | 164 | | |
199 | 165 | | |
| |||
203 | 169 | | |
204 | 170 | | |
205 | 171 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | 172 | | |
211 | 173 | | |
212 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 32 | | |
40 | 33 | | |
41 | 34 | | |
| |||
137 | 130 | | |
138 | 131 | | |
139 | 132 | | |
140 | | - | |
| 133 | + | |
141 | 134 | | |
142 | 135 | | |
143 | 136 | | |
| |||
176 | 169 | | |
177 | 170 | | |
178 | 171 | | |
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 | 172 | | |
214 | 173 | | |
215 | 174 | | |
| |||
0 commit comments