Improve coverage of multicloud-azure plugin
[multicloud/azure.git] / azure / multicloud_azure / pub / config / config.py
1 # Copyright (c) 2018 Amdocs
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
13 import os
14
15 # [MSB]
16 MSB_SERVICE_IP = "msb.onap.org"
17 MSB_SERVICE_PORT = "10080"
18
19 # [IMAGE LOCAL PATH]
20 ROOT_PATH = os.path.dirname(os.path.dirname(
21     os.path.dirname(os.path.abspath(__file__))))
22
23 # [A&AI]
24 AAI_ADDR = "aai.api.simpledemo.openecomp.org"
25 AAI_PORT = "8443"
26 AAI_SERVICE_URL = 'https://%s:%s/aai' % (AAI_ADDR, AAI_PORT)
27 AAI_SCHEMA_VERSION = "v13"
28 AAI_USERNAME = "AAI"
29 AAI_PASSWORD = "AAI"
30
31 # [DMaaP]
32 MR_ADDR = ""
33 MR_PORT = ""
34
35 # [MDC]
36 SERVICE_NAME = "multicloud-azure"
37 FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
38                         "HTTP_X_FORWARDED_SERVER"]
39
40 # [Local Config]
41 API_SERVER_PORT = 9004