e0385e282cb15cc2b26295aa07251070c4506f7b
[multicloud/framework.git] / multivimbroker / multivimbroker / pub / config / config.py
1 # Copyright (c) 2017 Wind River Systems, Inc.
2 # Copyright (c) 2017-2018 VMware, Inc.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at:
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
20 # [ESR]
21 # ESR_GET_VIM_URI = "/api/extsys/v1/vims"
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 # [MDC]
32 SERVICE_NAME = "multicloud-broker"
33 FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
34                         "HTTP_X_FORWARDED_SERVER"]
35
36 # [IMAGE LOCAL PATH]
37 ROOT_PATH = os.path.dirname(
38     os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
39
40 # [Local Config]
41 API_SERVER_PORT = 9001