Initial commit
This commit is contained in:
51
src/main/resources/application.properties
Executable file
51
src/main/resources/application.properties
Executable file
@@ -0,0 +1,51 @@
|
||||
spring.jpa.properties.hibernate.id.new_generator_mappings=false
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
|
||||
spring.datasource.url=jdbc:postgresql://vmi792116.contaboserver.net:5599/abomey_db
|
||||
spring.datasource.username=infocad_user
|
||||
spring.datasource.password=W5fwD({9*q53
|
||||
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
|
||||
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
jwt.jwtSecret=ImThEVeryB@dS@lt@302839_
|
||||
jwt.jwtExpirationInMs=7776000000
|
||||
spring.application.name=infocad
|
||||
logging.file.name=infocad.log
|
||||
logging.level.org.springframework.security=DEBUG
|
||||
app.sourcemind.env.defaultpassword=1234567890
|
||||
app.sourcemind.env.resetlink=http://localhost:4200/reset-password/
|
||||
|
||||
spring.mail.host=sandbox.smtp.mailtrap.io
|
||||
spring.mail.port=587
|
||||
spring.mail.username=2a06b84a6b8abc
|
||||
spring.mail.password=654a7c7759506a
|
||||
spring.mail.auth=plain
|
||||
spring.mail.starttls.enable=true
|
||||
|
||||
spring.datasource.hikari.minimum-idle=2
|
||||
spring.datasource.hikari.maximum-pool-size=10
|
||||
spring.datasource.hikari.idle-timeout=120000
|
||||
spring.datasource.hikari.connection-timeout=300000
|
||||
spring.datasource.hikari.leak-detection-threshold=300000
|
||||
|
||||
file.upload_dir= ./uploads
|
||||
|
||||
file.jasper-reports= ./jasperReport
|
||||
|
||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration
|
||||
spring.groovy.template.enabled=false
|
||||
spring.groovy.template.check-template-location=false
|
||||
|
||||
|
||||
#####Gestion de l'identifiant du systme de rfence spatiale###########
|
||||
|
||||
infocad.geom.srid=32631
|
||||
infocad.geom.sridfixe=4326
|
||||
|
||||
server.port=8282
|
||||
|
||||
|
||||
# application.properties
|
||||
spring.mvc.contentnegotiation.favor-parameter=false
|
||||
spring.mvc.contentnegotiation.parameter-name=mediaType
|
||||
spring.mvc.contentnegotiation.ignore-unknown-path-extensions=true
|
||||
21
src/main/resources/static/index.html
Normal file
21
src/main/resources/static/index.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- HTML for static distribution bundle build -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Swagger UI</title>
|
||||
<!-- <link rel="stylesheet" type="text/css" href="./swagger-ui.css" />-->
|
||||
<link rel="stylesheet" type="text/css" href="/swagger-custom.css" />
|
||||
<link rel="stylesheet" type="text/css" href="index.css" />
|
||||
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
|
||||
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Test
|
||||
<div id="swagger-ui"></div>
|
||||
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
|
||||
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
|
||||
<script src="./swagger-initializer.js" charset="UTF-8"> </script>
|
||||
</body>
|
||||
</html>
|
||||
BIN
src/main/resources/static/logo.avif
Normal file
BIN
src/main/resources/static/logo.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
17
src/main/resources/static/swagger-custom.css
Normal file
17
src/main/resources/static/swagger-custom.css
Normal file
@@ -0,0 +1,17 @@
|
||||
/* Custom Swagger UI Styles */
|
||||
|
||||
/* Change the background color of the top bar */
|
||||
.topbar {
|
||||
background-color: #3399ff; /* Your desired color */
|
||||
}
|
||||
|
||||
/* Change the color of the top bar text and icons */
|
||||
.topbar a, .topbar span {
|
||||
color: #ffffff; /* Your desired color */
|
||||
}
|
||||
|
||||
/* Add custom logo image to the top bar */
|
||||
.topbar img {
|
||||
height: 40px; /* Adjust the logo height as needed */
|
||||
margin-right: 10px;
|
||||
}
|
||||
16
src/main/resources/static/swagger-custom.html
Normal file
16
src/main/resources/static/swagger-custom.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- HTML for static distribution bundle build -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Swagger UI</title>
|
||||
<link rel="stylesheet" type="text/css" href="swagger-custom.css"> <!-- Link to your custom CSS -->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="swagger-ui"></div>
|
||||
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
|
||||
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
|
||||
<script src="./swagger-initializer.js" charset="UTF-8"> </script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user