Skip to content

Commit

Permalink
hiden sensitive data (#40)
Browse files Browse the repository at this point in the history
* implement authentication and fix error security

* refactor name version of dependencies

* active prod environment

* modify relationship entities to get data

* add message status to response

* turn on jpa auditing

* add correlationId

* handle verify email

* override MethodArgumentNotValidException and handle exception

* create role api

* fix error verify email

* remove redudant class

* create a general for response api and modify response at controller

* handle upload file amazon s3

* dÆhandle dÆÆownload file from s3

* implement redis server

* implement search and advance search api

* handle get ÃÃinformation company api

* handle cache data for get all users

* handle cache data search users api

* add a field response data of CompanyProfile

* add READ.ME for config send log from application to cloudWatch

* set up monitoring log by CloudWatch

* add document to set up cloudWatch

* create update users api and invalidate cache

* add payment class

* modify relationship between CompanyProfile and CompanyProfileMapping

---------

Co-authored-by: letung999 <[email protected]>
  • Loading branch information
letung999 and letung999 authored Nov 19, 2023
1 parent f146d50 commit db7894c
Showing 1 changed file with 10 additions and 10 deletions.
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
cox.automation.email=[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

0 comments on commit db7894c

Please sign in to comment.