Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 1 | {{/* |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 2 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Sylvain Desbureaux | b4e038d | 2020-12-15 12:00:26 +0100 | [diff] [blame] | 3 | # Modifications Copyright © 2020 Orange |
Fiete Ostkamp | 75e7407 | 2023-11-08 08:48:49 +0100 | [diff] [blame] | 4 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 5 | # |
| 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 Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 19 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 20 | info.build.artifact=aai-resources |
| 21 | info.build.name=resources |
| 22 | info.build.description=Resources Microservice |
| 23 | info.build.version=1.3.0 |
| 24 | |
| 25 | spring.application.name=aai-resources |
| 26 | spring.jersey.type=filter |
| 27 | |
| 28 | spring.main.allow-bean-definition-overriding=true |
| 29 | server.servlet.context-path=/ |
| 30 | |
Fiete Ostkamp | 75e7407 | 2023-11-08 08:48:49 +0100 | [diff] [blame] | 31 | spring.zipkin.baseUrl={{ .Values.tracing.collector.baseUrl }} |
| 32 | spring.sleuth.messaging.jms.enabled = false |
| 33 | spring.sleuth.trace-id128=true |
| 34 | spring.sleuth.sampler.probability={{ .Values.tracing.sampling.probability }} |
| 35 | spring.sleuth.propagation.type=w3c, b3 |
| 36 | spring.sleuth.supports-join=false |
| 37 | spring.sleuth.web.skip-pattern={{ join "," .Values.tracing.ignorePatterns }} |
| 38 | |
wr148d | 77086d7 | 2021-08-27 16:15:36 -0400 | [diff] [blame] | 39 | spring.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 |
| 40 | |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 41 | spring.profiles.active={{ .Values.global.config.profiles.active }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 42 | spring.jersey.application-path=${schema.uri.base.path} |
| 43 | #The max number of active threads in this pool |
| 44 | server.tomcat.max-threads=200 |
| 45 | #The minimum number of threads always kept alive |
| 46 | server.tomcat.min-Spare-Threads=25 |
| 47 | #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads |
| 48 | server.tomcat.max-idle-time=60000 |
| 49 | |
| 50 | # If you get an application startup failure that the port is already taken |
| 51 | # If thats not it, please check if the key-store file path makes sense |
| 52 | server.local.startpath=aai-resources/src/main/resources/ |
| 53 | server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties |
| 54 | |
| 55 | server.port=8447 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 56 | security.require-ssl=false |
| 57 | server.ssl.enabled=false |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 58 | |
| 59 | # JMS bind address host port |
| 60 | jms.bind.address=tcp://localhost:61647 |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 61 | dmaap.ribbon.listOfServers=message-router.{{ include "common.namespace" . }}:3904 |
| 62 | dmaap.ribbon.transportType=http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 63 | |
| 64 | # Schema related attributes for the oxm and edges |
| 65 | # Any additional schema related attributes should start with prefix schema |
| 66 | schema.configuration.location=N/A |
| 67 | schema.source.name={{ .Values.global.config.schema.source.name }} |
| 68 | schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/ |
| 69 | schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/ |
| 70 | |
| 71 | schema.ingest.file=${server.local.startpath}/application.properties |
| 72 | |
| 73 | # Schema Version Related Attributes |
| 74 | |
| 75 | schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }} |
| 76 | # Lists all of the versions in the schema |
| 77 | schema.version.list={{ .Values.global.config.schema.version.list }} |
| 78 | # Specifies from which version should the depth parameter to default to zero |
| 79 | schema.version.depth.start={{ .Values.global.config.schema.version.depth }} |
| 80 | # Specifies from which version should the related link be displayed in response payload |
| 81 | schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }} |
| 82 | |
| 83 | # Specifies from which version should the client see only the uri excluding host info |
| 84 | # Before this version server base will also be included |
| 85 | schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }} |
| 86 | # Specifies from which version should the namespace be changed |
| 87 | schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }} |
| 88 | # Specifies from which version should the client start seeing the edge label in payload |
| 89 | schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }} |
| 90 | # Specifies the version that the application should default to |
| 91 | schema.version.api.default={{ .Values.global.config.schema.version.api.default }} |
| 92 | |
| 93 | schema.translator.list={{ .Values.global.config.schema.translator.list }} |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 94 | schema.service.base.url={{ include "common.scheme" . }}://aai-schema-service.{{ include "common.namespace" . }}:8452/aai/schema-service/v1/ |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 95 | schema.service.nodes.endpoint=nodes?version= |
| 96 | schema.service.edges.endpoint=edgerules?version= |
| 97 | schema.service.versions.endpoint=versions |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 98 | schema.service.client=no-auth |
leila | 5a93da9 | 2022-09-23 12:53:00 -0400 | [diff] [blame] | 99 | |
| 100 | #to expose the Prometheus scraping endpoint |
Fiete Ostkamp | 63f8bfd | 2024-01-10 16:11:43 +0100 | [diff] [blame] | 101 | management.server.port=8448 |
| 102 | management.endpoints.enabled-by-default=true |
| 103 | management.endpoints.web.exposure.include=info,health,prometheus |
Fiete Ostkamp | 40cbf9b | 2024-01-08 16:04:02 +0100 | [diff] [blame] | 104 | endpoints.enabled={{ .Values.endpoints.enabled }} |
| 105 | endpoints.info.enabled={{ .Values.endpoints.info.enabled }} |
| 106 | endpoints.prometheus.enabled={{ .Values.metrics.serviceMonitor.enabled }} |
| 107 | endpoints.health.enabled={{ .Values.endpoints.health.enabled }} |
leila | 46fb580 | 2022-11-15 11:33:21 -0500 | [diff] [blame] | 108 | management.metrics.web.server.auto-time-requests=false |
leila | 5a93da9 | 2022-09-23 12:53:00 -0400 | [diff] [blame] | 109 | management.metrics.distribution.percentiles-histogram[http.server.requests]=true |
leila | 46fb580 | 2022-11-15 11:33:21 -0500 | [diff] [blame] | 110 | management.metrics.distribution.sla[http.server.requests]=20ms, 30ms, 40ms, 50ms, 60ms, 70ms, 80ms, 90ms, 100ms, 500ms, 1000ms, 5000ms, 7000ms |
| 111 | #Add common tag for grouping all aai related metrics |
| 112 | management.metrics.tags.group_id=aai |
| 113 | #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 |
| 114 | scrape.uri.metrics=false |