aboutsummaryrefslogtreecommitdiffstats
path: root/extra/docker/elk
diff options
context:
space:
mode:
authorac2550 <ac2550@intl.att.com>2018-03-27 12:57:53 +0200
committerac2550 <ac2550@intl.att.com>2018-03-27 12:57:53 +0200
commit440d34023d8ad1864ebaecf6a7f70dd717710feb (patch)
tree265621b0c00f9469488d66d2700939ab62977740 /extra/docker/elk
parente43106fe1e1112747bf94190ff05c3d1a2e8226d (diff)
Incorrect environment
Change-Id: If5e81b735646c507dea46dcea86ceb08e0ef2442 Issue-ID: CLAMP-124 Signed-off-by: ac2550 <ac2550@intl.att.com>
Diffstat (limited to 'extra/docker/elk')
-rw-r--r--extra/docker/elk/docker-compose.yml1
-rwxr-xr-xextra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py6
2 files changed, 0 insertions, 7 deletions
diff --git a/extra/docker/elk/docker-compose.yml b/extra/docker/elk/docker-compose.yml
index ded2c6b01..9a610d0fe 100644
--- a/extra/docker/elk/docker-compose.yml
+++ b/extra/docker/elk/docker-compose.yml
@@ -19,7 +19,6 @@ services:
- elasticsearch
networks:
es_net:
- environment:
kibana:
image: kibana
diff --git a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py
index 9891b8ef6..05c1b9861 100755
--- a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py
+++ b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py
@@ -194,11 +194,6 @@ class CLStatus(object):
yield Notification.final().success(**config)
raise StopIteration()
-DMaaPMessage.dmaap_host_url = "http://uebsb93kcdc.it.att.com:3904"
-Event.topic = "APPC-TEST-AMDOCS1-1607-E2E"
-Notification.topic = "APPC-TEST-AMDOCS1-1607-IST"
-# Request.topic = "APPC-TEST-AMDOCS1-1607-RY303T"
-
test_datas = [CLStatus(missing=False, disabled=False, op_failure=False) for i in range(45)] \
+ [CLStatus(missing=True, disabled=False, op_failure=False) for i in range(5)] \
+ [CLStatus(missing=False, disabled=True, op_failure=False) for i in range(6)] \
@@ -209,7 +204,6 @@ random.shuffle(test_datas)
for current_i, status in enumerate(test_datas):
time.sleep(random.randint(0,6))
for s in status:
- # print(s)
status_code = s.publish()
if status_code != 200:
print("Error when publishing : status_code={}".format(status_code))