Changeset b101b69
- Timestamp:
- 01/04/24 13:31:03 (11 months ago)
- Branches:
- master
- Children:
- bde8b13
- Parents:
- 24c39f9
- Files:
-
- 52 added
- 20 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pom.xml
r24c39f9 rb101b69 40 40 41 41 <dependency> 42 <groupId>org.springframework.boot</groupId> 43 <artifactId>spring-boot-starter-data-jpa</artifactId> 44 </dependency> 45 46 47 <dependency> 42 48 <groupId>org.postgresql</groupId> 43 49 <artifactId>postgresql</artifactId> … … 54 60 <scope>test</scope> 55 61 </dependency> 56 <!-- <dependency>-->57 <!-- <groupId>org.springframework.security</groupId>-->58 <!-- <artifactId>spring-security-test</artifactId>-->59 <!-- <scope>test</scope>-->60 <!-- </dependency>-->62 <dependency> 63 <groupId>org.springframework.security</groupId> 64 <artifactId>spring-security-test</artifactId> 65 <scope>test</scope> 66 </dependency> 61 67 </dependencies> 62 68 -
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.