Update vnfm simulator - subscribe and notify
[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    h2:
16       console: null
17       enabled: true
18       path: console
19    datasource:
20       url: jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
21       username: admin
22       password: admin
23    http:
24       converters:
25          preferred-json-mapper: gson
26    security:
27       usercredentials:
28       -  username: vnfm
29          password: $2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke
30          role: BPEL-Client
31    main:
32       allow-bean-definition-overriding: true
33 server:
34    port: 9093
35    tomcat:
36       max-threads: 50
37    ssl:
38       key-alias: so@so.onap.org
39       key--store-password: 7Em3&j4.19xYiMelhD5?xbQ.
40       key-store: classpath:so-vnfm-simulator.p12
41       key-store-type: PKCS12
42 http:
43    client:
44       ssl:
45          trust-store: classpath:so-vnfm-adapter.p12
46          trust-store-password: ywsqCy:EEo#j}HJHM7z^Rk[L
47 endpoint:
48    callbackUri: https://so-vnfm-simulator.onap:9093/vnfpkgm/v1/notification
49 vnfm-adapter:
50    auth:
51       name: vnfm
52       password: password1$
53 vnfds:
54    vnfdlist:
55    -  vnfdid: 1
56       vnfclist:
57       -  vnfcid: VNFC1
58          resourceTemplateId: vnfd1_vnfc1
59          vduId: vnfd1_vduForVnfc1
60          type: COMPUTE
61       -  vnfcid: VNFC2
62          resourceTemplateId: vnfd1_vnfc2
63          vduId: vnfd1_vduForVnfc2
64          type: COMPUTE
65    -  vnfdid: 2
66       vnfclist:
67       -  vnfcid: VNFC3
68          resourceTemplateId: vnfd2_vnfc3
69          vduId: vnfd2_vduForVnfc3
70          type: COMPUTE
71       -  vnfcid: VNFC4
72          resourceTemplateId: vnfd2_vnfc4
73          vduId: vnfd2_vduForVnfc4
74          type: COMPUTE