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