aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/components/uui-server/resources/config/application.properties
blob: a86cea7ff3a3b76d1fc415d0f706a1f3bf527355 (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
##
## Copyright (C) 2022 CMCC, Inc. and others. All rights reserved.
##
## 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.
##
## General App Properties
spring.application.name=uui-server
server.servlet.contextPath={{ .Values.uuiServer.basePath }}
server.port=8082
spring.http.multipart.max-file-size=128MB
spring.http.multipart.max-request-size=128MB

## App DB Properties
spring.datasource.url=jdbc:postgresql://${POSTGRES_IP:127.0.0.1}:${POSTGRES_PORT:5432}/${POSTGRES_DB_NAME:uui}
spring.datasource.username=${POSTGRES_USERNAME}
spring.datasource.password=${POSTGRES_PASSWORD}
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
spring.database.driver.classname=org.postgresql.Driver
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=false
spring.jpa.properties.hibernate.show-sql=false
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
spring.jpa.properties.hibernate.cache.use_second_level_cache=false
spring.jpa.properties.hibernate.cache.use_query_cache=false
#spring.jpa.properties.hibernate.allow_update_outside_transaction=true

## Basic Authentication Properties
# security.user.name=usecase
# security.user.password=usecase

## Logback Properties
logging.file.name=logs/usecaseui_server.log
logging.level.*=INFO

#enable shutdown
endpoints.shutdown.enabled=true
endpoints.shutdown.sensitive=false

intents.scheduledTask.enabled=false

management.endpoints.web.exposure.include=*
management.tracing.enabled={{ default .Values.global.tracing.enabled .Values.tracing.enabled }}
management.tracing.sampling.probability={{ default .Values.global.tracing.sampling.probability .Values.tracing.collector.baseUrl }}
management.zipkin.tracing.endpoint={{ default .Values.global.tracing.collector.baseUrl .Values.tracing.collector.baseUrl }}/api/v2/spans

uui-server.client.aai.baseUrl={{ .Values.uuiServer.client.aai.baseUrl }}
uui-server.client.aai.apiVersion={{ .Values.uuiServer.client.aai.apiVersion }}
uui-server.client.aai.username={{ .Values.uuiServer.client.aai.username }}
uui-server.client.aai.password={{ .Values.uuiServer.client.aai.password }}
uui-server.client.so.baseUrl={{ .Values.uuiServer.client.so.baseUrl }}
uui-server.client.so.username={{ .Values.uuiServer.client.so.username }}
uui-server.client.so.password={{ .Values.uuiServer.client.so.password }}
uui-server.client.sdc.baseUrl={{ .Values.uuiServer.client.sdc.baseUrl }}
uui-server.client.sdc.username={{ .Values.uuiServer.client.sdc.username }}
uui-server.client.sdc.password={{ .Values.uuiServer.client.sdc.password }}
uui-server.slicing.service-invariant-uuid={{ .Values.uuiServer.slicing.serviceInvariantUuid }}
uui-server.slicing.service-uuid={{ .Values.uuiServer.slicing.serviceUuid }}
uui-server.slicing.global-subscriber-id={{ .Values.uuiServer.slicing.globalSubscriberId }}
uui-server.slicing.service-type={{ .Values.uuiServer.slicing.serviceType }}
uui-server.ccvpn.globalCustomerId={{ .Values.uuiServer.ccvpn.globalCustomerId }}
uui-server.ccvpn.serviceType={{ .Values.uuiServer.ccvpn.serviceType }}
uui-server.ccvpn.subscriberName={{ .Values.uuiServer.ccvpn.subscriberName }}
uui-server.ccvpn.subscriberType={{ .Values.uuiServer.ccvpn.subscriberType }}