Add DMaaP Integration to retrieve AAI-EVENT
[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
18 # PROFILE
19 # used for scheduling
20 spring.profiles.active               = default
21
22 # VERSION
23 nbi.version                          = v3
24
25 # SERVER
26 server.servlet.context-path          = /nbi/api/${nbi.version}
27 server.port                          = 8080
28
29 # LOGGING
30 logging.level.                       = INFO
31
32 # ONAP
33 onap.lcpCloudRegionId                = RegionOne
34 onap.tenantId                        = 6e97a2bd51d74f6db5671d8dc1517d82
35 onap.cloudOwner                      = CloudOwner
36
37 # NBI
38 nbi.url                              = http://localhost:${server.port}${server.servlet.context-path}
39 nbi.callForVNF                       = false
40
41 # SCHEDULER
42 scheduler.pollingDurationInMins      = 360
43 serviceOrder.schedule                = 5000
44 serviceOrder.initial                 = 1
45 executionTask.schedule               = 2000
46 executionTask.initial                = 1
47 dmaapCheck.schedule               = 10000
48 dmaapCheck.initial                = 1
49
50 # SDC
51 sdc.host                             = http://10.0.3.1:8080
52 sdc.header.ecompInstanceId           = demo
53 sdc.header.authorization             = Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
54 # AAI
55
56 aai.host                             = https://10.0.1.1:8443
57 aai.header.authorization             = Basic QUFJOkFBSQ==
58 aai.api.id                           = NBI
59 aai.header.transaction.id            = 808b54e3-e563-4144-a1b9-e24e2ed93d4f
60 # SO
61
62 so.host                              = http://10.0.5.1:8080
63 so.header.authorization              = Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
64 so.api.id                            = SO
65 so.owning.entity.id                  = 6b5b6b70-4e9a-4f6f-8b7b-cbd7cf990c6e
66 so.owning.entity.name                = OE-generic
67 so.project.name                      = Project-generic
68
69 # DMAAP
70 dmaap.host                           = http://10.0.6.1:3904
71 dmaap.topic                          = AAI-EVENT
72 dmaap.consumergroup                  = NBICG1
73 dmaap.consumerid                     = NBIC1
74 dmaap.timeout                        = 2000
75
76 # MSB
77 msb.enabled                          = true
78 msb.discovery.host                   = msb_discovery
79 msb.discovery.port                   = 10081
80 msb.discovery.retry                  = 1
81 msb.discovery.retry_interval         = 5000
82 msb.service.host                     =
83 msb.service.name                     = nbi
84 msb.service.custom_path              =
85 msb.service.protocol                 = REST
86 msb.service.visual_range             = 1
87 msb.service.enable_ssl               = false
88
89 # MONGO
90 spring.data.mongodb.host             = localhost
91 spring.data.mongodb.port             = 27017
92 spring.data.mongodb.database         = ServiceOrderDB
93
94 # MYSQL
95 spring.datasource.url                = jdbc:mariadb://localhost:3306/nbi
96 spring.datasource.username           = root
97 spring.datasource.password           = secret
98 spring.datasource.testWhileIdle      = true
99 spring.datasource.validationQuery    = SELECT 1
100 spring.datasource.driver-class-name  = org.mariadb.jdbc.Driver
101 spring.jpa.show-sql                  = false
102 spring.jpa.hibernate.ddl-auto        = update
103 spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy