[NO ISSUE][STO] Use actual server address in RequestReference
authorMurtadha Hubail <mhubail@apache.org>
Fri, 4 Sep 2020 11:22:15 +0000 (14:22 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Tue, 8 Sep 2020 18:24:41 +0000 (18:24 +0000)
commit0ae8aeb10d50cf8041d9287afd82f2a098f68082
tree498bbec3f25ce273daf1116f76b084fdf60fa504
parent0eeb356dd39dada3bdcb480b9ec29b0d58980f88
[NO ISSUE][STO] Use actual server address in RequestReference

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:

- Add server local address to IServletRequest.
- Use actual server address in IRequestReference rather
  than fixed node name.

Change-Id: I8ff2f4e83ffe1a75753b89e68cae2a9264bdf20b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7823
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
asterixdb/asterix-algebra/src/main/java/org/apache/asterix/translator/Receptionist.java
asterixdb/asterix-app/src/main/java/org/apache/asterix/hyracks/bootstrap/CCApplication.java
asterixdb/asterix-app/src/main/java/org/apache/asterix/hyracks/bootstrap/NCApplication.java
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/api/IServletRequest.java
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/BaseRequest.java
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/FormUrlEncodedRequest.java