fd223881b9967649888dd89ca778ba5045418544
[aai/schema-service.git] / aai-schema-service / src / main / resources / application.properties
1 # The following info parameters are being referenced by ajsc6                                                                                                                                                                           [4/1969]info.build.artifact=@project.artifactId@
2 info.build.name=@project.name@
3 info.build.description=@project.description@
4 info.build.version=@project.version@
5
6 spring.application.name=Schema Service Microservice
7 spring.jersey.type=filter
8 spring.main.allow-bean-definition-overriding=true
9
10 server.servlet.context-path=${schema.uri.base.path}
11
12 spring.autoconfigure.exclude=\
13   org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
14   org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
15
16
17 # Add Jetty Selector and Acceptor Properties here
18 #The max number of active threads in this pool
19 jetty.threadPool.maxThreads=500
20 #The minimum number of threads always kept alive
21 jetty.threadPool.minThreads=10
22 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
23 server.tomcat.max-idle-time=60000
24
25 # If you get an application startup failure that the port is already taken
26 # If thats not it, please check if the key-store file path makes sense
27 server.local.startpath=aai-schema-service/src/main/resources/
28 server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
29
30 server.port=8452
31 # Server SSL Related Attributes
32 server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
33 server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore
34 server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
35 server.ssl.trust-store=${server.local.startpath}etc/auth/aai_keystore
36 server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
37 server.ssl.client-auth=want
38 server.ssl.key-store-type=JKS
39
40 # Schema related attributes for the oxm and edges
41 # Any additional schema related attributes should start with prefix schema
42 schema.configuration.location=N/A
43 schema.source.name=onap
44 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
45 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
46 schema.query.location=${server.local.startpath}/schema/${schema.source.name}/query/
47
48 schema.ingest.file=${server.local.startpath}/application.properties
49
50 # Schema Version Related Attributes
51
52 schema.uri.base.path=/aai/schema-service
53 # Lists all of the versions in the schema
54 schema.version.list=v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23
55 # Specifies from which version should the depth parameter to default to zero
56 schema.version.depth.start=v10
57 # Specifies from which version should the related link be displayed in response payload
58 schema.version.related.link.start=v10
59 # Specifies from which version should the client see only the uri excluding host info
60 # Before this version server base will also be included
61 schema.version.app.root.start=v11
62 # Specifies from which version should the namespace be changed
63 schema.version.namespace.change.start=v12
64 # Specifies from which version should the client start seeing the edge label in payload
65 schema.version.edge.label.start=v12
66 # Specifies the version that the application should default to
67 schema.version.api.default=v23