nifi/nifi-commons
Koji Kawamura 908e7d3131
NIFI-2585: Add attributes to track s2s host and port
- 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>
2016-12-22 11:00:00 -05:00
..
nifi-data-provenance-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-expression-language NIFI-3206: Add ifElse function to Expression Language 2016-12-16 15:13:01 -05:00
nifi-flowfile-packager NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-hadoop-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-hl7-query-language NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-logging-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-processor-utilities NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-properties NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-schema-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-security-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-site-to-site-client NIFI-2585: Add attributes to track s2s host and port 2016-12-22 11:00:00 -05:00
nifi-socket-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-utils NIFI-2585 Moving attributes into loop in AbstractFlowFileServerProtocol, and also updating StandardRemoteGroupPort to apply the same attributes when doing a pull-based site-to-site. 2016-12-22 10:59:56 -05:00
nifi-web-utils NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
nifi-write-ahead-log NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00
pom.xml NIFI-3100-rc2 prepare for next development iteration 2016-11-25 23:49:27 -05:00