Skip to content

Commit

Permalink
rebased, formatted and remove empty_streams
Browse files Browse the repository at this point in the history
  • Loading branch information
YiyangLi committed Jul 13, 2022
1 parent f7cccba commit b0241ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ tests:
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
empty_streams: ["logs"]
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ class Users(IncrementalOktaStream):
def path(self, **kwargs) -> str:
return "users"


class CustomRoles(OktaStream):
primary_key = "id"

Expand All @@ -202,6 +203,7 @@ def parse_response(
) -> Iterable[Mapping]:
yield from response.json()["roles"]


class SourceOkta(AbstractSource):
def initialize_authenticator(self, config: Mapping[str, Any]) -> TokenAuthenticator:
return TokenAuthenticator(config["token"], auth_method="SSWS")
Expand Down

0 comments on commit b0241ed

Please sign in to comment.