33d865c1e50c1d6a9c38b15c2ec21860c4f12e40
[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
15 spring:
16  h2:
17   console:
18   enabled: true
19   path: console
20  datasource:
21   url: jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
22   username: admin
23   password: admin
24  http:
25   converters:
26    preferred-json-mapper: gson
27  security:
28   usercredentials:
29    - username: vnfm
30      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
31      role: BPEL-Client
32
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
43 vnfds:
44   vnfdlist:
45   -  vnfdid: 1
46      vnfclist:
47      - vnfcid: VNFC1
48        resourceTemplateId: vnfd1_vnfc1
49        vduId: vnfd1_vduForVnfc1
50        type: COMPUTE
51      - vnfcid: VNFC2
52        resourceTemplateId: vnfd1_vnfc2
53        vduId: vnfd1_vduForVnfc2
54        type: COMPUTE
55   -  vnfdid: 2
56      vnfclist:
57      - vnfcid: VNFC3
58        resourceTemplateId: vnfd2_vnfc3
59        vduId: vnfd2_vduForVnfc3
60        type: COMPUTE
61      - vnfcid: VNFC4
62        resourceTemplateId: vnfd2_vnfc4
63        vduId: vnfd2_vduForVnfc4
64        type: COMPUTE