1a73f1619622d0d2f45764426027155f1c6823ea
[externalapi/nbi.git] / src / main / resources / application-test.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                         = v4
18
19 # SERVER
20 server.servlet.context-path         = /nbi/api/${nbi.version}
21 server.port                         = 8080
22
23 # LOGGING
24 logging.level.org.springframework   = OFF
25 logging.level.root                  = OFF
26 spring.main.banner-mode             = off
27
28 # ONAP
29 onap.lcpCloudRegionId               = RegionOne
30 onap.tenantId                       = 31047205ce114b60833b23e400d6a535
31 onap.cloudOwner                     = CloudOwner
32
33 # NBI
34 nbi.url                             = http://localhost:${server.port}${server.servlet.context-path}
35 nbi.callForVNF                      = false
36
37 # SCHEDULER
38 scheduler.pollingDurationInMins     = 0.1
39 serviceOrder.schedule               = 5000
40 serviceOrder.initial                = 1
41 executionTask.schedule              = 2000
42 executionTask.initial               = 1
43
44
45
46 # SDC
47 sdc.host                            = http://127.0.0.1:8091
48 sdc.header.ecompInstanceId          = Rene
49 sdc.header.authorization            = Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
50
51 # AAI
52 aai.host                            = http://127.0.0.1:8091
53 aai.header.authorization            = Basic QUFJOkFBSQ==
54 aai.api.id                          = AAI
55 aai.header.transaction.id           = 808b54e3-e563-4144-a1b9-e24e2ed93d4f
56
57 # SO
58 so.host                             = http://127.0.0.1:8091
59 so.header.authorization             =
60 so.api.id                           = SO
61 so.owning.entity.id                 = OE-generic
62 so.owning.entity.name               = OE-generic
63 so.project.name                     = Project-generic
64 so.onap.partner.name                = NBI
65
66 # DMAAP
67 dmaap.host                          = http://127.0.0.1:8091
68 dmaap.aai.topic                     = AAI-EVENT
69 dmaap.sdc.topic                     = SDC-DISTR-NOTIF-TOPIC-AUTO
70 dmaap.consumergroup                 = NBICG1
71 dmaap.consumerid                    = NBIC1
72 dmaap.timeout                       = 2000
73
74 # MSB
75 msb.enabled                         = false
76
77 # H2
78 spring.datasource.url               = jdbc:h2:mem:~/db;DB_CLOSE_ON_EXIT=false
79 spring.datasource.username          = sa
80 spring.datasource.password          =
81 spring.datasource.driver-class-name = org.h2.Driver
82 spring.h2.console.enabled           = true
83 spring.h2.console.path              = /h2-console