From 4a02e289d08e2a9d6203b6e72e2a7c8bd3228070 Mon Sep 17 00:00:00 2001 From: shabs2020 Date: Wed, 5 May 2021 13:20:45 +0200 Subject: Enable Adapter to work behind proxy Adapter is now capable of metadata installation during docker image generation both with and without proxy. Issue-ID: DCAEGEN2-2755 Signed-off-by: shabs2020 Change-Id: Icc428db4afcf71103828683f3ac3b4b6d22ec1d0 Signed-off-by: shabs2020 --- adapter/acumos/tests/test_convert.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adapter/acumos/tests/test_convert.py') diff --git a/adapter/acumos/tests/test_convert.py b/adapter/acumos/tests/test_convert.py index 780cc55..bb9e73d 100644 --- a/adapter/acumos/tests/test_convert.py +++ b/adapter/acumos/tests/test_convert.py @@ -3,6 +3,8 @@ # ============================================================================= # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved. # ============================================================================= +# Copyright (c) 2021 highstreet technologies GmbH. All rights reserved. +# ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -27,7 +29,7 @@ from testing_helpers import get_fixture_path def test_gen_dcae_artifacts_for_model(monkeypatch): model_repo_path = get_fixture_path('models') model_name = 'example-model' - config = aoconversion.scanner.Config(dcaeurl='http://dcaeurl', dcaeuser='dcaeuser', onboardingurl='https://onboarding', onboardinguser='obuser', onboardingpass='obpass', acumosurl='https://acumos', certfile=None, dockerregistry='dockerregistry', dockeruser='registryuser', dockerpass='registrypassword', tmpdir=model_repo_path) + config = aoconversion.scanner.Config(dcaeurl='http://dcaeurl', dcaeuser='dcaeuser', onboardingurl='https://onboarding', onboardinguser='obuser', onboardingpass='obpass', acumosurl='https://acumos', certfile=None, dockerregistry='dockerregistry', dockeruser='registryuser', dockerpass='registrypassword', http_proxy='', https_proxy='', no_proxy='', tmpdir=model_repo_path) spec = { "self": { "version": "1.0.0", -- cgit 1.2.3-korg