blob: 40b89eabb4ccf244bc4c3118a32704ea407a1f10 [file] [log] [blame]
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +01001{{/*
Sylvain Desbureaux70070412020-11-09 21:58:48 +01002# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureauxb4e038d2020-12-15 12:00:26 +01003# Modifications Copyright © 2020 Orange
efiacord12c1672023-03-23 12:10:50 +00004# Modifications Copyright © 2023 Nordix Foundation
Sylvain Desbureaux70070412020-11-09 21:58:48 +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
18# The following info parameters are being referenced by ajsc6
Sylvain Desbureaux47eb4d22020-12-10 12:15:27 +010019*/}}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010020info.build.artifact=aai-resources
21info.build.name=resources
22info.build.description=Resources Microservice
23info.build.version=1.3.0
24
25spring.application.name=aai-resources
26spring.jersey.type=filter
27
28spring.main.allow-bean-definition-overriding=true
29server.servlet.context-path=/
30
wr148d77086d72021-08-27 16:15:36 -040031spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,org.keycloak.adapters.springboot.KeycloakAutoConfiguration,org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration,org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
32
efiacord12c1672023-03-23 12:10:50 +000033spring.profiles.active={{ .Values.global.config.profiles.active }}
Sylvain Desbureaux70070412020-11-09 21:58:48 +010034spring.jersey.application-path=${schema.uri.base.path}
35#The max number of active threads in this pool
36server.tomcat.max-threads=200
37#The minimum number of threads always kept alive
38server.tomcat.min-Spare-Threads=25
39#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
40server.tomcat.max-idle-time=60000
41
42# If you get an application startup failure that the port is already taken
43# If thats not it, please check if the key-store file path makes sense
44server.local.startpath=aai-resources/src/main/resources/
45server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
46
47server.port=8447
osk1146127fd7d82021-06-18 00:51:17 +020048security.require-ssl=false
49server.ssl.enabled=false
Sylvain Desbureaux70070412020-11-09 21:58:48 +010050
51# JMS bind address host port
52jms.bind.address=tcp://localhost:61647
efiacord12c1672023-03-23 12:10:50 +000053dmaap.ribbon.listOfServers=message-router.{{ include "common.namespace" . }}:3904
54dmaap.ribbon.transportType=http
Sylvain Desbureaux70070412020-11-09 21:58:48 +010055
56# Schema related attributes for the oxm and edges
57# Any additional schema related attributes should start with prefix schema
58schema.configuration.location=N/A
59schema.source.name={{ .Values.global.config.schema.source.name }}
60schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
61schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
62
63schema.ingest.file=${server.local.startpath}/application.properties
64
65# Schema Version Related Attributes
66
67schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}
68# Lists all of the versions in the schema
69schema.version.list={{ .Values.global.config.schema.version.list }}
70# Specifies from which version should the depth parameter to default to zero
71schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
72# Specifies from which version should the related link be displayed in response payload
73schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
74
75# Specifies from which version should the client see only the uri excluding host info
76# Before this version server base will also be included
77schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
78# Specifies from which version should the namespace be changed
79schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
80# Specifies from which version should the client start seeing the edge label in payload
81schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
82# Specifies the version that the application should default to
83schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
84
85schema.translator.list={{ .Values.global.config.schema.translator.list }}
osk1146127fd7d82021-06-18 00:51:17 +020086schema.service.base.url={{ include "common.scheme" . }}://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/
Sylvain Desbureaux70070412020-11-09 21:58:48 +010087schema.service.nodes.endpoint=nodes?version=
88schema.service.edges.endpoint=edgerules?version=
89schema.service.versions.endpoint=versions
efiacord12c1672023-03-23 12:10:50 +000090schema.service.client=no-auth
leila5a93da92022-09-23 12:53:00 -040091
92#to expose the Prometheus scraping endpoint
leila46fb5802022-11-15 11:33:21 -050093management.port=8448
94management.endpoints.enabled-by-default=false
95management.security.enabled=false
96endpoints.enabled=false
97endpoints.info.enabled=false
98endpoints.prometheus.enabled=false
99endpoints.health.enabled=false
100management.metrics.web.server.auto-time-requests=false
leila5a93da92022-09-23 12:53:00 -0400101management.metrics.distribution.percentiles-histogram[http.server.requests]=true
leila46fb5802022-11-15 11:33:21 -0500102management.metrics.distribution.sla[http.server.requests]=20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 500ms, 1000ms, 5000ms, 7000ms
103#Add common tag for grouping all aai related metrics
104management.metrics.tags.group_id=aai
105#It is not advisable to use labels to store dimensions with high cardinality. Enable this option only for debug purposes. For more information: https://github.com/micrometer-metrics/micrometer/issues/1584
106scrape.uri.metrics=false