Skip to content

NIFI-13987 - Add SSL Context Service in GitHubFlowRegistryClient and GitLabFlowRegistryClient#10788

Merged
exceptionfactory merged 2 commits intoapache:mainfrom
pvillard31:NIFI-13987
Jan 20, 2026
Merged

NIFI-13987 - Add SSL Context Service in GitHubFlowRegistryClient and GitLabFlowRegistryClient#10788
exceptionfactory merged 2 commits intoapache:mainfrom
pvillard31:NIFI-13987

Conversation

@pvillard31
Copy link
Contributor

Summary

NIFI-13987 - Add SSL Context Service in GitHubFlowRegistryClient and GitLabFlowRegistryClient

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000
  • Pull request contains commits signed with a registered key indicating Verified status

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using ./mvnw clean install -P contrib-check
    • JDK 21
    • JDK 25

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

Copy link
Contributor

@exceptionfactory exceptionfactory left a comment

Choose a reason for hiding this comment

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

Thanks for putting this together @pvillard31. Most of the changes look good. I noted one recommendation to use the Java HttpClient instead of OkHttp.


// Configure OkHttp connector with SSL context if provided
if (builder.sslContextProvider != null) {
final OkHttpClient okHttpClient = new OkHttpClient.Builder()
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of using OkHttp, the HttpClientGitHubConnector implementation should avoid the additional dependency on OkHttp

Copy link
Contributor

@exceptionfactory exceptionfactory left a comment

Choose a reason for hiding this comment

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

Thanks for adjusting the GitHub Connector implementation @pvillard31, the latest version looks good. +1 merging

@exceptionfactory exceptionfactory merged commit 19d8ff0 into apache:main Jan 20, 2026
7 checks passed
mark-bathori pushed a commit to mark-bathori/nifi that referenced this pull request Feb 5, 2026
…tLabFlowRegistryClient (apache#10788)

Signed-off-by: David Handermann <exceptionfactory@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments