Commit 2dee8e4
authored
fix: DomainValidationStatus.FAILED_TO_VERIFY, DevicePostureChecks.include typing, ApplicationGrantsIT CI fix (#1700)
* fix: add missing DomainValidationStatus.FAILED_TO_VERIFY and fix DevicePostureChecks.include typing
- DomainValidationStatus was missing FAILED_TO_VERIFY, a real value the
Okta API returns for domain validation responses. Without it,
Jackson fell back to UNKNOWN_DEFAULT_OPEN_API and the original value
was lost. (OKTA-1226428)
- DevicePostureChecks.include had no items type in the spec, so the
generator defaulted to List<String> while the real shape is a list
of {variableName, value} pairs. Added a DevicePostureCheckMapping
schema and typed include as List<DevicePostureCheckMapping>.
(OKTA-1221543)
Co-Authored-By: Claude Code
* fix(it): treat 500/501 from getScopeConsentGrant/revokeScopeConsentGrant as feature-unavailable
testGetNonExistentGrantError / testRevokeNonExistentGrantError already
had an outer catch acknowledging 500/501 as "OAuth grants not
available", but that only covered exceptions thrown outside the inner
try/catch. When the grant call itself returned 500 (observed in CI on
master post-merge, ApplicationGrantsIT.testGetNonExistentGrantError),
it was caught into the local `exception` variable and then failed the
"should return 404" assertion instead of being recognized as the same
acknowledged case. Apply the same 500/501 check to that inner
exception.
Co-Authored-By: Claude Code1 parent eb5d681 commit 2dee8e4
4 files changed
Lines changed: 121 additions & 10 deletions
File tree
- api/src/test/java/com/okta/sdk/resource/model
- integration-tests/src/test/groovy/com/okta/sdk/tests/it
- src/swagger
Lines changed: 44 additions & 0 deletions
| 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 | + | |
Lines changed: 38 additions & 0 deletions
| 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 | + | |
Lines changed: 24 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
| 440 | + | |
| 441 | + | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
446 | 453 | | |
447 | 454 | | |
448 | 455 | | |
| |||
470 | 477 | | |
471 | 478 | | |
472 | 479 | | |
473 | | - | |
474 | | - | |
| 480 | + | |
| 481 | + | |
475 | 482 | | |
476 | | - | |
477 | | - | |
478 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
479 | 493 | | |
480 | 494 | | |
481 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64042 | 64042 | | |
64043 | 64043 | | |
64044 | 64044 | | |
| 64045 | + | |
| 64046 | + | |
| 64047 | + | |
| 64048 | + | |
| 64049 | + | |
| 64050 | + | |
| 64051 | + | |
| 64052 | + | |
| 64053 | + | |
| 64054 | + | |
| 64055 | + | |
| 64056 | + | |
64045 | 64057 | | |
64046 | 64058 | | |
64047 | 64059 | | |
| |||
64053 | 64065 | | |
64054 | 64066 | | |
64055 | 64067 | | |
| 64068 | + | |
| 64069 | + | |
64056 | 64070 | | |
64057 | 64071 | | |
64058 | 64072 | | |
| |||
64422 | 64436 | | |
64423 | 64437 | | |
64424 | 64438 | | |
| 64439 | + | |
64425 | 64440 | | |
64426 | 64441 | | |
64427 | 64442 | | |
| |||
0 commit comments