Enable the usage of msb https endpints
[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_PROTOCOL = 'http'
17 MSB_SERVICE_IP = 'msb.onap.org'
18 MSB_SERVICE_PORT = '10080'
19
20
21 # [ESR]
22 # ESR_GET_VIM_URI = "/api/extsys/v1/vims"
23
24 # [A&AI]
25 AAI_ADDR = "aai.api.simpledemo.openecomp.org"
26 AAI_PORT = "8443"
27 AAI_SERVICE_URL = 'https://%s:%s/aai' % (AAI_ADDR, AAI_PORT)
28 AAI_SCHEMA_VERSION = "v13"
29 AAI_USERNAME = 'AAI'
30 AAI_PASSWORD = 'AAI'
31
32 # [MDC]
33 SERVICE_NAME = "multicloud-broker"
34 FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
35                         "HTTP_X_FORWARDED_SERVER"]
36
37 # [IMAGE LOCAL PATH]
38 ROOT_PATH = os.path.dirname(
39     os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
40
41 # [Local Config]
42 API_SERVER_PORT = 9001