- Timestamp:
- 01/04/24 13:31:03 (11 months ago)
- Branches:
- master
- Children:
- bde8b13
- Parents:
- 24c39f9
- Location:
- src/main
- Files:
-
- 52 added
- 20 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/mk/ukim/finki/busngo/BusNGoApplication.java
r24c39f9 rb101b69 3 3 import org.springframework.boot.SpringApplication; 4 4 import org.springframework.boot.autoconfigure.SpringBootApplication; 5 import org.springframework.context.annotation.Bean; 6 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; 7 import org.springframework.security.crypto.password.PasswordEncoder; 5 8 6 9 @SpringBootApplication … … 10 13 SpringApplication.run(BusNGoApplication.class, args); 11 14 } 15 @Bean 16 PasswordEncoder passwordEncoder(){ 17 return new BCryptPasswordEncoder(10); 18 } 12 19 13 20 } -
src/main/resources/application.properties
r24c39f9 rb101b69 1 # 2 spring.datasource.url=jdbc:postgresql://localhost:9090/db_202324z_va_prj_busngo 3 spring.datasource.username=db_202324z_va_prj_busngo_owner 4 spring.datasource.password=d9f924580e7 5 spring.datasource.driver-class-name=org.postgresql.Driver 1 6 2 spring.datasource.url=jdbc:postgresql://localhost:5432/db_202324z_va_prj_busngo3 7 4 8 spring.datasource.hikari.connection-timeout=20000 5 spring.datasource.hikari.maximum-pool-size= 59 spring.datasource.hikari.maximum-pool-size=25 6 10 7 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect11 #spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 8 12 spring.jpa.properties.hibernate.jdbc.non_contextual_creation=true 13 spring.jpa.properties.hibernate.default_schema=project 9 14 10 15 spring.jpa.hibernate.ddl-auto=validate
Note:
See TracChangeset
for help on using the changeset viewer.