VNFM simulator implementation for instantiate flow
[so.git] / 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
38 vnfds:
39   vnfdlist:
40   -  vnfdid: 1
41      vnfclist:
42      - vnfcid: VNFC1
43        resourceTemplateId: vnfd1_vnfc1
44        vduId: vnfd1_vduForVnfc1
45        type: COMPUTE
46      - vnfcid: VNFC2
47        resourceTemplateId: vnfd1_vnfc2
48        vduId: vnfd1_vduForVnfc2
49        type: COMPUTE
50   -  vnfdid: 2
51      vnfclist:
52      - vnfcid: VNFC3
53        resourceTemplateId: vnfd2_vnfc3
54        vduId: vnfd2_vduForVnfc3
55        type: COMPUTE
56      - vnfcid: VNFC4
57        resourceTemplateId: vnfd2_vnfc4
58        vduId: vnfd2_vduForVnfc4
59        type: COMPUTE