update link to upper-constraints.txt
[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_PROTOCOL = "https"
28 AAI_SERVICE_URL = '%s://%s:%s/aai' % (AAI_PROTOCOL, AAI_ADDR, AAI_PORT)
29 AAI_SCHEMA_VERSION = "v13"
30 AAI_USERNAME = 'AAI'
31 AAI_PASSWORD = 'AAI'
32
33 # [MDC]
34 SERVICE_NAME = "multicloud-broker"
35 FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
36                         "HTTP_X_FORWARDED_SERVER"]
37
38 # [IMAGE LOCAL PATH]
39 ROOT_PATH = os.path.dirname(
40     os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
41
42 # [Local Config]
43 API_SERVER_PORT = 9001