summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-schema-service/config/application.properties
blob: 499fa96cd5fcd2e815d3b995cfd5e6394137d094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{{/*
# Copyright © 2018 Amdocs, Bell Canada, AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# The following info parameters are being referenced by ajsc6
*/}}
info.build.artifact=aai-schema-service
info.build.name=schema-service
info.build.description=Schema Service Microservice
info.build.version=1.1.0

spring.application.name=aai-schema-service
spring.jersey.type=filter

spring.main.allow-bean-definition-overriding=true
server.servlet.context-path=/

spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration

spring.jersey.application-path=${schema.uri.base.path}
server.tomcat.max-threads=200
server.tomcat.min-Spare-Threads=25
server.tomcat.max-idle-time=60000

server.local.startpath=aai-schema-service/src/main/resources/
server.basic.auth.location=${server.local.startpath}/etc/auth/realm.properties

server.port=8452
server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
server.ssl.key-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.keystore.filename }}
server.ssl.key-store-password=password({{ .Values.global.config.keystore.passwd }})
server.ssl.trust-store=${server.local.startpath}/etc/auth/{{ .Values.global.config.truststore.filename }}
server.ssl.trust-store-password=password({{ .Values.global.config.truststore.passwd }})
server.ssl.client-auth=want
server.ssl.key-store-type=JKS

schema.configuration.location=N/A
schema.source.name={{ .Values.global.config.schema.source.name }}
schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
schema.query.location=${server.local.startpath}/schema/${schema.source.name}/query/

schema.ingest.file=${server.local.startpath}/application.properties

# Schema Version Related Attributes
schema.uri.base.path={{ .Values.global.config.schema.uri.base.path }}/schema-service
# Lists all of the versions in the schema
schema.version.list={{ .Values.global.config.schema.version.list }}
# Specifies from which version should the depth parameter to default to zero
schema.version.depth.start={{ .Values.global.config.schema.version.depth }}
# Specifies from which version should the related link be displayed in response payload
schema.version.related.link.start={{ .Values.global.config.schema.version.related.link }}

# Specifies from which version should the client see only the uri excluding host info
# Before this version server base will also be included
schema.version.app.root.start={{ .Values.global.config.schema.version.app.root }}
# Specifies from which version should the namespace be changed
schema.version.namespace.change.start={{ .Values.global.config.schema.version.namespace.change }}
# Specifies from which version should the client start seeing the edge label in payload
schema.version.edge.label.start={{ .Values.global.config.schema.version.edge.label }}
# Specifies the version that the application should default to
schema.version.api.default={{ .Values.global.config.schema.version.api.default }}
span> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>com.att.eelf</groupId> <artifactId>eelf-core</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>${bundle.plugin.version}</version> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>org.onap.sdnc.config.params</Bundle-SymbolicName> <Bundle-Activator>org.onap.sdnc.config.params.ParamsHandlerActivator</Bundle-Activator> <Export-Package>org.onap.sdnc.config.params,org.onap.sdnc.config.params.data, org.onap.sdnc.config.params.parser,org.onap.sdnc.config.params.transformer, org.onap.sdnc.config.params.transformer.tosca,org.onap.sdnc.config.params.transformer.tosca.exceptions</Export-Package> <Import-Package>groovy.lang;resolution:=optional,org.codehaus.groovy.*;resolution:=optional,!com.google.common.collect,*</Import-Package> <Embed-Dependency>guava,jackson-databind,jackson-annotations,jackson-core,jackson-dataformat-yaml,eelf-core,logback-core,logback-classic</Embed-Dependency> <DynamicImport-Package>*</DynamicImport-Package> </instructions> <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> </plugins> </pluginManagement> </build> <version>1.5.0-SNAPSHOT</version> </project>