Skip to content

Commit

Permalink
Updated app-dev properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Umi007 committed Jun 24, 2024
1 parent e40a872 commit 2028945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public String showEventDetails(@PathVariable Long eventId, Model model) {
}
}

@GetMapping("/events/users")
@GetMapping("/")
public String userEvents(Model model,
@AuthenticationPrincipal Object principal,
@RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") Date minScheduledDate,
Expand Down
17 changes: 1 addition & 16 deletions src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
#spring.datasource.url=jdbc:postgresql://socialites.czyiqc0ga4tn.us-east-1.rds.amazonaws.com:5432/socialites_springboot_development
#spring.datasource.username=${DB_USERNAME}
#spring.datasource.password=${DB_PASSWORD}
#flyway.baseline-on-migrate=true
#spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
#spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
#spring.security.oauth2.client.registration.google.client-id=${GOOGLE_ID}
#spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_SECRET}
##spring.security.oauth2.client.registration.google.scope=profile, email
##spring.security.oauth2.client.registration.google.redirect-uri="http://qxvdpmwpb4.us-east-1.awsapprunner.com/login/oauth2/code/google"
##spring.security.oauth2.client.registration.google.authorization-grant-type=authorization_code
##spring.security.oauth2.client.registration.google.client-name=Google

spring.datasource.url=jdbc:postgresql://socialites01.czyiqc0ga4tn.us-east-1.rds.amazonaws.com:5432/socialites_springboot_development_01
spring.datasource.username=${DB_USERNAME}
spring.datasource.password=${DB_PASSWORD}
flyway.baseline-on-migrate=true
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
# Only one set of Google OAuth2 registration properties should be present
spring.security.oauth2.client.registration.google.client-id=${GOOGLE_ID}
spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_SECRET}
spring.security.oauth2.client.registration.google.scope=profile, email
spring.security.oauth2.client.registration.google.redirect-uri={baseUrl}/login/oauth2/code/google
spring.security.oauth2.client.registration.google.authorization-grant-type=authorization_code
spring.security.oauth2.client.registration.google.client-name=Google
spring.security.oauth2.client.registration.google.redirect-uri=http://qxvdpmwpb4.us-east-1.awsapprunner.com/login/oauth2/code/google
spring.security.oauth2.client.registration.google.authorization-grant-type=authorization_code
spring.security.oauth2.client.registration.google.client-name=Google


0 comments on commit 2028945

Please sign in to comment.