Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Add default db base url
Browse files Browse the repository at this point in the history
  • Loading branch information
esensar committed Apr 16, 2017
1 parent 0d02814 commit 75a784b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ events.name=events
teams.name=teams

# DB Properties
defaultDbBaseUrl = jdbc:mysql://localhost:3306
spring.datasource.username = root
spring.datasource.password = root
spring.jpa.generate-ddl=true
2 changes: 1 addition & 1 deletion events.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
spring.application.name=events
server.port=9020
spring.datasource.url = jdbc:mysql://localhost:3306/events
spring.datasource.url = ${defaultDbBaseUrl}/events
2 changes: 1 addition & 1 deletion teams.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
spring.application.name=teams
server.port=9010
spring.datasource.url = jdbc:mysql://localhost:3306/teams
spring.datasource.url = ${defaultDbBaseUrl}/teams
2 changes: 1 addition & 1 deletion users.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
spring.application.name=users
server.port=8090
spring.datasource.url = jdbc:mysql://localhost:3306/users
spring.datasource.url = ${defaultDbBaseUrl}/users

0 comments on commit 75a784b

Please sign in to comment.