From 438257ad8f86b742935f2f44eaa6a6eb077d9336 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Tue, 20 Feb 2018 14:42:49 -0500 Subject: 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 Issue-ID: DCAEGEN2-235 --- etc/DmaapConfig.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/DmaapConfig.json b/etc/DmaapConfig.json index f144b382..529f314a 100644 --- a/etc/DmaapConfig.json +++ b/etc/DmaapConfig.json @@ -6,7 +6,7 @@ "class": "HpCambriaOutputStream", "stripHpId": "true", "type": "out", - "cambria.hosts": "onap.dmaap.org" + "cambria.hosts": "onap-dmaap" }, { "name": "ves_fault", @@ -14,7 +14,7 @@ "class": "HpCambriaOutputStream", "stripHpId": "true", "type": "out", - "cambria.hosts": "onap.dmaap.org" + "cambria.hosts": "onap-dmaap" }, { "name": "ves_heartbeat", @@ -22,7 +22,7 @@ "class": "HpCambriaOutputStream", "stripHpId": "true", "type": "out", - "cambria.hosts": "onap.dmaap.org" + "cambria.hosts": "onap-dmaap" } ] } -- cgit 1.2.3-korg