Merge "[POLICY] Update docker images to latest versions"
[oom.git] / kubernetes / aai / components / aai-graphadmin / resources / config / application.properties
1 {{/*
2 #
3 # ============LICENSE_START=======================================================
4 # org.onap.aai
5 # ================================================================================
6 # Copyright � 2018 AT&T Intellectual Property. All rights reserved.
7 # Modifications Copyright © 2021 Orange
8 # Modifications Copyright � 2023 Nordix Foundation
9 # ================================================================================
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
13 #
14 #    http://www.apache.org/licenses/LICENSE-2.0
15 #
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
21 # ============LICENSE_END=========================================================
22
23 # The following info parameters are being referenced by ajsc6
24 */}}
25 info.build.artifact=aai-graphadmin
26 info.build.name=resources
27 info.build.description=Resources Microservice
28 info.build.version=1.2.0
29
30 spring.application.name=aai-graphadmin
31 spring.jersey.type=filter
32
33 spring.main.allow-bean-definition-overriding=true
34 server.servlet.context-path=/
35
36 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
37
38 spring.profiles.active={{ .Values.config.profiles.active }}
39 spring.jersey.application-path=${schema.uri.base.path}
40 #The max number of active threads in this pool
41 server.tomcat.max-threads=200
42 #The minimum number of threads always kept alive
43 server.tomcat.min-Spare-Threads=25
44 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
45 server.tomcat.max-idle-time=60000
46
47 # If you get an application startup failure that the port is already taken
48 # If thats not it, please check if the key-store file path makes sense
49 server.local.startpath=/opt/app/aai-graphadmin/resources/
50 server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
51
52 server.port=8449
53 security.require-ssl=false
54 server.ssl.enabled=false
55
56 # JMS bind address host port
57 jms.bind.address=tcp://localhost:61649
58
59 # dmaap is deprecated now kafka is used
60 spring.kafka.producer.bootstrap-servers=${BOOTSTRAP_SERVERS}
61 spring.kafka.producer.properties.security.protocol=SASL_PLAINTEXT
62 spring.kafka.producer.properties.sasl.mechanism=SCRAM-SHA-512
63 spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
64 spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer
65 spring.kafka.producer.properties.sasl.jaas.config=${JAAS_CONFIG}
66 spring.kafka.producer.retries=3
67
68 # Schema related attributes for the oxm and edges
69 # Any additional schema related attributes should start with prefix schema
70 schema.configuration.location=N/A
71 schema.source.name={{ .Values.global.config.schema.source.name }}
72 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
73 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
74
75 schema.ingest.file=${server.local.startpath}/application.properties
76
77 # Schema Version Related Attributes
78
79 schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}
80 # Lists all of the versions in the schema
81 schema.version.list={{ .Values.global.config.schema.version.list }}
82 # Specifies from which version should the depth parameter to default to zero
83 schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
84 # Specifies from which version should the related link be displayed in response payload
85 schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}
86
87 # Specifies from which version should the client see only the uri excluding host info
88 # Before this version server base will also be included
89 schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
90 # Specifies from which version should the namespace be changed
91 schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
92 # Specifies from which version should the client start seeing the edge label in payload
93 schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
94 # Specifies the version that the application should default to
95 schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
96
97 schema.translator.list={{ .Values.global.config.schema.translator.list }}
98 schema.service.base.url={{ include "common.scheme" . }}://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/
99 schema.service.nodes.endpoint=nodes?version=
100 schema.service.edges.endpoint=edgerules?version=
101 schema.service.versions.endpoint=versions
102 schema.service.client=no-auth
103
104
105 aperture.rdbmsname=aai_relational
106
107 aperture.service.client=no-auth
108
109 aperture.service.base.url=http://localhost:8457/aai/aperture
110 aperture.service.timeout-in-milliseconds=300000
111
112 #To Expose the Prometheus scraping endpoint
113 management.server.port=8448
114 management.endpoints.enabled-by-default=true
115 management.endpoints.web.exposure.include=info,health,prometheus
116 endpoints.enabled=false
117 management.security.enabled=false