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 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | # The following info parameters are being referenced by ajsc6 |
Sylvain Desbureaux | 47eb4d2 | 2020-12-10 12:15:27 +0100 | [diff] [blame] | 18 | */}} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 19 | info.build.artifact=aai-resources |
| 20 | info.build.name=resources |
| 21 | info.build.description=Resources Microservice |
| 22 | info.build.version=1.3.0 |
| 23 | |
| 24 | spring.application.name=aai-resources |
| 25 | spring.jersey.type=filter |
| 26 | |
| 27 | spring.main.allow-bean-definition-overriding=true |
| 28 | server.servlet.context-path=/ |
| 29 | |
wr148d | 77086d7 | 2021-08-27 16:15:36 -0400 | [diff] [blame] | 30 | 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 |
| 31 | |
| 32 | spring.profiles.active={{ .Values.global.config.profiles.active }}{{ .Values.global.aafEnabled | ternary ",aaf-auth" "" }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 33 | spring.jersey.application-path=${schema.uri.base.path} |
| 34 | #The max number of active threads in this pool |
| 35 | server.tomcat.max-threads=200 |
| 36 | #The minimum number of threads always kept alive |
| 37 | server.tomcat.min-Spare-Threads=25 |
| 38 | #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads |
| 39 | server.tomcat.max-idle-time=60000 |
| 40 | |
| 41 | # If you get an application startup failure that the port is already taken |
| 42 | # If thats not it, please check if the key-store file path makes sense |
| 43 | server.local.startpath=aai-resources/src/main/resources/ |
| 44 | server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties |
| 45 | |
| 46 | server.port=8447 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 47 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 48 | server.ssl.enabled-protocols=TLSv1.1,TLSv1.2 |
Sylvain Desbureaux | b4e038d | 2020-12-15 12:00:26 +0100 | [diff] [blame] | 49 | server.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12 |
| 50 | server.ssl.key-store-password=${KEYSTORE_PASSWORD} |
| 51 | server.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks |
| 52 | server.ssl.trust-store-password=${TRUSTSTORE_PASSWORD} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 53 | server.ssl.client-auth=want |
| 54 | server.ssl.key-store-type=JKS |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 55 | {{ else }} |
| 56 | security.require-ssl=false |
| 57 | server.ssl.enabled=false |
| 58 | {{ end }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 59 | |
| 60 | # JMS bind address host port |
| 61 | jms.bind.address=tcp://localhost:61647 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 62 | dmaap.ribbon.listOfServers=message-router.{{.Release.Namespace}}:{{ (eq "true" (include "common.needTLS" .)) | ternary 3905 3904 }} |
| 63 | dmaap.ribbon.transportType={{ include "common.scheme" . }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 64 | |
| 65 | # Schema related attributes for the oxm and edges |
| 66 | # Any additional schema related attributes should start with prefix schema |
| 67 | schema.configuration.location=N/A |
| 68 | schema.source.name={{ .Values.global.config.schema.source.name }} |
| 69 | schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/ |
| 70 | schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/ |
| 71 | |
| 72 | schema.ingest.file=${server.local.startpath}/application.properties |
| 73 | |
| 74 | # Schema Version Related Attributes |
| 75 | |
| 76 | schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }} |
| 77 | # Lists all of the versions in the schema |
| 78 | schema.version.list={{ .Values.global.config.schema.version.list }} |
| 79 | # Specifies from which version should the depth parameter to default to zero |
| 80 | schema.version.depth.start={{ .Values.global.config.schema.version.depth }} |
| 81 | # Specifies from which version should the related link be displayed in response payload |
| 82 | schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }} |
| 83 | |
| 84 | # Specifies from which version should the client see only the uri excluding host info |
| 85 | # Before this version server base will also be included |
| 86 | schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }} |
| 87 | # Specifies from which version should the namespace be changed |
| 88 | schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }} |
| 89 | # Specifies from which version should the client start seeing the edge label in payload |
| 90 | schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }} |
| 91 | # Specifies the version that the application should default to |
| 92 | schema.version.api.default={{ .Values.global.config.schema.version.api.default }} |
| 93 | |
| 94 | schema.translator.list={{ .Values.global.config.schema.translator.list }} |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 95 | 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] | 96 | schema.service.nodes.endpoint=nodes?version= |
| 97 | schema.service.edges.endpoint=edgerules?version= |
| 98 | schema.service.versions.endpoint=versions |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 99 | schema.service.client={{ (eq "true" ( include "common.needTLS" .)) | ternary .Values.global.config.schema.service.client "no-auth" }} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 100 | |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 101 | {{ if ( include "common.needTLS" .) }} |
Sylvain Desbureaux | b4e038d | 2020-12-15 12:00:26 +0100 | [diff] [blame] | 102 | schema.service.ssl.key-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.p12 |
| 103 | schema.service.ssl.trust-store={{ .Values.certInitializer.credsPath }}/{{ .Values.certInitializer.fqi_namespace }}.trust.jks |
| 104 | schema.service.ssl.key-store-password=${KEYSTORE_PASSWORD} |
| 105 | schema.service.ssl.trust-store-password=${TRUSTSTORE_PASSWORD} |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 106 | {{ end }} |