Change default DMaaP hostname 05/32305/1
authorLusheng Ji <lji@research.att.com>
Tue, 20 Feb 2018 19:42:49 +0000 (14:42 -0500)
committerLusheng Ji <lji@research.att.com>
Tue, 20 Feb 2018 19:42:56 +0000 (14:42 -0500)
commit438257ad8f86b742935f2f44eaa6a6eb077d9336
tree4af0f4541c0a15ed830927a572f22011f4098bdf
parent06432142579c09ac49443f4bf7c6d72d61afb974
Change default DMaaP hostname

The changes are for the purpose of allowing DMAAPHOST environmental
variable to accept either hostname and IP address.  If it is IP
address, the resolution for default dmaap hostname is written to
/etc/hosts; if hostname,an alias is created in /etc/host.aliases
for the default dmaap hostname.
(for the hostname aliasing to work, chnage default dmaap hostname
to onap-dmaap, no domain).

Change-Id: I58583cc5b678a29b54d8baecbd0b7bec621f7c8f
Signed-off-by: Lusheng Ji <lji@research.att.com>
Issue-ID: DCAEGEN2-235
Dockerfile
etc/DmaapConfig.json
src/main/scripts/docker-entry.sh