Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hiden sensitive data #40

Merged
merged 31 commits into from
Nov 19, 2023
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9d50750
implement authentication and fix error security
Nov 2, 2023
b9249d9
refactor name version of dependencies
Nov 2, 2023
ab1a5e1
active prod environment
Nov 2, 2023
075bc75
modify relationship entities to get data
Nov 2, 2023
a920b62
add message status to response
Nov 2, 2023
32a48f7
turn on jpa auditing
Nov 2, 2023
7be8a5b
add correlationId
Nov 2, 2023
7c3f3ff
handle verify email
Nov 4, 2023
3e2b2c6
override MethodArgumentNotValidException and handle exception
Nov 6, 2023
8d60e66
create role api
Nov 6, 2023
360a06b
fix error verify email
Nov 6, 2023
8db5742
Merge branch 'master' into dev
letung999 Nov 6, 2023
9edea17
remove redudant class
Nov 6, 2023
efaee96
create a general for response api and modify response at controller
Nov 6, 2023
d45e87d
handle upload file amazon s3
Nov 7, 2023
8cc3154
dÆhandle dÆÆownload file from s3
Nov 8, 2023
4b17d5f
implement redis server
Nov 9, 2023
2229867
implement search and advance search api
Nov 9, 2023
1e01d3a
handle get ÃÃinformation company api
Nov 10, 2023
a694744
handle cache data for get all users
Nov 12, 2023
63f9575
handle cache data search users api
Nov 12, 2023
d3e5f31
add a field response data of CompanyProfile
Nov 13, 2023
741861b
add READ.ME for config send log from application to cloudWatch
Nov 14, 2023
2ccee0f
set up monitoring log by CloudWatch
Nov 14, 2023
c8d026d
add document to set up cloudWatch
Nov 14, 2023
2627fb1
Merge branch 'master' into dev
letung999 Nov 14, 2023
79773d5
create update users api and invalidate cache
Nov 17, 2023
65ba6ca
Merge branch 'master' into dev
letung999 Nov 17, 2023
223f42d
add payment class
Nov 18, 2023
cc02263
modify relationship between CompanyProfile and CompanyProfileMapping
Nov 19, 2023
7b4aa09
Merge branch 'master' into dev
letung999 Nov 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/ppn?serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=123456789
spring.datasource.url=${url-db}
spring.datasource.username=${username}
spring.datasource.password=${password-db}
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=false
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL55Dialect
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
server.port=8080
#security
ppn.app.jwt.secret=nhoJ5zANFBc5OEqnHgnT/GLKB80ku521Ja64MKef
ppn.app.jwt.expiration=604800000
ppn.app.jwt.secret=${jwt-secret}
ppn.app.jwt.expiration=${jwt-expiration}
#send log to cloud watch
#mail
spring.mail.host=smtp.gmail.com
spring.mail.port=587
spring.mail.username=[email protected]
spring.mail.password=coowuxcbtkdkvljf
spring.mail.username=${user-email}
spring.mail.password=${password-email}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
[email protected]
cox.name=MANHEIM-COX-AUTOMATION
#connect aws
aws.ppn.accessKey=AKIAQROALZTCMMMG36XH
aws.ppn.secretKey=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
aws.ppn.accessKey=${accessKey}
aws.ppn.secretKey=${secretKey}
#bucket name
aws.ppn.bucketName=tung-photo-bucket
aws.ppn.bucketName=${bucket-name}
##config max size of file
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
Expand Down
Loading