aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/resources/simulator
diff options
context:
space:
mode:
authorGary Wu <gary.wu@futurewei.com>2019-07-08 17:40:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-08 17:40:42 +0000
commit28fc733d5c8e4728cc65dc3a9e9f66b79e9a5f7f (patch)
tree189b8d18f23dc83f3f8de739d2cc21599de25c3c /tests/dcaegen2/prh-testcases/resources/simulator
parent86d3211823bf4cb79d296b659551fb7785bd5c2d (diff)
parenta896866aece6a4a2406c30bf36742b7aafcff4e5 (diff)
Merge "Test basic registration scenario when AAI and dmaap is configured _NOT_ to use cert auth"
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/simulator')
-rw-r--r--tests/dcaegen2/prh-testcases/resources/simulator/AAI.py1
-rw-r--r--tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py b/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py
index 43f4fab5..0886434e 100644
--- a/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py
+++ b/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py
@@ -191,6 +191,7 @@ class AAIHandler(BaseHTTPRequestHandler):
def _main_(handler_class=AAIHandler, protocol="HTTP/1.0"):
handler_class.protocol_version = protocol
+ httpServerLib.start_http_endpoint(3333, AAIHandler)
httpServerLib.start_https_endpoint(3334, AAIHandler, keyfile="certs/aai.key", certfile="certs/aai.crt", ca_certs="certs/root.crt")
httpServerLib.start_http_endpoint(3335, AAISetup)
while 1:
diff --git a/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py b/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py
index 5ec601f6..5d7bd707 100644
--- a/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py
+++ b/tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py
@@ -125,6 +125,7 @@ class DMaaPHandler(BaseHTTPRequestHandler):
def _main_(handler_class=DMaaPHandler, protocol="HTTP/1.0"):
handler_class.protocol_version = protocol
+ httpServerLib.start_http_endpoint(2222, DMaaPHandler)
httpServerLib.start_https_endpoint(2223, DMaaPHandler, keyfile="certs/dmaap-mr.key", certfile="certs/dmaap-mr.crt", ca_certs="certs/root.crt")
httpServerLib.start_http_endpoint(2224, DmaapSetup)
while 1: