diff options
author | 2019-03-27 18:21:29 +0200 | |
---|---|---|
committer | 2019-03-27 19:06:28 +0200 | |
commit | f8af5bf9990febf114573b4672cae78a50005efb (patch) | |
tree | 511de6a4e3ba74972bf0ffe3ef52e6f91cd6d735 /tests/vid/resources/simulators/SO.py | |
parent | 26ed3a83159b3de2d495b0b41495a826d7e8fd8a (diff) |
Update VID in docker-compose to 4.0-STAGING-latest
Added AAI simulator for new enrichCloudConfigurationWithCloudOwner
feature:
- Add AAI response
- Update Dockerfile with FROM python, and parametrized config
- Add aai-simulator to docker-compose file
BTW, modified SO.py to log to stdio. This enable running `docker logs
so-simulator` to see the rolling output.
Issue-ID: VID-453
Change-Id: Icd1ee2dd51d404261c3e0484b22a4d32b8e4aad8
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'tests/vid/resources/simulators/SO.py')
-rw-r--r-- | tests/vid/resources/simulators/SO.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vid/resources/simulators/SO.py b/tests/vid/resources/simulators/SO.py index c1199390..fa481b38 100644 --- a/tests/vid/resources/simulators/SO.py +++ b/tests/vid/resources/simulators/SO.py @@ -103,7 +103,7 @@ class JsonFileToDictReader(object): def init_so_simulator(): expected_so_requests = JsonFileToDictReader.read_expected_test_data(argv[1]) expected_so_responses = JsonFileToDictReader.read_expected_test_data(argv[2]) - logging.basicConfig(filename='output.log', level=logging.INFO) + logging.basicConfig(level=logging.INFO) handler = partial(SOHandler, expected_so_requests, expected_so_responses) handler.protocol_version = "HTTP/1.0" httpd = HTTPServer(('', DEFAULT_PORT), handler) |