blob: 2327ac310b1b37dc792946b995f6f1d4a220546e [file] [log] [blame]
Michal Banka3d487482021-02-11 10:36:47 +01001#============LICENSE_START========================================================
2#=================================================================================
Remigiusz Janeczek2846c942022-03-03 15:45:04 +01003# Copyright (c) 2021-2022 Nokia. All rights reserved.
efiacor65672212023-03-04 09:02:52 +00004# Modifications Copyright © 2023 Nordix Foundation.
Michal Banka3d487482021-02-11 10:36:47 +01005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=========================================================
18
19# Global values
20global:
21 pullPolicy: Always
efiacor65672212023-03-04 09:02:52 +000022image: onap/org.onap.dcaegen2.platform.ves-openapi-manager:1.3.1
Michal Banka3d487482021-02-11 10:36:47 +010023containerPort: &svc_port 8080
24
25service:
26 ports:
27 - name: &port http
28 port: *svc_port
29
Michal Banka3d487482021-02-11 10:36:47 +010030schemaMap:
31 filename: "schema-map.json"
Michal Banka254c71b2021-03-18 13:09:19 +010032 directory: "/app/mappings"
Michal Banka3d487482021-02-11 10:36:47 +010033
34liveness:
35 initialDelaySeconds: 30
36 periodSeconds: 30
37 path: /health
38 port: *port
39 # necessary to disable liveness probe when setting breakpoints
40 # in debugger so K8s doesn't restart unresponsive container
41 # liveness not desirable for Cloudify Manager container
42 enabled: true
43
44readinessCheck:
45 wait_for:
Michal Banka3d487482021-02-11 10:36:47 +010046 - sdc-be
47
48flavor: small
49resources:
50 small:
51 limits:
52 cpu: 1
53 memory: 1Gi
54 requests:
55 cpu: 1
56 memory: 512Mi
57 large:
58 limits:
59 cpu: 2
60 memory: 2Gi
61 requests:
62 cpu: 1
63 memory: 1Gi
farida azmy37481802021-04-11 15:41:32 +020064 unlimited: {}
65
66#Pods Service Account
67serviceAccount:
68 nameOverride: dcae-ves-openapi-manager
69 roles:
70 - read
Tomasz Wrobel9df9ba22022-12-07 12:37:02 +010071
72# initial application configuration
73applicationConfig:
74 vesopenapimanager:
75 validation:
76 schemaMapPath: ${SCHEMA_MAP_PATH:./src/main/resources/schema-map.json}
77 eventDomainPath: /event/structure/commonEventHeader/structure/domain/value
78 eventSchemaReferencePath: /event/structure/stndDefinedFields/structure/schemaReference/value
79 distribution:
Andreas Geisslerb0841b82022-12-16 10:40:21 +010080 sdcAddress: ${SDC_ADDRESS:sdc-be.onap:8080}
efiacor65672212023-03-04 09:02:52 +000081 isUseHttpsWithSDC: false
Tomasz Wrobel9df9ba22022-12-07 12:37:02 +010082 user: dcae
83 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
84 pollingInterval: 20
85 pollingTimeout: 20
86 consumerGroup: dcaegen2
87 environmentName: AUTO
efiacor65672212023-03-04 09:02:52 +000088 consumerID: dcae-ves-openapi-manager
Tomasz Wrobel9df9ba22022-12-07 12:37:02 +010089 activateServerTLSAuth: false
90 isFilterInEmptyResources: false
efiacor65672212023-03-04 09:02:52 +000091
92# Strimzi KafkaUser config
93kafkaUser:
94 acls:
95 - name: dcaegen2
96 type: group
97 operations: [Read]
98 - name: SDC-DISTR
99 type: topic
100 patternType: prefix
101 operations: [Read, Write]