generated from finos/software-project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathconfig-sample.yaml
119 lines (109 loc) · 3.11 KB
/
config-sample.yaml
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
# Copyright 2020 Goldman Sachs
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
applicationName: Legend SDLC
sessionCookie: LEGEND_SDLC_JSESSIONID
server:
applicationConnectors:
- type: http
port: 6100
maxRequestHeaderSize: 128KiB
adminConnectors:
- type: http
port: 6101
gzip:
includedMethods:
- GET
- POST
requestLog:
type: classic
appenders:
- type: file
currentLogFilename: ./logs/access.log
threshold: ALL
archive: true
archivedLogFilenamePattern: ./logs/access-%d.log
archivedFileCount: 5
timeZone: UTC
rootPath: /api
#features:
# canCreateProject: true
# canCreateVersion: true
filterPriorities:
GitLab: 1
org.pac4j.j2e.filter.CallbackFilter: 2
org.pac4j.j2e.filter.SecurityFilter: 3
CORS: 4
pac4j:
callbackPrefix: /api/pac4j/login
clients:
- org.finos.legend.server.pac4j.gitlab.GitlabClient:
name: gitlab
clientId: $APP_ID
secret: $APP_SECRET
discoveryUri: https://$GITLAB_HOST/.well-known/openid-configuration
scope: openid profile api
# hazelcastSession:
# enabled: true
# configFilePath: legend-sdlc-server/src/test/resources/hazelcast.yaml
bypassPaths:
- /api/info
- /api/server/info
- /api/server/platforms
- /api/auth/authorized
gitLab:
newProjectVisibility: public
projectIdPrefix: SAMPLE
projectTag: legend
server:
scheme: https
host: $GITLAB_HOST
app:
id: $APP_ID
secret: $APP_SECRET
redirectURI: http://$SDLC_SERVER_HOST/api/auth/callback
projectStructure:
extensionProvider:
org.finos.legend.sdlc.server.gitlab.finos.FinosGitlabProjectStructureExtensionProvider: {}
platforms:
legend-engine:
groupId: org.finos.legend.engine
platformVersion:
#version: 3.3.1
fromPackage: legend-engine-protocol-pure
legend-sdlc:
groupId: org.finos.legend.sdlc
platformVersion:
#version: 0.77.1
fromPackage: legend-sdlc-server
logging:
# Change this to affect library class logging
level: INFO
loggers:
# Change this to affect application class logging
org.finos.legend.sdlc: INFO
appenders:
- type: file
logFormat: "%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%thread] %c - %m%n"
currentLogFilename: ./logs/service.log
threshold: ALL
archive: true
archivedLogFilenamePattern: ./logs/service-%d.log
archivedFileCount: 5
timeZone: UTC
- type: console
logFormat: "%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%thread] %c - %m%n"
swagger:
resourcePackage: org.finos.legend.sdlc.server.resources
title: Legend SDLC
schemes: []