saul.gill | 7124a4b | 2021-09-09 12:02:49 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2021 Nordix Foundation. All rights reserved. |
| 3 | # ================================================================================ |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | |
| 19 | spring: |
| 20 | security: |
| 21 | user: |
| 22 | name: ${RUNTIME_USER} |
| 23 | password: ${RUNTIME_PASSWORD} |
| 24 | http: |
| 25 | converters: |
| 26 | preferred-json-mapper: gson |
| 27 | |
| 28 | security: |
| 29 | enable-csrf: false |
| 30 | |
| 31 | server: |
| 32 | port: 6969 |
| 33 | servlet: |
| 34 | context-path: /onap/controlloop |
| 35 | error: |
| 36 | path: /error |
| 37 | |
| 38 | |
| 39 | runtime: |
| 40 | supervisionScannerIntervalSec: 1000 |
| 41 | participantClUpdateIntervalSec: 1000 |
| 42 | participantClStateChangeIntervalSec: 1000 |
| 43 | participantParameters: |
| 44 | heartBeatMs: 120000 |
| 45 | maxMessageAgeMs: 600000 |
| 46 | maxStatusWaitMs: 100000 |
| 47 | updateParameters: |
| 48 | maxRetryCount: 3 |
| 49 | maxWaitMs: 100000 |
| 50 | databaseProviderParameters: |
| 51 | name: PolicyProviderParameterGroup |
| 52 | implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |
| 53 | databaseDriver: org.mariadb.jdbc.Driver |
| 54 | databaseUrl: jdbc:mariadb://{{ .Values.db.service.name }}:{{ .Values.db.service.internalPort }}/controlloop |
| 55 | databaseUser: ${SQL_USER} |
| 56 | databasePassword: ${SQL_PASSWORD} |
| 57 | persistenceUnit: CommissioningMariaDb |
| 58 | topicParameterGroup: |
| 59 | topicSources: |
| 60 | - |
| 61 | topic: POLICY-CLRUNTIME-PARTICIPANT |
| 62 | servers: |
| 63 | - ${topicServer:message-router} |
| 64 | topicCommInfrastructure: dmaap |
| 65 | useHttps: true |
| 66 | fetchTimeout: 15000 |
| 67 | topicSinks: |
| 68 | - |
| 69 | topic: POLICY-CLRUNTIME-PARTICIPANT |
| 70 | servers: |
| 71 | - ${topicServer:message-router} |
| 72 | topicCommInfrastructure: dmaap |
| 73 | useHttps: true |
| 74 | |
| 75 | management: |
| 76 | endpoints: |
| 77 | web: |
| 78 | exposure: |
| 79 | include: health, metrics, prometheus |