6079a7997495327c1b3b3c5e2a62bba896f7217c
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / vnfm-simulator / vnfm-service / src / main / resources / application.yaml
1 # Copyright © 2019 Nordix Foundation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 spring:
15    profiles:
16       active: oauth-authentication
17    h2:
18       console: null
19       enabled: true
20       path: console
21    datasource:
22       url: jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
23       username: admin
24       password: admin
25    http:
26       converters:
27          preferred-json-mapper: gson
28    security:
29       usercredentials:
30       -  username: vnfm
31          password: $2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke
32          role: BPEL-Client
33    main:
34       allow-bean-definition-overriding: true
35 server:
36    port: 9093
37    tomcat:
38       max-threads: 50
39    ssl:
40       enabled: false
41    request:
42       grant:
43          auth: none
44 endpoint:
45    callbackUri: http://so-vnfm-simulator.onap:9093/vnfpkgm/v1/notification
46 vnfm-adapter:
47    auth:
48       name: vnfm
49       password: password1$
50    base:
51       endpoint: http://so-vnfm-adapter.onap:9092
52 vnfds:
53    vnfdlist:
54       -  vnfdid: 1
55          vnfclist:
56          -  vnfcid: VNFC1
57             resourceTemplateId: vnfd1_vnfc1
58             vduId: vnfd1_vduForVnfc1
59             type: COMPUTE
60          -  vnfcid: VNFC2
61             resourceTemplateId: vnfd1_vnfc2
62             vduId: vnfd1_vduForVnfc2
63             type: COMPUTE
64       -  vnfdid: 2
65          vnfclist:
66          -  vnfcid: VNFC3
67             resourceTemplateId: vnfd2_vnfc3
68             vduId: vnfd2_vduForVnfc3
69             type: COMPUTE
70          -  vnfcid: VNFC4
71             resourceTemplateId: vnfd2_vnfc4
72             vduId: vnfd2_vduForVnfc4
73             type: COMPUTE
74       -  vnfdid: b1bb0ce7-2222-4fa7-95ed-4840d70a1177
75          vnfclist:
76          -  vnfcid: VNFC5
77             resourceTemplateId: vnfd3_vnfc4
78             vduId: vnfd3_vduForVnfc4
79             type: COMPUTE
80          -  vnfcid: VNFC6
81             resourceTemplateId: vnfd3_vnfc5
82             vduId: vnfd3_vduForVnfc5
83             type: COMPUTE
84       -  vnfdid: 0c960b3a-d88f-11ea-87d0-0242ac130003
85          vnfclist:
86          -  vnfcid: VNFC7
87             resourceTemplateId: vnfd4_vnfc5
88             vduId: vnfd4_vduForVnfc5
89             type: COMPUTE
90          -  vnfcid: VNFC8
91             resourceTemplateId: vnfd4_vnfc6
92             vduId: vnfd4_vduForVnfc6
93             type: COMPUTE