mirror of https://github.com/apache/nifi.git
908e7d3131
- Removed host and port field from Peer since the same information is available in PeerDescription - Refactored variable names in SocketRemoteSiteListener to improve readability - Changed how SocketRemoteSiteListener constructs PeerDescription instance. It used to use hard-coded 'localhost' as hostname, and getPort() which returns server's port. Since the peer is a remote peer, i.e the client, it should be client hostname and port. - Added hostname resolution at DataTransferResource to make s2s.host value consistent with RAW transport. Without this, RAW uses hostname while HTTP uses IP address. It will be hard to be used from downstream flows. - Replaced heavy use of mockito which was difficult to maintain, with nifi-mock - Added SiteToSiteAttributes and more assertions in unit tests This closes #1342. Signed-off-by: Bryan Bende <bbende@apache.org> |
||
---|---|---|
.. | ||
nifi-data-provenance-utils | ||
nifi-expression-language | ||
nifi-flowfile-packager | ||
nifi-hadoop-utils | ||
nifi-hl7-query-language | ||
nifi-logging-utils | ||
nifi-processor-utilities | ||
nifi-properties | ||
nifi-schema-utils | ||
nifi-security-utils | ||
nifi-site-to-site-client | ||
nifi-socket-utils | ||
nifi-utils | ||
nifi-web-utils | ||
nifi-write-ahead-log | ||
pom.xml |