Skip to content

Commit

Permalink
Merge pull request #116 from evrentan/fix/correct-db-names
Browse files Browse the repository at this point in the history
fix(general): correct db names
  • Loading branch information
evrentan authored Jan 25, 2024
2 parents e7d4b64 + bc7f884 commit 6a05ebd
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions config-server-data/event-manager/event-manager-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=event-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/event-manager-db?currentSchema=event-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/event-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:event-manager}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=event-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/event-manager-db?currentSchema=event-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/event-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:event-manager}
Expand Down
4 changes: 2 additions & 2 deletions config-server-data/user-manager/user-manager-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=user-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/user-manager-db?currentSchema=user-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/user-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:user-manager}
Expand Down
4 changes: 2 additions & 2 deletions config-server-data/user-manager/user-manager-local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=user-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/user-manager-db?currentSchema=user-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/user-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:user-manager}
Expand Down
4 changes: 2 additions & 2 deletions config-server-data/venue-manager/venue-manager-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=venue-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/venue-manager-db?currentSchema=venue-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/venue-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:venue-manager}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=venue-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/venue-manager-db?currentSchema=venue-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/venue-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:venue-manager}
Expand Down
4 changes: 2 additions & 2 deletions event-manager/src/main/resources/bootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=event-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/event-manager-db?currentSchema=event-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/event-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:event-manager}
Expand Down
4 changes: 2 additions & 2 deletions user-manager/src/main/resources/bootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=user-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/user-manager-db?currentSchema=user-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/user-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:user-manager}
Expand Down
4 changes: 2 additions & 2 deletions venue-manager/src/main/resources/bootstrap.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ eureka.instance.lease-renewal-interval-in-seconds = 10

# Datasource Settings
spring.datasource.driverClassName = org.postgresql.Driver
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/community-manager-db?currentSchema=venue-manager}
spring.datasource.url = ${SPRING_DATASOURCE_URL:jdbc:postgresql://localhost:5432/venue-manager-db?currentSchema=venue-manager}
spring.datasource.username = ${SPRING_DATASOURCE_USERNAME:admin}
spring.datasource.password = ${SPRING_DATASOURCE_PASSWORD:admin}

Expand All @@ -44,7 +44,7 @@ logging.level.org.hibernate.SQL = DEBUG

# Flyway Settings
spring.flyway.enabled = true
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/community-manager-db}
spring.flyway.url = ${SPRING_FLYWAY_URL:jdbc:postgresql://localhost:5432/venue-manager-db}
spring.flyway.user = ${SPRING_FLYWAY_USER:admin}
spring.flyway.password = ${SPRING_FLYWAY_PASSWORD:admin}
spring.flyway.schemas = ${SPRING_FLYWAY_SCHEMAS:venue-manager}
Expand Down

0 comments on commit 6a05ebd

Please sign in to comment.