aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-drools-pdp/resources/configmaps/base.conf
blob: dc7f788405caf90c6dd3f7252c44fa08369d15fa (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{{/*
# Copyright © 2017-2018 Amdocs, Bell Canada.
# Modifications Copyright (C) 2018-2020, 2022 AT&T Intellectual Property.
# Modifications Copyright (C) 2021 Bell Canada. All rights reserved.
# Modifications Copyright (C) 2024 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.
*/}}

# JVM options

JVM_OPTIONS={{ .Values.server.jvmOpts | quote }}

# SYSTEM software configuration

POLICY_HOME=/opt/app/policy
POLICY_LOGS=/var/log/onap/policy/pdpd

# Telemetry credentials

TELEMETRY_PORT=9696
TELEMETRY_HOST=0.0.0.0

# nexus repository

SNAPSHOT_REPOSITORY_ID=policy-nexus-snapshots
SNAPSHOT_REPOSITORY_URL=http://{{.Values.nexus.name}}:{{.Values.nexus.port}}/nexus/content/repositories/snapshots/
RELEASE_REPOSITORY_ID=policy-nexus-releases
RELEASE_REPOSITORY_URL=http://{{.Values.nexus.name}}:{{.Values.nexus.port}}/nexus/content/repositories/releases/
REPOSITORY_OFFLINE={{.Values.nexus.offline}}

# Relational (SQL) DB access

{{ if .Values.global.mariadbGalera.useInPolicy }}
SQL_HOST={{ .Values.db.mariadbName }}
SQL_PORT={{ .Values.db.mariadbPort }}
JDBC_URL=jdbc:mariadb://{{ .Values.db.mariadbName }}:{{ .Values.db.mariadbPort }}/
JDBC_OPTS=
JDBC_DRIVER=org.mariadb.jdbc.Driver
MYSQL_CMD=
{{ else }}
SQL_HOST={{ .Values.db.pgName }}
SQL_PORT={{ .Values.db.pgPort }}
JDBC_URL=jdbc:postgresql://{{ .Values.db.pgName }}:{{ .Values.db.pgPort }}/
JDBC_OPTS=
JDBC_DRIVER=org.postgresql.Driver
MYSQL_CMD=
{{ end }}

# Liveness
LIVENESS_CONTROLLERS=*

# HTTP Servers

HTTP_SERVER_HTTPS="false"
PROMETHEUS=true

# PDP-D DMaaP configuration channel

PDPD_CONFIGURATION_TOPIC=pdpd_configuration
PDPD_CONFIGURATION_SERVERS={{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
PDPD_CONFIGURATION_CONSUMER_GROUP=
PDPD_CONFIGURATION_CONSUMER_INSTANCE=
PDPD_CONFIGURATION_PARTITION_KEY=

# PAP-PDP configuration channel

POLICY_PDP_PAP_TOPIC=policy-pdp-pap
POLICY_PDP_PAP_GROUP=defaultGroup
POLICY_PDP_PAP_POLICYTYPES=onap.policies.controlloop.operational.common.Drools

# Symmetric Key for encoded sensitive data

SYMM_KEY=

# PAP

PAP_HOST=policy-pap

# PDP-X

PDP_HOST=policy-xacml-pdp
PDP_PORT=6969
PDP_CONTEXT_URI=policy/pdpx/v1/
GUARD_DISABLED=false

# DCAE DMaaP

DCAE_TOPIC=unauthenticated.dcae_cl_output
DCAE_SERVERS={{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
DCAE_CONSUMER_GROUP=dcae.policy.shared

# Open DMaaP

KAFKA_SERVERS={{ include "common.release" . }}-{{ .Values.global.kafkaBootstrap }}
KAFKA_ADDITIONAL_PROPS="{
                   \"group.id\": \"${GROUP_ID}\",
                   \"security.protocol\": \"SASL_PLAINTEXT\",
                   \"sasl.mechanism\": \"${SASL}\",
                   \"sasl.jaas.config\": \"${JAASLOGIN}\"
                 }"

DMAAP_HTTPS="false"
KAFKA_HTTPS="false"

# AAI

AAI_HOST=aai.{{.Release.Namespace}}
AAI_PORT=8080
AAI_CONTEXT_URI=

# MSO

SO_HOST=so.{{.Release.Namespace}}
SO_PORT=8080
SO_CONTEXT_URI=onap/so/infra/
SO_URL=https://so.{{.Release.Namespace}}:8080/onap/so/infra

# VFC

VFC_HOST=
VFC_PORT=
VFC_CONTEXT_URI=api/nslcm/v1/

# SDNC

SDNC_HOST=sdnc.{{.Release.Namespace}}
SDNC_PORT=8282
SDNC_CONTEXT_URI=restconf/operations/

# CDS

CDS_GRPC_HOST={{.Values.cds.grpc.svcName}}
CDS_GRPC_PORT={{.Values.cds.grpc.svcPort}}