-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f67fa81
commit d4c04fa
Showing
1,855 changed files
with
157,939 additions
and
167 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) | ||
spring.datasource.url = jdbc:mysql://localhost:3306/online_banking_sys_trb?useSSL=false | ||
spring.datasource.username = root | ||
spring.datasource.password = | ||
|
||
|
||
## Hibernate Properties | ||
spring.datasource.initialization-mode=always | ||
# The SQL dialect makes Hibernate generate better SQL for the chosen database | ||
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect | ||
|
||
# Hibernate ddl auto (create, create-drop, validate, update) | ||
spring.jpa.hibernate.ddl-auto = update | ||
spring.jpa.show-sql=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
delete from users_roles; | ||
delete from role; | ||
delete from user; | ||
|
||
INSERT INTO role(id, name) | ||
VALUES | ||
(1, 'ROLE_ADMIN'), | ||
(2, 'ROLE_ACTUATOR'), | ||
(3, 'ROLE_USER'), | ||
(4, 'ROLE_VIEWER'); | ||
|
||
INSERT INTO user (id, email, first_name, last_name, password) | ||
VALUES | ||
(1, 'bodaragamadb.office@gmail.com', 'Bimsara', 'Bodaragama', '$2a$10$s3WZpdg3jTTDWuXvfW5dvO0loovVQ58g8fUMAf09nqlw022WVHn9a'), | ||
(2, 'bimsarabodaragama@gmail.com', 'Dinuka', 'Bodaragama', '$2a$10$s3WZpdg3jTTDWuXvfW5dvO0loovVQ58g8fUMAf09nqlw022WVHn9a'), | ||
(3, 'group03admin@gmail.com', 'Group03', 'Admin', '$2a$10$s3WZpdg3jTTDWuXvfW5dvO0loovVQ58g8fUMAf09nqlw022WVHn9a'), | ||
(4, 'group03actuator@gmail.com', 'Group03', 'Actuator', '$2a$10$s3WZpdg3jTTDWuXvfW5dvO0loovVQ58g8fUMAf09nqlw022WVHn9a'), | ||
(5, 'group03viewer@gmail.com','Group03','Viewer','$2a$10$s3WZpdg3jTTDWuXvfW5dvO0loovVQ58g8fUMAf09nqlw022WVHn9a'); | ||
|
||
|
||
INSERT INTO users_roles(user_id, role_id) | ||
VALUES | ||
(1, 1), | ||
(2, 2), | ||
(3, 1), | ||
(4, 4), | ||
(5, 2); |
Oops, something went wrong.