Merge "[AAI] Integrate Micrometer to identify slow APIs (Making aai_uri tag configura...
[aai/traversal.git] / aai-traversal / src / test / resources / application-test.properties
1 # The following info parameters are being referenced by ajsc6
2 info.build.artifact=aai-traversal
3 info.build.name=traversal
4 info.build.description=Traversal Microservice
5 info.build.version=1.1.0
6
7 spring.application.name=aai-traversal
8 spring.jersey.type=filter
9
10 server.contextPath=/
11 spring.autoconfigure.exclude=\
12   org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,\
13   org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
14   org.keycloak.adapters.springboot.KeycloakAutoConfiguration,\
15   org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration,\
16   org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
17
18 spring.jersey.application-path=${schema.uri.base.path}
19
20 spring.profiles.active=production
21 #The max number of active threads in this pool
22 server.tomcat.max-threads=200
23 #The minimum number of threads always kept alive
24 server.tomcat.min-Spare-Threads=25
25 #The number of milliseconds before an idle thread shutsdown, unless the number of active threads are less or equal to minSpareThreads
26 server.tomcat.max-idle-time=60000
27
28 #Servlet context parameters
29 server.context_parameters.p-name=value #context parameter with p-name as key and value as value.
30
31 # If you get an application startup failure that the port is already taken
32 # If thats not it, please check if the key-store file path makes sense
33 server.local.startpath=src/main/resources/
34 server.basic.auth.location=${server.local.startpath}etc/auth/realm.properties
35
36 server.port=8446
37 security.require-ssl=false 
38 server.ssl.enabled=false
39 #server.ssl.enabled-protocols=TLSv1.1,TLSv1.2
40 #server.ssl.key-store=${server.local.startpath}etc/auth/aai_keystore
41 #server.ssl.key-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
42 #server.ssl.trust-store-password=password(OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0)
43 #server.ssl.client-auth=want
44 #server.ssl.key-store-type=JKS
45
46 # JMS bind address host port
47 jms.bind.address=tcp://localhost:61646
48
49 dmaap.ribbon.listOfServers=localhost:3904
50
51 # Schema related attributes for the oxm and edges
52 # Any additional schema related attributes should start with prefix schema
53 schema.configuration.location=N/A
54 # Choose if the oxm schema is onap or other system
55 schema.source.name=onap
56 # Location of where the oxm files are
57 schema.nodes.location=${server.local.startpath}/schema/${schema.source.name}/oxm/
58 # Location of where the dbedgerules files are
59 schema.edges.location=${server.local.startpath}/schema/${schema.source.name}/dbedgerules/
60 # Location of where the stored queries are
61 schema.queries.location=${server.local.startpath}/schema/${schema.source.name}/query/
62
63 schema.ingest.file=${server.local.startpath}/application-test.properties
64
65 # Schema Version Related Attributes
66 schema.uri.base.path=/aai
67 # Lists all of the versions in the schema
68 schema.version.list=v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24
69 # Specifies from which version should the depth parameter to default to zero
70 schema.version.depth.start=v10
71 # Specifies from which version should the related link be displayed in response payload
72 schema.version.related.link.start=v10
73 # Specifies from which version should the client see only the uri excluding host info
74 # Before this version server base will also be included
75 schema.version.app.root.start=v11
76 # Specifies from which version should the namespace be changed
77 schema.version.namespace.change.start=v12
78 # Specifies from which version should the client start seeing the edge label in payload
79 schema.version.edge.label.start=v12
80 # Specifies the version that the application should default to
81 schema.version.api.default=v24
82
83 schema.translator.list=config
84
85 #To expose the Prometheus scraping endpoint in unit test
86 management.server.port=0
87 management.endpoints.enabled-by-default=true
88 management.endpoints.web.exposure.include=info, health, prometheus
89 management.metrics.web.server.auto-time-requests=false
90 scrape.uri.metrics=true