-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
143 lines (113 loc) · 4.94 KB
/
application.properties
File metadata and controls
143 lines (113 loc) · 4.94 KB
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# the server port for the rest service
server.port: 8181
# Options support for unsecure http
server.http.enable=true
server.http.port=8080
# Disable the spring banner
#spring.main.banner-mode=off
# suppress the logging from spring boot
# during debugging this should be set to DEBUG
logging.level.root=INFO
logging.level.org.springframework=INFO
logging.level.org.apache.catalina=INFO
logging.level.org.apache.kafka=INFO
logging.level.org.springframework.web=INFO
logging.level.org.springframework.security=INFO
spring.main.allow-bean-definition-overriding=true
############## SSL - Configuration ##############
server.ssl.key-store-type=PKCS12
server.ssl.key-store=classpath:keystore/newcf.p12
server.ssl.key-store-password=password
server.ssl.key-alias=cf
security.require-ssl=true
############## LDAP - External ##############
ldap.enabled = false
#ldap.urls = ldaps://ldap.cs.nsls2.local/dc=nsls2,dc=bnl,dc=gov
ldap.urls = ldaps://controlns02.nsls2.bnl.gov/dc=nsls2,dc=bnl,dc=gov
ldap.base.dn = dc=nsls2,dc=bnl,dc=gov
ldap.user.search.base=
# User search pattern, e.g. uid={0},ou=People. No default value as LDAP environment may not
# support user search by pattern.
ldap.user.dn.pattern=
# User search filter, e.g. (&(objectClass=person)(SAMAccountName={0})). No default value as LDAP environment
# may not support user search by filter.
ldap.user.search.filter=
ldap.groups.search.base = ou=Group
ldap.groups.search.pattern = (memberUid= {1})
# dn of manager account, may be required for group search
ldap.manager.dn=
# password of account
ldap.manager.password=
############## LDAP - Embedded ##############
embedded_ldap.enabled = true
embedded_ldap.urls = ldap://localhost:8389/dc=olog,dc=local
embedded_ldap.base.dn = dc=olog,dc=local
embedded_ldap.user.dn.pattern = uid={0},ou=People
embedded_ldap.groups.search.base = ou=Group
embedded_ldap.groups.search.pattern = (memberUid= {1})
spring.ldap.embedded.ldif=classpath:olog.ldif
spring.ldap.embedded.base-dn=dc=olog,dc=local
spring.ldap.embedded.port=8389
spring.ldap.embedded.validation.enabled=false
############## Demo Auth ##############
demo_auth.enabled = false
############## Authorization Role --> group Mapping ##############
# Customize group names here
admin-groups=olog-admins,sys-admins,ADMIN
log-groups=olog-logs,USER
tag-groups=olog-tags,USER
property-groups=olog-properties,USER
logbook-groups=olog-logbooks,USER
############################## Elastic Search ###############################
# Elasticsearch, by default, binds itself to the 0.0.0.0 address, and listens
# on port [9200-9300] for HTTP traffic and on port [9300-9400] for node-to-node
# communication. (the range means that if the port is busy, it will automatically
# try the next port).
# Set both 'bind_host' and 'publish_host':
#
elasticsearch.network.host: elastic
# Set a custom port to listen for HTTP traffic:
#
elasticsearch.http.port: 9200
# Set the name of the elastic cluster
elasticsearch.cluster.name: elasticsearch
# The names of the index to use for olog
elasticsearch.tag.index: olog_tags
elasticsearch.tag.type: olog_tag
elasticsearch.logbook.index: olog_logbooks
elasticsearch.logbook.type: olog_logbook
elasticsearch.property.index: olog_properties
elasticsearch.property.type: olog_property
elasticsearch.log.index: olog_logs
elasticsearch.log.type: olog_log
elasticsearch.sequence.index: olog_sequence
elasticsearch.sequence.type: olog_sequence
############################## Mongo gridfs client ###############################
mongo.database:ologAttachments
mongo.host:mongo
mongo.port:27017
############################## Spring Session repository configuration ##############################
# For debugging purposes, set the below to true
# spring.h2.console.enabled=true
# Sets the maximum inactive interval, MUST be in minutes. Defaults to 30 if not set here.
# If set to a negative value, the session never expires.
# spring.session.timeout=30
# URL for the H2 database. Defaults to in-memory, which means sessions are lost between restarts.
# Use the below example to define a file-based URL.
# spring.datasource.url=jdbc:h2:file:./olog-session;DB_CLOSE_ON_EXIT=TRUE
############################## CORS settings ##############################
# Comma separated list of origins allowed to do CORS requests.
# Defaults to http://localhost:3000 (NodeJS development), but must be augmented
# with the origin(s) on which the web front-end is deployed.
#cors.allowed.origins=http://localhost:3000
################## File upload and request size limits ##################
spring.servlet.multipart.max-file-size=50MB
spring.servlet.multipart.max-request-size=100MB
################## List of "levels" ##################
levels=Urgent,Suggestion,Info,Request,Problem
########### Elasticsearch "result set" sizes ##########
# By default Elasticsearch will return 10 items matching a query.
# This may bee too limiting, e.g. when client requests all tags.
elasticsearch.result.size.logbooks=10
elasticsearch.result.size.tags=10
elasticsearch.result.size.properties=10