-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source-okta: add custom roles stream #14610
Conversation
db83187
to
06ba96c
Compare
Thank for your contribution @YiyangLi , I formatted the code and will now run the acceptance tests. |
/test connector=connectors/source-okta
Build FailedTest summary info:
Build FailedTest summary info:
|
- add custom roles, which supports full refresh only
14f2e47
to
b0241ed
Compare
@alafanechere can you try to run the test again? If you don't have a custom role in your test okta org, the acceptance test will throw an error on the basic test that expects at least one record on Custom Role, the new stream I create in this PR. The following are the steps to create one.
it's safe to create a role, as long as it's not assigned to a user or a group, there is no effect. |
/test connector=connectors/source-okta
Build PassedTest summary info:
|
|
/publish connector=connectors/source-okta
if you have connectors that successfully published but failed definition generation, follow step 4 here
if you have connectors that successfully published but failed definition generation, follow step 4 here |
What
How
In okta, each org is allowed to create at most 100 custom roles. The custom roles API returns at most 100 roles. Though the doc says the response is paginated, but the pagination strategy is not specified. Created 100 roles in my test org, and all roles are returned in one request.
Also, unlike users, groups and logs, the payload of roles is enveloped. The response is an object with a key of
roles
, and the value is an array of custom role.Recommended reading order
source.py
🚨 User Impact 🚨
no impact, it's a new API stream
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changesTests
Unit
Integration
Acceptance