diff options
author | 2018-09-06 12:48:32 +0200 | |
---|---|---|
committer | 2018-09-06 14:48:20 +0200 | |
commit | 347997816e5c053ae7d0d53ea346265d5d574875 (patch) | |
tree | a4dd843a9e068e788b1dad38ed8e8f120d58a98a /test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py | |
parent | 1c760c54176f529dad26b5ab1b7875231ec2e3b3 (diff) |
Fix tests and updated docker files
- fix tests in Jenkins
- update docker files (reduce image size)
Issue-ID: INT-647
Change-Id: I2b0e541bc962b68d4e68c592c161ce91ff698d34
Signed-off-by: Mariusz Wagner <mariusz.wagner@nokia.com>
Diffstat (limited to 'test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py')
-rw-r--r-- | test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py b/test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py index 210378421..96e22a141 100644 --- a/test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py +++ b/test/csit/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py @@ -8,6 +8,7 @@ received_event_to_get_method = 'Empty' class DMaaPHandler(BaseHTTPRequestHandler): + def do_PUT(self): if re.search('/set_get_event', self.path): global received_event_to_get_method @@ -27,7 +28,7 @@ class DMaaPHandler(BaseHTTPRequestHandler): return def do_GET(self): - if re.search('/events/unauthenticated.SEC_OTHER_OUTPUT/OpenDcae-c12/c12', self.path): + if re.search('/events/unauthenticated.VES_PNFREG_OUTPUT/OpenDcae-c12/c12', self.path): _header_200_and_json(self) self.wfile.write(received_event_to_get_method) elif re.search('/events/pnfReady', self.path): |