summaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/resources/application.properties
blob: 4ef501b878175fbc7ffd654fcfb48612ce698913 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# The following info parameters are being referenced by ajsc6
info.build.artifact=aai-traversal
info.build.name=traversal
info.build.description=Traversal Microservice
info.build.version=1.1.0

spring.application.name=aai-traversal
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,\
  org.keycloak.adapters.springboot.KeycloakAutoConfiguration,\
  org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, \
  org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration

spring.jersey.application-path=${schema.uri.base.path}

#The max number of active threads in this pool
jetty.threadPool.maxThreads=200
#The minimum number of threads always kept alive
jetty.threadPool.minThreads=8
#The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
server.tomcat.max-idle-time=60000

# If you get an application startup failure that the port is already taken
# If thats not it, please check if the key-store file path makes sense
server.local.startpath=aai-traversal/src/main/resources/
server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties

server.port=8446
server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
server.compression.excluded-user-agents=
# By default spring boot jetty will exclude the following ciphers
# We need to specifically add this to support tls v1.1
server.ssl.ciphers=^.*_(MD5|SHA|SHA1)$
server.ssl.client-auth=want
server.ssl.key-store-type=JKS

# Start of Internal Specific Properties
# Switch to one-way-ssl
spring.profiles.active=production,one-way-ssl
# Switch to keycloak
#spring.profiles.active=production, keycloak
###
server.certs.location=${server.local.startpath}etc/auth/
server.keystore.name.pkcs12=aai_keystore
server.keystore.name=aai_keystore
server.truststore.name=aai_keystore
###
server.ssl.key-store=${server.certs.location}${server.keystore.name}
server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
server.ssl.trust-store=${server.certs.location}${server.truststore.name}
server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)

schema.version.list=v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23
# Specifies which component should the oxm be looking at
schema.source.name=onap
# End of Internal Specific Properties

# JMS bind address host port
jms.bind.address=tcp://localhost:61646

dmaap.ribbon.listOfServers=localhost:3904

# Schema related attributes for the oxm and edges
# Any additional schema related attributes should start with prefix schema

schema.configuration.location=N/A
# Location of where the oxm files are
schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
# Location of where the dbedgerules files are
schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
# Location of where the stored queries are
schema.queries.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=/aai
# Specifies from which version should the depth parameter to default to zero
schema.version.depth.start=v10
# Specifies from which version should the related link be displayed in response payload
schema.version.related.link.start=v10
# 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=v11
# Specifies from which version should the namespace be changed
schema.version.namespace.change.start=v12
# Specifies from which version should the client start seeing the edge label in payload
schema.version.edge.label.start=v12
# Specifies the version that the application should default to
schema.version.api.default=v23

schema.translator.list=config
schema.service.base.url=https://localhost:8452/aai/schema-service/v1/
schema.service.nodes.endpoint=nodes?version=
schema.service.edges.endpoint=edgerules?version=
schema.service.versions.endpoint=versions
schema.service.custom.queries.endpoint=stored-queries

schema.service.ssl.key-store=${server.certs.location}${server.keystore.name.pkcs12}
schema.service.ssl.trust-store=${server.certs.location}${server.truststore.name}

schema.service.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
schema.service.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
schema.service.versions.override=false

# Location of the cadi properties file should be specified here
aaf.cadi.file=${server.local.startpath}/cadi.properties

history.enabled=false;
history.truncate.window.days=365

#To Expose the Prometheus scraping endpoint
management.server.port=8448
#To Enable Actuator Endpoint, you can override this to True in OOM charts
management.endpoints.enabled-by-default=false
#To Enable Actuator Endpoint, you can override this in OOM Charts
#management.endpoints.web.exposure.include=info, health, prometheus
management.metrics.web.server.auto-time-requests=false
management.metrics.tags.group_id=aai
management.metrics.tags.app_id=${info.build.artifact}