-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Source Okta: add resource-sets (incremental supported) (#14700)
* Source Okta: add resource-sets (inremental supported) - stop using the deprecated method get_updated_state, use state property and state setter instead - the payload resource-sets is enveloped, _links.next.href contains the cursor * fix: change assert statement with flake formatting * fix unit tests * clean up get_updated_state overriding * rename and correct sample config * correct sample valid and invalid config * fake the token more * fix the invalid_config.json * change the order of stream, hopefully logs is run firstly * fix: remove log stream from configured catalog * fix: bump connector version on okta.md and Dockerfile * auto-bump connector version [ci skip] Co-authored-by: Sajarin <sajarindider@gmail.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
6d9ae93
commit d82632f
Showing
13 changed files
with
194 additions
and
31 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
8 changes: 6 additions & 2 deletions
8
airbyte-integrations/connectors/source-okta/integration_tests/invalid_config.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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"base_url": "invalid url", | ||
"token": "invalid token" | ||
"domain": "myorg", | ||
"start_date": "2022-07-22T00:00:00Z", | ||
"credentials": { | ||
"auth_type": "api_token", | ||
"api_token": "00uItIsFake_DoNotUseTheTokenEoxoRw_2" | ||
} | ||
} |
8 changes: 6 additions & 2 deletions
8
airbyte-integrations/connectors/source-okta/sample_files/config.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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
{ | ||
"base_url": "https://myorg.okta.com", | ||
"token": "xyz123foo325a.fbar" | ||
"domain": "myorg", | ||
"start_date": "2022-07-22T00:00:00Z", | ||
"credentials": { | ||
"auth_type": "api_token", | ||
"api_token": "00uItIsFake_DoNotUseTheTokenEoxoRw_2" | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
airbyte-integrations/connectors/source-okta/source_okta/schemas/resource_sets.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,63 @@ | ||
{ | ||
"properties": { | ||
"id": { | ||
"type": "string" | ||
}, | ||
"label": { | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"_links": { | ||
"properties": { | ||
"assignee": { | ||
"properties": { | ||
"self": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true, | ||
"properties": { | ||
"href": { | ||
"type": ["null", "string"] | ||
} | ||
}, | ||
"description": "gets this Resource Set" | ||
}, | ||
"resources": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true, | ||
"properties": { | ||
"href": { | ||
"type": ["null", "string"] | ||
} | ||
}, | ||
"description": "gets a paginable list of resources included in this set" | ||
}, | ||
"bindings": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true, | ||
"properties": { | ||
"href": { | ||
"type": ["null", "string"] | ||
} | ||
}, | ||
"description": "gets a paginable list of admin Role Bindings assigned to this set" | ||
}, | ||
"next": { | ||
"type": ["null", "object"], | ||
"additionalProperties": true, | ||
"properties": { | ||
"href": { | ||
"type": ["null", "string"] | ||
} | ||
}, | ||
"description": "the link for the next page, 'after' is the query string, the cursor field is id" | ||
} | ||
} | ||
} | ||
}, | ||
"type": ["object", "null"] | ||
} | ||
}, | ||
"type": "object" | ||
} |
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