-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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): add support for basic auth in nifi #8457
feat(ingest/nifi): add support for basic auth in nifi #8457
Conversation
@@ -667,41 +669,8 @@ def fetch_provenance_events( | |||
of processor type {processor.type}, Start date: {startDate}, End date: {endDate}" | |||
) | |||
|
|||
older_version: bool = self.nifi_flow.version is not None and version.parse( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refractored into separate method.
@@ -1001,8 +1035,6 @@ def get_workunits_internal(self) -> Iterable[MetadataWorkUnit]: | |||
self.report.report_failure(self.config.site_url, "Failed to authenticate") | |||
return | |||
|
|||
self.session.headers.update({"Content-Type": "application/json"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not required. Most of the nifi requests connector calls accept content-type: */*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Cypress tests should be unaffected by these changes, merging |
Checklist