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