1 """Specific settings module."""
3 # ============LICENSE_START=======================================================
4 # Copyright (C) 2022 Orange, Ltd.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
21 ######################
25 ######################
27 # Variables to set logger information
28 # Possible values for logging levels in onapsdk: INFO, DEBUG , WARNING, ERROR
31 "disable_existing_loggers": False,
34 "class": "logging.Formatter",
35 "format": "%(asctime)s %(levelname)s %(lineno)d:%(filename)s(%(process)d) - %(message)s"
41 "class": "logging.StreamHandler",
42 "formatter": "default"
46 "class": "logging.FileHandler",
47 "formatter": "default",
48 "filename": "/var/lib/xtesting/results/pythonsdk.debug.log",
54 "handlers": ["console", "file"]
59 # SOCK_HTTP = "socks5h://127.0.0.1:8080"
60 REPORTING_FILE_PATH = "/var/lib/xtesting/results/reporting.html"
61 K8S_REGION_TYPE = "k8s"
62 TILLER_HOST = "localhost"
63 K8S_CONFIG = None # None means it will use default config (~/.kube/config)
64 K8S_NAMESPACE = "onap" # Kubernetes namespace
65 ORCHESTRATION_REQUEST_TIMEOUT = 60.0 * 30 # 30 minutes in seconds