Merge "added check for null object"
[so.git] / adapters / mso-openstack-adapters / src / test / resources / application-test.yaml
1 # will be used as entry in DB to say SITE OFF/ON for healthcheck
2 # MSO Properties go here
3 org:
4   onap:
5     so:
6       adapters:
7         default_keystone_url_version: /v2.0
8         default_keystone_reg_ex: "/[vV][0-9]"
9         vnf:
10           bpelauth: 4771D91C24BB25366730561D630B131818CD9FF8D686AA8807F4CB30E1324C46ED16197C07
11           checkRequiredParameters: true
12           addGetFilesOnVolumeReq: false
13           sockettimeout: 30
14           connecttimeout: 30
15           retrycount: 5
16           retryinterval: -15
17           retrylist: 408,429,500,502,503,504,900
18           heat:
19             create:
20               pollInterval: 15
21             delete:
22               pollTimeout: 7500
23               pollInterval: 15
24         network:
25           bpelauth: 4771D91C24BB25366730561D630B131818CD9FF8D686AA8807F4CB30E1324C46ED16197C07
26           sockettimeout: 5
27           connecttimeout: 5
28           retrycount: 5
29           retryinterval: -15
30           retrylist: 408,429,500,502,503,504,900
31           encryptionKey: aa3871669d893c7fb8abbcda31b88b4f
32           heat:
33             create:
34               pollInterval: 15
35             delete:
36               pollTimeout: 300
37               pollInterval: 15
38         tenant:
39           default_x_aic_orm_client_string: ONAP-SO
40           default_keystone_url_version: /v2.0
41           default_keystone_reg_ex: "/[vV][0-9]"
42           default_tenant_description: ECOMP Tenant
43           default_region_type: single
44           default_user_role: admin
45           default_success_status_string: Success
46           default_no_regions_status_string: no regions
47           default_orm_request_path: /v1/orm/customers/
48           default_orm_url_replace_this: 8080
49           default_orm_url_replace_with_this: 7080
50           default_quota_value: 10
51           set_default_quota: false
52         valet:
53           base_url: http://localhost:${wiremock.server.port}
54           base_path: /api/valet/placement/v1/
55           valet_auth: 
56         po:
57           retryCodes: 504
58           retryDelay: 5
59           retryCount: 3
60       
61 server-port: 8080
62 ssl-enable: false
63 tomcat:
64   max-threads: 50
65 mso:
66   logPath: logs
67   catalog:
68     db:
69       spring:
70         endpoint: http://localhost:${wiremock.server.port}
71   db:
72     auth: Basic YnBlbDptc28tZGItMTUwNyE=
73   site-name: localDevEnv
74   async:
75     core-pool-size: 50
76     max-pool-size: 50
77     queue-capacity: 500
78 spring:
79   datasource:
80     jdbc-url: jdbc:mariadb://localhost:3307/catalogdb
81     username: root
82     password: password
83     driver-class-name: org.mariadb.jdbc.Driver    
84     initialization-mode: always
85   jpa:   
86     generate-ddl: false
87     show-sql: false
88     hibernate:      
89       ddl-auto: none
90     database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
91   flyway:
92     baseline-on-migrate: true
93     out-of-order: true
94     ignore-missing-migrations: true
95   security:
96     usercredentials:
97     -  
98       username: test
99       password: '$2a$12$Zi3AuYcZoZO/gBQyUtST2.F5N6HqcTtaNci2Et.ufsQhski56srIu'
100       role: MSO-Client        
101
102 mariaDB4j:
103   dataDir: 
104   port: 3308
105   databaseName: catalogdb
106
107
108 #Actuator
109 management:
110   endpoints:
111     web:
112       base-path: /manage
113   server:
114     servlet:
115       context-path: /manage
116   metrics:
117     se-global-registry: false
118     export:
119       prometheus:
120         enabled: true # Whether exporting of metrics to Prometheus is enabled.
121         step: 1m # Step size (i.e. reporting frequency) to use.  
122
123
124 cloud_config:
125   identity_services:
126     MTKEYSTONE:
127       identity_url: "http://localhost:5000/v2.0"
128       mso_id: "john"
129       mso_pass: "313DECE408AF7759D442D7B06DD9A6AA"
130       admin_tenant: "admin"
131       member_role: "_member_"
132       tenant_metadata: false
133       identity_server_type: "KEYSTONE"
134       identity_authentication_type: "USERNAME_PASSWORD"
135   cloud_sites:
136     mtn13:
137       region_id: "mtn13"
138       clli: "MDT13"
139       aic_version: "3.0"
140       identity_service_id: "MTN13"
141       orchestrator: "orchestrator"
142       cloudify_id: "mtn13"
143     regionOne:
144       region_id: "regionOne"
145       clli: "MT2"
146       aic_version: "2.5"
147       identity_service_id: "MTKEYSTONE"
148   cloudify_managers:
149     manager:
150       cloudify_url: "http://localhost:8080"
151       username: "user"
152       password: "password"
153       version: "2.0"
154
155