Commit d36a83e
authored
Migrate All lab helper methods to Key Vault/Region test migration. (#5606)
* Migrate GetArlingtonADFSUserAsync to Key Vault
- Replace direct msidlab.com API call with Key Vault data retrieval
- Use MergeKVLabDataAsync pattern consistent with other migrated methods
- Maintains same functionality while reducing external API dependencies
* Migrate Arlington methods to Key Vault
- Migrate GetArlingtonUserAsync to use MergeKVLabDataAsync with Key Vault secrets
- Migrate GetArlingtonADFSUserAsync to use MergeKVLabDataAsync with Key Vault secrets
- Replace direct msidlab.com API calls with pre-cached Key Vault data retrieval
- Maintains same functionality while reducing external API dependencies
- Uses consistent pattern with other migrated methods (B2C, default users)
- Arlington ADFS migration verified working in tests
- Arlington standard method has Key Vault data quality issue to be resolved separately
* Migrate CIAM tests to use Key Vault-based GetCIAMUserAsync method
- Added GetCIAMUserAsync() method in LabUserHelper using Key Vault secrets
- Updated all 4 CIAM integration tests to use new method instead of direct API calls
- Verified all tests pass with Key Vault cached data
- Improves reliability by removing dependency on msidlab.com API calls
* Clean up unused helper methods in LabUserHelper
- Remove GetLabUserDataAsync (only used by obsolete GetAdfsUserAsync)
- Remove GetAdfsUserAsync (no external callers, replaced by GetDefaultAdfsUserAsync)
- Remove GetHybridSpaAccontAsync (no external callers, test now uses GetDefaultUserWithMultiTenantAppAsync)
- Remove s_userCache field and System.Collections.Concurrent import (no longer needed)
- Update TODO comments to remove references to deleted methods
- All active functionality preserved, ~45 lines of obsolete code removed1 parent 287ef02 commit d36a83e
File tree
3 files changed
+13
-85
lines changed- tests
- Microsoft.Identity.Test.Integration.netcore
- HeadlessTests
- SeleniumTests
- Microsoft.Identity.Test.LabInfrastructure
3 files changed
+13
-85
lines changedLines changed: 4 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 35 | + | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
| |||
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 88 | + | |
97 | 89 | | |
98 | 90 | | |
99 | 91 | | |
| |||
158 | 150 | | |
159 | 151 | | |
160 | 152 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 153 | + | |
166 | 154 | | |
167 | 155 | | |
168 | 156 | | |
| |||
220 | 208 | | |
221 | 209 | | |
222 | 210 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 211 | + | |
228 | 212 | | |
229 | 213 | | |
230 | 214 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 59 | | |
70 | 60 | | |
71 | 61 | | |
| |||
Lines changed: 9 additions & 55 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
| |||
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 26 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 27 | | |
51 | 28 | | |
52 | 29 | | |
53 | | - | |
| 30 | + | |
54 | 31 | | |
55 | 32 | | |
56 | 33 | | |
| |||
166 | 143 | | |
167 | 144 | | |
168 | 145 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 146 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | 147 | | |
179 | 148 | | |
180 | 149 | | |
181 | | - | |
| 150 | + | |
182 | 151 | | |
183 | 152 | | |
184 | 153 | | |
185 | 154 | | |
186 | | - | |
| 155 | + | |
187 | 156 | | |
188 | 157 | | |
189 | 158 | | |
190 | 159 | | |
191 | 160 | | |
192 | 161 | | |
193 | | - | |
194 | | - | |
195 | | - | |
| 162 | + | |
196 | 163 | | |
197 | 164 | | |
198 | 165 | | |
199 | | - | |
200 | | - | |
| 166 | + | |
201 | 167 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 168 | + | |
217 | 169 | | |
| 170 | + | |
| 171 | + | |
218 | 172 | | |
219 | 173 | | |
220 | 174 | | |
221 | | - | |
| 175 | + | |
222 | 176 | | |
223 | 177 | | |
224 | 178 | | |
| |||
0 commit comments