Add onaptests_bench into integration project repository
[integration.git] / test / onaptests_bench / src / onaptests_bench / artifacts / settings.py
1 """Specific settings module."""
2
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
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
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.
17 #
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20
21 ######################
22 #                    #
23 # ONAP INPUTS DATAS  #
24 #                    #
25 ######################
26
27 # Variables to set logger information
28 # Possible values for logging levels in onapsdk: INFO, DEBUG , WARNING, ERROR
29 LOG_CONFIG = {
30     "version": 1,
31     "disable_existing_loggers": False,
32     "formatters": {
33         "default": {
34             "class": "logging.Formatter",
35             "format": "%(asctime)s %(levelname)s %(lineno)d:%(filename)s(%(process)d) - %(message)s"
36         }
37     },
38     "handlers": {
39         "console": {
40             "level": "WARN",
41             "class": "logging.StreamHandler",
42             "formatter": "default"
43         },
44         "file": {
45             "level": "DEBUG",
46             "class": "logging.FileHandler",
47             "formatter": "default",
48             "filename": "/var/lib/xtesting/results/pythonsdk.debug.log",
49             "mode": "w"
50         }
51     },
52     "root": {
53         "level": "INFO",
54         "handlers": ["console", "file"]
55     }
56 }
57 CLEANUP_FLAG = False
58
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