-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Artem1205/lowcode cdk authenticator schemaloader (#19718)
* CDK low-code: Add token_expiry_date_format to OAuth Authenticator * CDK low-code: Resolve ref schema * CDK low-code: Resolve ref schema * CDK low-code: Resolve ref schema * CDK low-code: Add test for token_expiry_date_format * CDK low-code: set initial time before refresh request * CDK low-code: Add test schema loader * CDK low-code: Add test dependencies * CDK low-code: Refactor JsonFileSchemaLoader (inherit from original CDK) * CDK low-code: Fix SingleUseRefreshTokenOauth2Authenticator (add token_expiry_date_format) * CDK low-code: Fix tests * CDK low-code: Refactor import * CDK low-code: Refactor JsonFileSchemaLoader * CDK low-code: format
- Loading branch information
Showing
10 changed files
with
97 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...e-cdk/python/unit_tests/sources/declarative/schema/source_test/schemas/sample_stream.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": ["null", "object"], | ||
"properties": { | ||
"type": { | ||
"$ref": "sample_shared_schema.json" | ||
}, | ||
"id": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...nit_tests/sources/declarative/schema/source_test/schemas/shared/sample_shared_schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": ["null", "object"], | ||
"properties": { | ||
"id_internal": { | ||
"type": ["null", "integer"] | ||
}, | ||
"name": { | ||
"type": ["null", "string"] | ||
} | ||
} | ||
} |