* Expected Records to `.jsonl` format
* fix formatting template
* remove endline
* update templates
* Update docs/connector-development/testing-connectors/source-acceptance-tests-reference.md
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
* 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>
* Source Okta: add permission stream under a custom role
- it supports full refresh only
- add unit tests
* bump connector version
* bump connector version in 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>
* add statuses to user filtering
* bump version
* upd
* add comment
* auto-bump connector version [ci skip]
* format
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
* Add User_Role_Assignments and Group_Role_Assignments stream
- it's all about okta source connector
- these 2 API streams don't support the sync mode incremental, the api doesn's mention cursor or pagination for these 2 APIs
- add $id to shared schema, rename shared schema
* formatted
* chore: added connector to definitions
* auto-bump connector version [ci skip]
Co-authored-by: Harshith Mullapudi <harshithmullapudi@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
* add Group_Members stream to okta source
- Group_Members return a list of users, the same schema of Users stream.
- Create a shared schema users, and both group_members and users sechema use it as a reference.
- Add Group_Members stream to source connector
* add tests and fix logs schema
- fix the test error: None is not one of enums though the enum type includes both string and null, it comes from json schema validator
ddb87afad8/jsonschema/_validators.py (L279-L285)
- change grouop_members to use id as the cursor field since `filter` is not supported in the query string
- fix the abnormal state test on logs stream, when since is abnormally large, until has to defined, an equal or a larger value
- remove logs stream from full sync test, because 2 full sync always has a gap -- at least a new log about users or groups api.
* last polish before submit the PR
- bump docker version
- update changelog
- add the right abnormal value for logs stream
- correct the sample catalog
* address comments::
- improve comments for until parameter under the logs stream
- add use_cache on groupMembers
* add use_cache to Group_Members
* change configured_catalog to test
* auto-bump connector version
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
source-acceptance-test framework not longer required json_schema parameters
from catalog file. This parameter is verbose, makes reading config file
complicated and could be misleading when debugging acceptance test issues.
Co-authored-by: Dmytro Rezchykov <dmitry.rezchykov@zazmic.com>