Skip to content

Commit

Permalink
Create config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrudula-gs authored Jul 14, 2023
1 parent 828146a commit 48dfbf5
Showing 1 changed file with 205 additions and 0 deletions.
205 changes: 205 additions & 0 deletions legend-sdlc-server/src/test/resources/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
# 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: 7070
maxRequestHeaderSize: 128KiB
adminConnectors:
- type: http
port: 7076
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

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: 1489d2e01f68f6749b617a38b2408bb6fba482532469297f3f3ddf7f8d8b8748
secret: 0558be03ed29271d8fff4b47b98a4ffa78bcf9879055640268d63240bb0778b0
discoveryUri: https://gitlab.com/.well-known/openid-configuration
scope: openid profile api
bypassPaths:
- /api/info

gitLab:
newProjectVisibility: public
projectTag: pure
prod:
server:
scheme: https
host: gitlab.com
app:
id: 1489d2e01f68f6749b617a38b2408bb6fba482532469297f3f3ddf7f8d8b8748
secret: 0558be03ed29271d8fff4b47b98a4ffa78bcf9879055640268d63240bb0778b0
redirectURI: http://localhost:7070/api/auth/callback

projectStructure:
extensionProvider:
org.finos.legend.sdlc.server.gitlab.finos.FinosGitlabProjectStructureExtensionProvider: {}

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: []
Collapse
message.txt
3 KB
server
/Users/yannangao/Desktop/legend-sdlc/legend-sdlc/legend-sdlc-server/src/test/resources/config.yaml
/Users/yannangao/Desktop/legend-studio/legend-studio/packages/legend-application-studio-deployment/dev/config.json

Yannan
.yannan
# 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: 7070
maxRequestHeaderSize: 128KiB
adminConnectors:
- type: http
port: 7076
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

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: 1489d2e01f68f6749b617a38b2408bb6fba482532469297f3f3ddf7f8d8b8748
secret: 0558be03ed29271d8fff4b47b98a4ffa78bcf9879055640268d63240bb0778b0
discoveryUri: https://gitlab.com/.well-known/openid-configuration
scope: openid profile api
bypassPaths:
- /api/info

gitLab:
newProjectVisibility: public
projectTag: pure
prod:
server:
scheme: https
host: gitlab.com
app:
id: 1489d2e01f68f6749b617a38b2408bb6fba482532469297f3f3ddf7f8d8b8748
secret: 0558be03ed29271d8fff4b47b98a4ffa78bcf9879055640268d63240bb0778b0
redirectURI: http://localhost:7070/api/auth/callback

projectStructure:
extensionProvider:
org.finos.legend.sdlc.server.gitlab.finos.FinosGitlabProjectStructureExtensionProvider: {}

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: []

0 comments on commit 48dfbf5

Please sign in to comment.