[
https://issues.apache.org/jira/browse/NIFI-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525858#comment-16525858
]
Koji Kawamura commented on NIFI-2030:
-------------------------------------
[~markap14] After NIFI-5146, NiFi stops supporting using both HTTP and HTTPS
port at the same time. Is it fine to close this now?
> Refactor how HTTP-based Site-to-Site ports are communicated
> -----------------------------------------------------------
>
> Key: NIFI-2030
> URL: https://issues.apache.org/jira/browse/NIFI-2030
> Project: Apache NiFi
> Issue Type: Task
> Components: Core Framework
> Affects Versions: 1.0.0
> Reporter: Mark Payne
> Priority: Major
>
> Currently, when clustered, the NodeIdentifier contains a field
> siteToSiteHttpApiPort but site-to-site should be enabled on both HTTP and
> HTTPS interfaces if both are made available. We should refactor
> NodeIdentifier so that it contains an apiPort and a secureApiPort and then
> when asked for the list of Peers for site-to-site, it should use the scheme
> of the given HTTP request to determine which port to return. I.e., if the
> request was made to https://myhost:443/site-to-site/peers then we should
> return the secure api port. If made to http://myhost:80/site-to-site/peers
> then we should return the non-secure api port.
> The fix version for this is marked as 1.0.0, but this should be backward
> compatible, so if it needs to slide from 1.0.0 it's not critical that it make
> it into this version.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)