Preparing the request payload for calling SO macro flow.
[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                          = v4
24
25 # SERVER
26 server.servlet.context-path          = /nbi/api/${nbi.version}
27 server.public.ip                     = localhost
28 server.port                          = 8080
29
30 # LOGGING
31 logging.level.                       = WARN
32 logging.level.org.springframework    = OFF
33 logging.level.org.springframework.boot.web = INFO
34 logging.level.org.onap               = INFO
35 logging.level.root                   = WARN
36 spring.main.banner-mode              = off
37
38 # ONAP
39 onap.lcpCloudRegionId                = RegionOne
40 onap.tenantId                        = 6e97a2bd51d74f6db5671d8dc1517d82
41 onap.cloudOwner                      = CloudOwner
42
43 # k8s
44 onap.k8sCloudRegionId                = k8sregionfour
45 onap.k8sCloudOwner                   = k8scloudowner4
46 k8s-rb-profile-name                                      = default
47
48 # NBI
49 nbi.url                              = https://localhost:${server.port}${server.servlet.context-path}
50 nbi.public.url                       = https://${server.public.ip}:${server.port}${server.servlet.context-path}
51 nbi.callForVNF                       = false
52
53 # SCHEDULER
54 scheduler.pollingDurationInMins      = 360
55 serviceOrder.schedule                = 5000
56 serviceOrder.initial                 = 1
57 executionTask.schedule               = 2000
58 executionTask.initial                = 1
59 dmaapCheck.schedule                  = 10000
60 dmaapCheck.initial                   = 1
61
62 # SDC
63 sdc.host                             = http://localhost:8081
64 sdc.header.ecompInstanceId           = demo
65 sdc.header.authorization             = Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
66 # AAI
67
68 aai.host                             = http://localhost:8081
69 aai.header.authorization             = Basic QUFJOkFBSQ==
70 aai.api.id                           = NBI
71 aai.header.transaction.id            = 808b54e3-e563-4144-a1b9-e24e2ed93d4f
72 # SO
73
74 so.host                              = http://localhost:8081
75 so.header.authorization              = Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
76 so.api.id                            = SO
77 so.owning.entity.id                  = OE-generic
78 so.owning.entity.name                = OE-generic
79 so.project.name                      = Project-generic
80 so.onap.partner.name                 = NBI
81
82 # DMAAP
83 dmaap.host                           = http://10.0.6.1:3904
84 dmaap.aai.topic                      = AAI-EVENT
85 dmaap.sdc.topic                      = SDC-DISTR-NOTIF-TOPIC-AUTO
86 dmaap.consumergroup                  = NBICG1
87 dmaap.consumerid                     = NBIC1
88 dmaap.timeout                        = 2000
89
90
91
92 # MONGO
93 spring.data.mongodb.host             = localhost
94 spring.data.mongodb.port             = 27017
95 spring.data.mongodb.database         = ServiceOrderDB
96
97 # MYSQL
98 spring.datasource.url                = jdbc:mariadb://localhost:3306/nbi
99 spring.datasource.username           = root
100 spring.datasource.password           = secret
101 spring.datasource.testWhileIdle      = true
102 spring.datasource.validationQuery    = SELECT 1
103 spring.datasource.driver-class-name  = org.mariadb.jdbc.Driver
104 spring.jpa.show-sql                  = false
105 spring.jpa.hibernate.ddl-auto        = update
106 spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy