7c9975f068851796816a9846737e8dbe46636fa1
[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 # SERVER
18 server.contextPath=/nbi/api/v1
19 server.port = 8080
20
21 # LOGGING
22 logging.level.=INFO
23
24 # ONAP
25 onap.lcpCloudRegionId=RegionOne
26 onap.tenantId=6e97a2bd51d74f6db5671d8dc1517d82
27 onap.cloudOwner=CloudOwner
28
29 # NBI
30 nbi.url=http://localhost:8080/nbi/api/v1
31 nbi.callForVNF=false
32
33 # SDC
34 sdc.host=http://10.0.3.1:8080
35 sdc.header.ecompInstanceId=demo
36 sdc.header.authorization=Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
37
38 # AAI
39 aai.host=https://10.0.1.1:8443
40 aai.header.authorization=Basic QUFJOkFBSQ==
41 aai.api.id=NBI
42 aai.header.transaction.id=808b54e3-e563-4144-a1b9-e24e2ed93d4f
43
44 # SO
45 so.host=http://10.0.5.1:8080
46 so.header.authorization=Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
47 so.api.id=SO
48 so.owning.entity.id=6b5b6b70-4e9a-4f6f-8b7b-cbd7cf990c6e
49 so.owning.entity.name=OE-generic
50 so.project.name=Project-generic
51
52 # MONGO
53 spring.data.mongodb.host=localhost
54 spring.data.mongodb.port=27017
55 spring.data.mongodb.database=ServiceOrderDB
56
57 # MYSQL
58 spring.datasource.url=jdbc:mariadb://localhost:3306/nbi
59 spring.datasource.username=root
60 spring.datasource.password=secret
61 spring.datasource.testWhileIdle=true
62 spring.datasource.validationQuery=SELECT 1
63 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
64 spring.jpa.show-sql=false
65 spring.jpa.hibernate.ddl-auto=update
66 spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy