2f84beb9cf4ea4f58bf8fb7c632f58320b01c94c
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / vnfm-simulator / vnfm-service / src / test / 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 endpoint:
38    callbackUri: https://so-vnfm-simulator.onap:9093/vnfpkgm/v1/notification
39 vnfm-adapter:
40    auth:
41       name: vnfm
42       password: password1$
43    base:
44       endpoint: http://so-vnfm-adapter.onap:9092
45 vnfds:
46    vnfdlist:
47    -  vnfdid: 1
48       vnfclist:
49       -  vnfcid: VNFC1
50          resourceTemplateId: vnfd1_vnfc1
51          vduId: vnfd1_vduForVnfc1
52          type: COMPUTE
53       -  vnfcid: VNFC2
54          resourceTemplateId: vnfd1_vnfc2
55          vduId: vnfd1_vduForVnfc2
56          type: COMPUTE
57    -  vnfdid: 2
58       vnfclist:
59       -  vnfcid: VNFC3
60          resourceTemplateId: vnfd2_vnfc3
61          vduId: vnfd2_vduForVnfc3
62          type: COMPUTE
63       -  vnfcid: VNFC4
64          resourceTemplateId: vnfd2_vnfc4
65          vduId: vnfd2_vduForVnfc4
66          type: COMPUTE