Changeset b101b69 for src


Ignore:
Timestamp:
01/04/24 13:31:03 (6 months ago)
Author:
ppaunovski <paunovskipavel@…>
Branches:
master
Children:
bde8b13
Parents:
24c39f9
Message:

initial classes, no inheritance yet v2

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  
    33import org.springframework.boot.SpringApplication;
    44import org.springframework.boot.autoconfigure.SpringBootApplication;
     5import org.springframework.context.annotation.Bean;
     6import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
     7import org.springframework.security.crypto.password.PasswordEncoder;
    58
    69@SpringBootApplication
     
    1013        SpringApplication.run(BusNGoApplication.class, args);
    1114    }
     15    @Bean
     16    PasswordEncoder passwordEncoder(){
     17        return new BCryptPasswordEncoder(10);
     18    }
    1219
    1320}
  • src/main/resources/application.properties

    r24c39f9 rb101b69  
     1#
     2spring.datasource.url=jdbc:postgresql://localhost:9090/db_202324z_va_prj_busngo
     3spring.datasource.username=db_202324z_va_prj_busngo_owner
     4spring.datasource.password=d9f924580e7
     5spring.datasource.driver-class-name=org.postgresql.Driver
    16
    2 spring.datasource.url=jdbc:postgresql://localhost:5432/db_202324z_va_prj_busngo
    37
    48spring.datasource.hikari.connection-timeout=20000
    5 spring.datasource.hikari.maximum-pool-size=5
     9spring.datasource.hikari.maximum-pool-size=25
    610
    7 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
     11#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
    812spring.jpa.properties.hibernate.jdbc.non_contextual_creation=true
     13spring.jpa.properties.hibernate.default_schema=project
    914
    1015spring.jpa.hibernate.ddl-auto=validate
Note: See TracChangeset for help on using the changeset viewer.