Skip to content

feat: Add JSON Schema to Okta source plugin#16493

Merged
kodiakhq[bot] merged 8 commits into
mainfrom
feat/jsonschema/okta
Feb 5, 2024
Merged

feat: Add JSON Schema to Okta source plugin#16493
kodiakhq[bot] merged 8 commits into
mainfrom
feat/jsonschema/okta

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented Feb 2, 2024

Closes #16453

@disq disq requested review from a team, bbernays and candiduslynx and removed request for a team and bbernays February 2, 2024 16:10
Comment thread plugins/source/okta/client/schema.json
Comment thread plugins/source/okta/client/spec.go
Comment thread plugins/source/okta/client/spec/gen/main.go
Comment thread plugins/source/okta/client/spec.go Outdated
Comment thread plugins/source/okta/docs/overview.md Outdated
Comment thread plugins/source/okta/go.mod
@disq disq requested a review from candiduslynx February 2, 2024 20:52
Copy link
Copy Markdown
Contributor

@candiduslynx candiduslynx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think it's a good time to just drop the env var in a separate PR, then rebase & reintroduce token as a required param

Comment thread plugins/source/okta/client/spec_test.go Outdated
},
{
Name: "spec with token and domain and zero rate limit",
Spec: `{"token": "tok", "domain": "https://domain.okta.com", "rate_limit": {"max_backoff": 0}}`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in e8180cc

Comment thread plugins/source/okta/client/spec_test.go Outdated
},
{
Name: "spec with token and domain and invalid rate limit",
Spec: `{"token": "tok", "domain": "https://domain.okta.com", "rate_limit": {"max_backoff": true}}`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove token from tests (only leave for the tests that are actually testing token)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or merge #16498 & reintroduce requirement for token (better IMO)

@candiduslynx
Copy link
Copy Markdown
Contributor

@disq now that the #16498 is merged, you'll need to merge/rebase the branch & require token once again

@disq disq requested a review from candiduslynx February 5, 2024 09:45
@disq disq added the automerge Automatically merge once required checks pass label Feb 5, 2024
@kodiakhq kodiakhq Bot merged commit 75ce0ab into main Feb 5, 2024
@kodiakhq kodiakhq Bot deleted the feat/jsonschema/okta branch February 5, 2024 10:51
kodiakhq Bot pushed a commit that referenced this pull request Feb 6, 2024
🤖 I have created a release *beep* *boop*
---


## [4.0.0](plugins-source-okta-v3.2.18...plugins-source-okta-v4.0.0) (2024-02-06)


### ⚠ BREAKING CHANGES

* Remove support for deprecated `OKTA_API_TOKEN` environment variable ([#16498](#16498))

### Features

* Add JSON Schema to Okta source plugin ([#16493](#16493)) ([75ce0ab](75ce0ab))


### Bug Fixes

* **deps:** Update golang.org/x/exp digest to 1b97071 ([#16419](#16419)) ([6d77cd1](6d77cd1))
* **deps:** Update google.golang.org/genproto/googleapis/api digest to 1f4bbc5 ([#16421](#16421)) ([9489931](9489931))
* **deps:** Update google.golang.org/genproto/googleapis/rpc digest to 1f4bbc5 ([#16422](#16422)) ([74e98fc](74e98fc))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.27.0 ([#16237](#16237)) ([3fcdab0](3fcdab0))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.27.1 ([#16296](#16296)) ([ab4a0da](ab4a0da))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.27.2 ([#16342](#16342)) ([f3eb857](f3eb857))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.28.0 ([#16362](#16362)) ([9166b6b](9166b6b))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.29.0 ([#16395](#16395)) ([fb1102e](fb1102e))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.29.1 ([#16430](#16430)) ([738e89f](738e89f))
* Remove support for deprecated `OKTA_API_TOKEN` environment variable ([#16498](#16498)) ([25303df](25303df))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/plugin/source/okta automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add JSON schema to plugins/source/okta

3 participants