diff options
author | grabinsk <maciej.grabinski@nokia.com> | 2019-06-26 15:01:52 +0200 |
---|---|---|
committer | Maciej Grabinski <maciej.grabinski@nokia.com> | 2019-07-03 09:40:14 +0000 |
commit | a896866aece6a4a2406c30bf36742b7aafcff4e5 (patch) | |
tree | 9e1b66a47bad67eaa71003f795005ba4aa9cdb76 /tests/dcaegen2/prh-testcases/resources/simulator | |
parent | 4a70dd3bcf1dde19d511f528650b08714b92448f (diff) |
Test basic registration scenario when AAI and dmaap is configured _NOT_ to use cert auth
Change-Id: I92d6670344a65eed4289c5f72bdd5206f2b329f9
Issue-ID: INT-1076
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/simulator')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/simulator/AAI.py | 1 | ||||
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/simulator/DMaaP.py | 1 |
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 e5f0b102..fbfc5af4 100644 --- a/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py +++ b/tests/dcaegen2/prh-testcases/resources/simulator/AAI.py @@ -196,6 +196,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: |