Change MSB registration
[externalapi/nbi.git] / src / main / resources / application.properties
1 #
2 #     Copyright (c) 2018 Orange
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 #
8 #         http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #     Unless required by applicable law or agreed to in writing, software
11 #     distributed under the License is distributed on an "AS IS" BASIS,
12 #     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #     See the License for the specific language governing permissions and
14 #     limitations under the License.
15 #
16
17 nbi.version=v3
18
19 # SERVER
20 server.contextPath=/nbi/api/${nbi.version}
21 server.port=8080
22
23 # LOGGING
24 logging.level.=INFO
25
26 # ONAP
27 onap.lcpCloudRegionId=RegionOne
28 onap.tenantId=6e97a2bd51d74f6db5671d8dc1517d82
29 onap.cloudOwner=CloudOwner
30
31 # NBI
32 nbi.url=http://localhost:${server.port}${server.contextPath}
33 nbi.callForVNF=false
34
35 # SCHEDULER
36 scheduler.pollingDurationInMins=360
37
38 # SDC
39 sdc.host=http://10.0.3.1:8080
40 sdc.header.ecompInstanceId=demo
41 sdc.header.authorization=Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
42
43 # AAI
44 aai.host=https://10.0.1.1:8443
45 aai.header.authorization=Basic QUFJOkFBSQ==
46 aai.api.id=NBI
47 aai.header.transaction.id=808b54e3-e563-4144-a1b9-e24e2ed93d4f
48
49 # SO
50 so.host=http://10.0.5.1:8080
51 so.header.authorization=Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
52 so.api.id=SO
53 so.owning.entity.id=6b5b6b70-4e9a-4f6f-8b7b-cbd7cf990c6e
54 so.owning.entity.name=OE-generic
55 so.project.name=Project-generic
56
57 # MSB
58 msb.enabled=true
59 msb.discovery.host=msb_discovery
60 msb.discovery.port=10081
61 msb.discovery.retry=1
62 msb.discovery.retry_interval=5000
63 msb.service.host=
64 msb.service.name=nbi
65 msb.service.custom_path=
66 msb.service.protocol=REST
67 msb.service.visual_range=1
68 msb.service.enable_ssl=false
69
70 # MONGO
71 spring.data.mongodb.host=localhost
72 spring.data.mongodb.port=27017
73 spring.data.mongodb.database=ServiceOrderDB
74
75 # MYSQL
76 spring.datasource.url=jdbc:mariadb://localhost:3306/nbi
77 spring.datasource.username=root
78 spring.datasource.password=secret
79 spring.datasource.testWhileIdle=true
80 spring.datasource.validationQuery=SELECT 1
81 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
82 spring.jpa.show-sql=false
83 spring.jpa.hibernate.ddl-auto=update
84 spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy