Skip to content
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

feat(ingest/nifi): kerberos authentication #8097

Merged
merged 13 commits into from
May 24, 2023

Conversation

mayurinehate
Copy link
Collaborator

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label May 22, 2023
Copy link
Collaborator

@asikowitz asikowitz left a comment

Choose a reason for hiding this comment

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

Mainly concerned about the addition of ruamel.yaml as a dependency for all sources. Otherwise LGTM

metadata-ingestion/src/datahub/ingestion/source/nifi.py Outdated Show resolved Hide resolved
@@ -57,7 +57,7 @@ def get_long_description():
"requests_file",
"jsonref",
"jsonschema",
"ruamel.yaml"
"ruamel.yaml",
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's this for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

formatting with black added this comma.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oops lol

asikowitz
asikowitz previously approved these changes May 23, 2023
@@ -112,13 +116,30 @@ class NifiSourceConfig(EnvConfigMixin):

# Required to be set if nifi server certificate is not signed by
# root CA trusted by client system, e.g. self-signed certificates
ca_file: Optional[str] = Field(
ca_file: Optional[Union[bool, str]] = Field(
Copy link
Collaborator

Choose a reason for hiding this comment

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

How is this a bool?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In case, we do not wish to provide the certificate but simply disable the ssl verification, this can be set to False.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Passed as verify flag on requests api .

metadata-ingestion/src/datahub/ingestion/source/nifi.py Outdated Show resolved Hide resolved
metadata-ingestion/docs/sources/nifi/nifi.md Outdated Show resolved Hide resolved
metadata-ingestion/src/datahub/ingestion/source/nifi.py Outdated Show resolved Hide resolved
@asikowitz asikowitz dismissed their stale review May 23, 2023 21:31

Should remove pdb call first

@asikowitz
Copy link
Collaborator

rip I think the merge pre-empted itself :( only 1 test was left

@asikowitz asikowitz merged commit 84270bc into datahub-project:master May 24, 2023
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants