-
Notifications
You must be signed in to change notification settings - Fork 1
/
application.properties
103 lines (86 loc) · 3.56 KB
/
application.properties
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
# ----------------------------------------
# Release Note Service General
# ----------------------------------------
# REST API read only mode
# This disables any POST/PUT/PATCH/DELETE methods.
rnms.rest-api.readonly=false
# ----------------------------------------
# Web Properties
# ----------------------------------------
server.servlet.contextPath=/release-notes-service
server.port=8081
# Handles X-Forwarded-XXX headers
# Support additional web proxy headers
# See https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto.webserver.use-behind-a-proxy-server
server.forward-headers-strategy=FRAMEWORK
# ----------------------------------------
# Security
# ----------------------------------------
# Basic Authentication
spring.security.user.name=test-user
spring.security.user.password=test-password
#spring.security.user.roles=USER,ADMIN
# Restrict some functions to specific roles.
rnms.ims-security.roles.enabled=false
# Name of the role required to access the REST interface.
# Ignored if nginx is not set up.
rnms.ims-security.required-role=
# ----------------------------------------
# Elasticsearch Data Store
# All persistent data is held in Elasticsearch.
# https://www.elastic.co/products/elasticsearch
#
# If you have more than one Elasticsearch node you may want to adjust the number of shards and replicas.
# The defaults are for simple single node installations.
# See https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster
# ----------------------------------------
# HTTP URL of the Elasticsearch cluster (comma separated list).
rnms.elasticsearch.urls=http://localhost:9200
# Prefix to use in this application's Elasticsearch index names.
# Useful for index naming per environment e.g. dev_
rnms.elasticsearch.index.prefix=
# Username used to access Elasticsearch (if required)
rnms.elasticsearch.username=
# Password used to access Elasticsearch (if required)
rnms.elasticsearch.password=
# ----------------------------------------
# Snowstorm (used to resolve user RBAC roles as these are often controlled per branch or code system)
# ----------------------------------------
rnms.snowstorm.url=http://localhost:8080/snowstorm/snomed-ct
# Toggle whether to check Snowstorm is accessible on start up
rnms.snowstorm.connection-check.enabled=false
# ----------------------------------------
# Logging
# ----------------------------------------
logging.level.root=INFO
# ----------------------------------------
# Springdoc Swagger Config
# ----------------------------------------
# To completely hide the schemas section
springdoc.swagger-ui.defaultModelsExpandDepth=-1
# Sort by tag
springdoc.swagger-ui.tagsSorter=alpha
springdoc.swagger-ui.operationsSorter=alpha
# Hide doc expansion
springdoc.swagger-ui.docExpansion=none
# Enable tryout by default
springdoc.swagger-ui.tryItOutEnabled=true
# Disable generic response
springdoc.override-with-generic-response=false
# Expose spring-boot-actuator endpoints
springdoc.show-actuator=true
springdoc.swagger-ui.groups-order=desc
# ----------------------------------------
# Spring cloud consul config
# ----------------------------------------
spring.cloud.consul.enabled=false
spring.cloud.consul.config.prefix=consul
spring.application.name=release-notes-service
spring.cloud.consul.discovery.healthCheckPath=/release-notes-service/version
spring.cloud.consul.config.profile-separator=/
# Use consul:localhost:8500 when enabled
spring.config.import=optional:
# ----------------------------------------
# Spring vault config
# ----------------------------------------
spring.cloud.vault.enabled=false