Commit cc520a7
change: New error handling APIs (merging v7 branch into master) (#465)
* Added core types for the error handling revamp (#350)
* Added core types for the error handling revamp
* Fixed copyright year
* Added ErrorHandlingHttpClient API (#353)
* Added core error handling abstractions
* Added unit tests for the new functionality
* Exposed getErrorCode as getErrorCodeNew
* Enabled error code assertions
* Error handling revamp for the FirebaseMessaging API (#357)
* Added core error handling abstractions
* Added unit tests for the new functionality
* Exposed getErrorCode as getErrorCodeNew
* Enabled error code assertions
* Error handling revamp for FCM APIs
* Cleaned up the FirebaseMessagingException
* Cleaned up the AbstractHttpErrorHandler class
* Updated tests
* Error handling revamp for FirebaseInstanceId API (#359)
* Delete instance ID API error handling revamp
* Added tests for IO and parse errors
* fix(auth): Migrated user management APIs to the new error handling scheme (#360)
* Error handling revamp in FirebaseUserManager
* Updated integration tests; Added documentation
* Assigning the correct ErrorCode for auth errors
* Moved AuthErrorHandler to a separate top-level class
* Error handling revamp for token verification APIs (#362)
* Error handling revamp for token verification APIs
* Updated javadocs
* Error handling revamp for the custom token creation API (#366)
* Error handlign revamp for the custom token creation API
* Using the correct authorized HTTP client for IAM requests
* Error handling revamp for the project management API (#367)
* Error handling revamp for the project management API
* Minor code and test cleanup
* Fixed some lint errors; Removed requestFactory reference from project mgt service impl
* Renamed getErrorCodeNew() to getErrorCode() (#379)
* Minor code and test cleanup
* Renamed getErrorCodeNew() to getErrorCode() in FirebaseException
* Fixing checkstyle error
* Fixing some deprecation warnings (#380)
* Handling IID error codes correctly (#381)
* Removed old deprecated APIs (#383)
* fix: Removed unused FirebaseAppStore abstraction (#427)
* fix: Removed unused FirebaseAppStore abstraction
* Using the keySet of App instances to populate the app names list
* chore: Removing redundant test dependency (#441)
* chore: Make user import hashing classes final (#425)
* chore: Merged with v7 branch with master (#456)
* fix(fcm): Replacing deprecated Batch API constructor (#460)
* fix: Handling http method override in ErrorHandlingHttpClient (#459)
* fix: Handling JSON serialization/response interception at ErrorHandlingHttpClient (#462)
* fix: Handling JSON serialization and response interception at ErrorHandlingHttpClient
* fix: Removing redundant method override header
* feat: Added new error codes for IdP management and multitenancy (#458)
* feat: Added new error codes for IdP management and multitenancy
* fix: Updated integration tests
* fix: Renamed helper method
* fix: Removing some calls to deprecated APIs (#464)
* chore: Support for specifying query parameters in HttpRequestInfo (#463)
* chore: Support for specifying query parameters in HttpRequestInfo
* fix: Removing redundant JsonObjectParser from HttpClient
* fix: Fixing a series of javadoc warnings (#466)
* fix: Made some APIs on AbstractFirebaseAuth.Builder package-protected for consistency
* Apply suggestions from code review
Co-authored-by: egilmorez <egilmore@google.com>
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
* fix: Minor updates to API ref docs based on code review comments
* fix: Fixing API doc wording
Co-authored-by: Horatiu Lazu <horatiulazu@gmail.com>
Co-authored-by: egilmorez <egilmore@google.com>
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>1 parent 36eb4ea commit cc520a7
File tree
124 files changed
+4687
-1797
lines changed- src
- main/java/com/google/firebase
- auth
- hash
- internal
- multitenancy
- database/core
- iid
- internal
- messaging
- internal
- projectmanagement
- test/java/com/google/firebase
- auth
- internal
- multitenancy
- cloud
- database
- collection
- core
- persistence
- integration
- utilities
- iid
- internal
- messaging
- projectmanagement
- snippets
- testing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
124 files changed
+4687
-1797
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | 480 | | |
487 | 481 | | |
488 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 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 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | | - | |
40 | 38 | | |
41 | 39 | | |
42 | 40 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
54 | | - | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| |||
121 | 117 | | |
122 | 118 | | |
123 | 119 | | |
124 | | - | |
125 | 120 | | |
126 | 121 | | |
127 | 122 | | |
| |||
221 | 216 | | |
222 | 217 | | |
223 | 218 | | |
224 | | - | |
225 | 219 | | |
226 | | - | |
227 | 220 | | |
228 | 221 | | |
229 | 222 | | |
230 | 223 | | |
231 | 224 | | |
232 | | - | |
| 225 | + | |
233 | 226 | | |
| 227 | + | |
234 | 228 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | 229 | | |
240 | 230 | | |
241 | 231 | | |
| |||
251 | 241 | | |
252 | 242 | | |
253 | 243 | | |
254 | | - | |
| 244 | + | |
255 | 245 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
| 246 | + | |
263 | 247 | | |
264 | | - | |
265 | | - | |
266 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
267 | 251 | | |
268 | 252 | | |
269 | 253 | | |
| |||
359 | 343 | | |
360 | 344 | | |
361 | 345 | | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 346 | | |
368 | 347 | | |
369 | 348 | | |
| |||
582 | 561 | | |
583 | 562 | | |
584 | 563 | | |
585 | | - | |
| 564 | + | |
586 | 565 | | |
587 | 566 | | |
588 | 567 | | |
589 | 568 | | |
590 | | - | |
| 569 | + | |
591 | 570 | | |
592 | 571 | | |
593 | 572 | | |
594 | 573 | | |
595 | | - | |
596 | | - | |
| 574 | + | |
597 | 575 | | |
598 | 576 | | |
599 | 577 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 41 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
30 | 51 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
34 | 59 | | |
35 | 60 | | |
36 | | - | |
37 | | - | |
38 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
39 | 70 | | |
40 | 71 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
226 | 236 | | |
227 | 237 | | |
228 | 238 | | |
| |||
249 | 259 | | |
250 | 260 | | |
251 | 261 | | |
252 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
253 | 268 | | |
254 | 269 | | |
255 | 270 | | |
256 | 271 | | |
257 | 272 | | |
258 | 273 | | |
259 | 274 | | |
| 275 | + | |
| 276 | + | |
260 | 277 | | |
| 278 | + | |
261 | 279 | | |
262 | 280 | | |
263 | 281 | | |
| |||
0 commit comments