forked from seart-group/ghs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.properties
178 lines (157 loc) · 5.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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# Server Configuration
server.servlet.context-path=/api
server.error.whitelabel.enabled=false
server.port=8080
# Spring Configuration
spring.application.name=@project.name@
# Banner Configuration
spring.banner.location=classpath:banner.txt
# Security Configuration
spring.security.user.name=gseadmin
spring.security.user.password=Lugano2020
spring.security.user.roles=ADMIN
# MVC Configuration
spring.mvc.log-request-details=true
# Actuator Configuration
management.endpoints.enabled-by-default=true
management.endpoints.web.exposure.include=*
management.endpoints.web.path-mapping.health=health
management.endpoint.health.group.details.include=*
management.endpoint.health.group.details.show-details=when_authorized
management.endpoint.health.group.details.show-components=when_authorized
# Trace Configuration
management.trace.http.include[0]=principal
management.trace.http.include[1]=session-id
management.trace.http.include[2]=authorization-header
management.trace.http.include[3]=request_headers
management.trace.http.include[4]=response-headers
management.trace.http.include[5]=cookie-headers
management.trace.http.include[6]=time-taken
management.trace.http.include[7]=remote-address
# Info Configuration
management.info.os.enabled=true
management.info.java.enabled=true
management.info.build.enabled=true
management.info.spring.enabled=true
management.info.git.enabled=true
management.info.git.mode=full
# Admin Configuration
spring.boot.admin.client.enabled=false
spring.boot.admin.client.url=http://localhost:7777
spring.boot.admin.client.username=admin
spring.boot.admin.client.password=
spring.boot.admin.client.instance.name=${spring.application.name}
spring.boot.admin.client.instance.service-base-url=http://localhost:${server.port}
# Springdoc Configuration
springdoc.api-docs.enabled=true
springdoc.api-docs.path=/openapi
springdoc.swagger-ui.enabled=true
springdoc.swagger-ui.path=/swagger
springdoc.swagger-ui.supported-submit-methods=
springdoc.swagger-ui.syntax-highlight.activated=true
springdoc.swagger-ui.syntax-highlight.theme=monokai
springdoc.swagger-ui.disable-swagger-default-url=true
# Logging Configuration
logging.config=
logging.file.path=logs
logging.file.name=${logging.file.path}/server.log
logging.level.root=INFO
# JPA Configuration
spring.jpa.database=mysql
spring.jpa.open-in-view=false
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.jdbc.fetch_size=500
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
# Pagination Configuration
spring.data.web.pageable.size-parameter=size
spring.data.web.pageable.page-parameter=page
spring.data.web.pageable.default-page-size=20
spring.data.web.pageable.max-page-size=100
spring.data.web.pageable.one-indexed-parameters=false
# Spring Datasource Configuration
spring.datasource.url=jdbc:mysql://localhost:3306/gse?serverTimezone=UTC&useLegacyDatetimeCode=false&useUnicode=yes&characterEncoding=UTF-8
spring.datasource.username=gseadmin
spring.datasource.password=Lugano2020
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# Flyway Configuration
spring.flyway.enabled=true
spring.flyway.locations=filesystem:flyway/sql
spring.flyway.url=${spring.datasource.url}
spring.flyway.schemas=gse
spring.flyway.default-schema=gse
spring.flyway.user=${spring.datasource.username}
spring.flyway.password=${spring.datasource.password}
# GSON Configuration
spring.gson.serialize-nulls=true
# Git Configuration
ghs.git.username=
ghs.git.password=
ghs.git.folder-prefix=ghs-clone-
ghs.git.ls-remote-timeout-duration=1m
ghs.git.clone-timeout-duration=5m
ghs.git.config.core.longpaths=true
ghs.git.config.core.symlinks=false
ghs.git.config.core.compression=0
# CLOC Configuration
ghs.cloc.max-file-size=25MB
ghs.cloc.timeout-duration=5m
# GitHub Configuration
ghs.github.tokens=
ghs.github.api-version=2022-11-28
# Crawler Configuration
ghs.crawler.enabled=true
ghs.crawler.minimum-stars=10
ghs.crawler.languages[0]=Java
ghs.crawler.languages[1]=Kotlin
ghs.crawler.languages[2]=C
ghs.crawler.languages[3]=C++
ghs.crawler.languages[4]=C#
ghs.crawler.languages[5]=Python
ghs.crawler.languages[6]=JavaScript
ghs.crawler.languages[7]=TypeScript
ghs.crawler.languages[8]=Swift
ghs.crawler.languages[9]=Objective-C
ghs.crawler.languages[10]=PHP
ghs.crawler.languages[11]=Ruby
ghs.crawler.languages[12]=Go
ghs.crawler.languages[13]=Smalltalk
ghs.crawler.languages[14]=Shell
ghs.crawler.languages[15]=Nix
ghs.crawler.languages[16]=Groovy
ghs.crawler.languages[17]=Elixir
ghs.crawler.languages[18]=Dart
ghs.crawler.languages[19]=Rust
ghs.crawler.languages[20]=Lua
ghs.crawler.languages[21]=Julia
ghs.crawler.languages[22]=Jupyter Notebook
ghs.crawler.languages[23]=Vue
ghs.crawler.languages[24]=R
ghs.crawler.languages[25]=Scala
ghs.crawler.languages[26]=Dockerfile
ghs.crawler.languages[27]=Makefile
ghs.crawler.languages[28]=Matlab
ghs.crawler.languages[29]=TeX
ghs.crawler.languages[30]=Haskell
ghs.crawler.languages[31]=Clojure
ghs.crawler.languages[32]=Perl
ghs.crawler.languages[33]=CoffeeScript
ghs.crawler.languages[34]=Pascal
ghs.crawler.languages[35]=OCaml
ghs.crawler.languages[36]=Erlang
ghs.crawler.languages[37]=Verilog
ghs.crawler.languages[38]=Common Lisp
ghs.crawler.languages[39]=Fortran
ghs.crawler.languages[40]=F#
ghs.crawler.languages[41]=Elm
ghs.crawler.languages[42]=Zig
ghs.crawler.languages[43]=Racket
ghs.crawler.start-date=2008-01-01T00:00:00Z
ghs.crawler.delay-between-runs=PT6H
# Analysis Configuration
ghs.analysis.enabled=true
ghs.analysis.delay-between-runs=PT6H
ghs.analysis.max-pool-threads=3
# Cleanup Configuration
ghs.clean-up.enabled=true
ghs.clean-up.cron=0 0 0 * * 1