aboutsummaryrefslogtreecommitdiffstats
path: root/vnfm-simulator/vnfm-service/src/main/resources/application.yaml
blob: ea8105d891582a7184f9f6b6771f305ac5a2ee47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright © 2019 Nordix Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

spring:
 h2:
  console:
  enabled: true
  path: console
 datasource:
  url: jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
  username: admin
  password: admin
 http:
  converters:
   preferred-json-mapper: gson
 security:
  usercredentials:
   - username: vnfm
     password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
     role: BPEL-Client
   
server:
  port: 9093
  tomcat:
    max-threads: 50
  ssl:
    key-alias: so@so.onap.org
    key--store-password: '7Em3&j4.19xYiMelhD5?xbQ.'
    key-store: classpath:so-vnfm-simulator.p12
    key-store-type: PKCS12

vnfds:
  vnfdlist:
  -  vnfdid: 1
     vnfclist:
     - vnfcid: VNFC1
       resourceTemplateId: vnfd1_vnfc1
       vduId: vnfd1_vduForVnfc1
       type: COMPUTE
     - vnfcid: VNFC2
       resourceTemplateId: vnfd1_vnfc2
       vduId: vnfd1_vduForVnfc2
       type: COMPUTE
  -  vnfdid: 2
     vnfclist:
     - vnfcid: VNFC3
       resourceTemplateId: vnfd2_vnfc3
       vduId: vnfd2_vduForVnfc3
       type: COMPUTE
     - vnfcid: VNFC4
       resourceTemplateId: vnfd2_vnfc4
       vduId: vnfd2_vduForVnfc4
       type: COMPUTE